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
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
123 /***********************************************************************
124 * pyrun.swg for wxPython
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
131 ************************************************************************/
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
146 /* Flags for pointer conversion */
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
154 /* Constant information structure */
155 typedef struct swig_const_info
{
161 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_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
192 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
195 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
200 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
204 /* Contract support */
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
222 /* -------- TYPES TABLE (BEGIN) -------- */
224 #define SWIGTYPE_p_wxLogChain swig_types[0]
225 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
226 #define SWIGTYPE_p_wxMetafile swig_types[2]
227 #define SWIGTYPE_p_wxFileHistory swig_types[3]
228 #define SWIGTYPE_p_wxLog swig_types[4]
229 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
230 #define SWIGTYPE_p_wxMenu swig_types[6]
231 #define SWIGTYPE_p_wxEvent swig_types[7]
232 #define SWIGTYPE_p_wxConfigBase swig_types[8]
233 #define SWIGTYPE_p_wxWave swig_types[9]
234 #define SWIGTYPE_p_wxFileType swig_types[10]
235 #define SWIGTYPE_p_wxLogGui swig_types[11]
236 #define SWIGTYPE_p_wxFont swig_types[12]
237 #define SWIGTYPE_p_wxDataFormat swig_types[13]
238 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
239 #define SWIGTYPE_p_wxCaret swig_types[15]
240 #define SWIGTYPE_p_int swig_types[16]
241 #define SWIGTYPE_p_wxSize swig_types[17]
242 #define SWIGTYPE_p_wxClipboard swig_types[18]
243 #define SWIGTYPE_p_wxStopWatch swig_types[19]
244 #define SWIGTYPE_p_wxDC swig_types[20]
245 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
246 #define SWIGTYPE_p_wxIcon swig_types[22]
247 #define SWIGTYPE_p_wxLogStderr swig_types[23]
248 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
249 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
250 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
251 #define SWIGTYPE_p_wxFileDataObject swig_types[27]
252 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
253 #define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
254 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
255 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
256 #define SWIGTYPE_p_wxDataObject swig_types[32]
257 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
258 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
259 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
260 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
261 #define SWIGTYPE_p_wxLogWindow swig_types[37]
262 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
263 #define SWIGTYPE_p_wxArrayString swig_types[39]
264 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
265 #define SWIGTYPE_p_wxToolTip swig_types[41]
266 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
267 #define SWIGTYPE_p_wxFileConfig swig_types[43]
268 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
269 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
270 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
271 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
272 #define SWIGTYPE_p_wxRect swig_types[48]
273 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
274 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
275 #define SWIGTYPE_p_wxFrame swig_types[51]
276 #define SWIGTYPE_p_wxTimer swig_types[52]
277 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
278 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
279 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
280 #define SWIGTYPE_p_wxTipProvider swig_types[56]
281 #define SWIGTYPE_p_wxJoystick swig_types[57]
282 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
283 #define SWIGTYPE_p_wxPoint swig_types[59]
284 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
285 #define SWIGTYPE_p_wxCursor swig_types[61]
286 #define SWIGTYPE_p_wxObject swig_types[62]
287 #define SWIGTYPE_p_wxOutputStream swig_types[63]
288 #define SWIGTYPE_p_wxDateTime swig_types[64]
289 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
290 #define SWIGTYPE_p_wxWindow swig_types[66]
291 #define SWIGTYPE_p_wxString swig_types[67]
292 #define SWIGTYPE_p_wxPyProcess swig_types[68]
293 #define SWIGTYPE_p_wxBitmap swig_types[69]
294 #define SWIGTYPE_p_wxConfig swig_types[70]
295 #define SWIGTYPE_p_wxChar swig_types[71]
296 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
297 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
298 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
299 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
300 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
301 #define SWIGTYPE_p_wxPyLog swig_types[77]
302 #define SWIGTYPE_p_wxLogNull swig_types[78]
303 #define SWIGTYPE_p_wxColour swig_types[79]
304 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
305 #define SWIGTYPE_p_wxPyTimer swig_types[81]
306 #define SWIGTYPE_p_wxDateSpan swig_types[82]
307 static swig_type_info
*swig_types
[84];
309 /* -------- TYPES TABLE (END) -------- */
312 /*-----------------------------------------------
314 ------------------------------------------------*/
315 #define SWIG_init init_misc
317 #define SWIG_name "_misc"
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
321 #include "wx/wxPython/pyistream.h"
323 DECLARE_DEF_STRING(EmptyString
);
329 DECLARE_DEF_STRING(FileSelectorPromptStr
);
330 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
331 DECLARE_DEF_STRING(DirSelectorPromptStr
);
334 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
340 } else if (target
== Py_None
) {
344 if (!PyTuple_Check(target
)) {
346 target
= PyTuple_New(1);
347 PyTuple_SetItem(target
, 0, o2
);
350 PyTuple_SetItem(o3
, 0, o
);
353 target
= PySequence_Concat(o2
, o3
);
361 bool wxThread_IsMain() {
362 #ifdef WXP_WITH_THREAD
363 return wxThread::IsMain();
370 int wxCaret_GetBlinkTime() {
371 return wxCaret::GetBlinkTime();
374 void wxCaret_SetBlinkTime(int milliseconds
) {
375 wxCaret::SetBlinkTime(milliseconds
);
379 #include <wx/snglinst.h>
383 #include <wx/msw/private.h>
384 #include <wx/dynload.h>
389 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
396 // This one only partially works. Appears to be an undocumented
397 // "standard" convention that not all widgets adhear to. For
398 // example, for some widgets backgrounds or non-client areas may
400 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
404 // This one works much better, except for on XP. On Win2k nearly
405 // all widgets and their children are captured correctly[**]. On
406 // XP with Themes activated most native widgets draw only
407 // partially, if at all. Without themes it works just like on
410 // ** For example the radio buttons in a wxRadioBox are not its
411 // children by default, but you can capture it via the panel
412 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
413 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
414 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
415 PRF_ERASEBKGND
| PRF_OWNED
);
419 // This one is only defined in the latest SDK and is only
420 // available on XP. MSDN says it is similar to sending WM_PRINT
421 // so I expect that it will work similar to the above. Since it
422 // is avaialble only on XP, it can't be compiled like this and
423 // will have to be loaded dynamically.
424 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
429 // Use PrintWindow if available, or fallback to WM_PRINT
430 // otherwise. Unfortunately using PrintWindow is even worse than
431 // WM_PRINT. For most native widgets nothing is drawn to the dc
432 // at all, with or without Themes.
433 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
434 static bool s_triedToLoad
= false;
435 static PrintWindow_t pfnPrintWindow
= NULL
;
436 if ( !s_triedToLoad
)
439 s_triedToLoad
= true;
440 wxDynamicLibrary
dllUser32(_T("user32.dll"));
441 if ( dllUser32
.IsLoaded() )
443 wxLogNull nolog
; // Don't report errors here
444 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
449 printf("Using PrintWindow\n");
450 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
454 printf("Using WM_PRINT\n");
455 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
456 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
464 #include <wx/tipdlg.h>
467 class wxPyTipProvider
: public wxTipProvider
{
469 wxPyTipProvider(size_t currentTip
)
470 : wxTipProvider(currentTip
) {}
472 DEC_PYCALLBACK_STRING__pure(GetTip
);
473 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
477 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
478 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
481 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
483 wxString
Log_TimeStamp(){
485 wxLog::TimeStamp(&msg
);
488 void wxLog_Destroy(wxLog
*self
){ delete self
; }
490 // A wxLog class that can be derived from in wxPython
491 class wxPyLog
: public wxLog
{
493 wxPyLog() : wxLog() {}
495 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
497 wxPyBeginBlockThreads();
498 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
499 PyObject
* s
= wx2PyString(szString
);
500 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
503 wxPyEndBlockThreads();
505 wxLog::DoLog(level
, szString
, t
);
508 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
510 wxPyBeginBlockThreads();
511 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
512 PyObject
* s
= wx2PyString(szString
);
513 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
516 wxPyEndBlockThreads();
518 wxLog::DoLogString(szString
, t
);
527 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
530 #include <wx/joystick.h>
533 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
534 // A C++ stub class for wxJoystick for platforms that don't have it.
535 class wxJoystick
: public wxObject
{
537 wxJoystick(int joystick
= wxJOYSTICK1
) {
538 wxPyBeginBlockThreads();
539 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
540 wxPyEndBlockThreads();
542 wxPoint
GetPosition() { return wxPoint(-1,-1); }
543 int GetZPosition() { return -1; }
544 int GetButtonState() { return -1; }
545 int GetPOVPosition() { return -1; }
546 int GetPOVCTSPosition() { return -1; }
547 int GetRudderPosition() { return -1; }
548 int GetUPosition() { return -1; }
549 int GetVPosition() { return -1; }
550 int GetMovementThreshold() { return -1; }
551 void SetMovementThreshold(int threshold
) {}
553 bool IsOk(void) { return FALSE
; }
554 int GetNumberJoysticks() { return -1; }
555 int GetManufacturerId() { return -1; }
556 int GetProductId() { return -1; }
557 wxString
GetProductName() { return ""; }
558 int GetXMin() { return -1; }
559 int GetYMin() { return -1; }
560 int GetZMin() { return -1; }
561 int GetXMax() { return -1; }
562 int GetYMax() { return -1; }
563 int GetZMax() { return -1; }
564 int GetNumberButtons() { return -1; }
565 int GetNumberAxes() { return -1; }
566 int GetMaxButtons() { return -1; }
567 int GetMaxAxes() { return -1; }
568 int GetPollingMin() { return -1; }
569 int GetPollingMax() { return -1; }
570 int GetRudderMin() { return -1; }
571 int GetRudderMax() { return -1; }
572 int GetUMin() { return -1; }
573 int GetUMax() { return -1; }
574 int GetVMin() { return -1; }
575 int GetVMax() { return -1; }
577 bool HasRudder() { return FALSE
; }
578 bool HasZ() { return FALSE
; }
579 bool HasU() { return FALSE
; }
580 bool HasV() { return FALSE
; }
581 bool HasPOV() { return FALSE
; }
582 bool HasPOV4Dir() { return FALSE
; }
583 bool HasPOVCTS() { return FALSE
; }
585 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return FALSE
; }
586 bool ReleaseCapture() { return FALSE
; }
595 // A C++ stub class for wxWave for platforms that don't have it.
596 class wxWave
: public wxObject
599 wxWave(const wxString
& fileName
, bool isResource
= FALSE
) {
600 wxPyBeginBlockThreads();
601 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
602 wxPyEndBlockThreads();
604 wxWave(int size
, const wxByte
* data
) {
605 wxPyBeginBlockThreads();
606 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
607 wxPyEndBlockThreads();
612 bool IsOk() const { return FALSE
; }
613 bool Play(bool async
= TRUE
, bool looped
= FALSE
) const { return FALSE
; }
618 wxWave
*new_wxWave(wxString
const &data
){
619 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
622 #include <wx/mimetype.h>
624 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
626 if (self
->GetMimeType(&str
))
627 return wx2PyString(str
);
631 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
633 if (self
->GetMimeTypes(arr
))
634 return wxArrayString2PyList_helper(arr
);
638 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
640 if (self
->GetExtensions(arr
))
641 return wxArrayString2PyList_helper(arr
);
645 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
647 if (self
->GetIcon(&loc
))
648 return new wxIcon(loc
);
652 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
654 if (self
->GetIcon(&loc
)) {
655 wxString iconFile
= loc
.GetFileName();
658 iconIndex
= loc
.GetIndex();
660 // Make a tuple and put the values in it
661 wxPyBeginBlockThreads();
662 PyObject
* tuple
= PyTuple_New(3);
663 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
664 wxT("wxIcon"), TRUE
));
665 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
666 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
667 wxPyEndBlockThreads();
673 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
675 if (self
->GetDescription(&str
))
676 return wx2PyString(str
);
680 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
682 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
683 return wx2PyString(str
);
687 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
689 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
690 return wx2PyString(str
);
694 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
696 wxArrayString commands
;
697 if (self
->GetAllCommands(&verbs
, &commands
,
698 wxFileType::MessageParameters(filename
, mimetype
))) {
699 wxPyBeginBlockThreads();
700 PyObject
* tuple
= PyTuple_New(2);
701 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
702 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
703 wxPyEndBlockThreads();
709 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
710 return wxFileType::ExpandCommand(command
,
711 wxFileType::MessageParameters(filename
, mimetype
));
713 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
715 self
->EnumAllFileTypes(arr
);
716 return wxArrayString2PyList_helper(arr
);
719 #include <wx/artprov.h>
721 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
722 static const wxString
wxPyART_MENU(wxART_MENU
);
723 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
724 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
725 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
726 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
727 static const wxString
wxPyART_OTHER(wxART_OTHER
);
728 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
729 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
730 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
731 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
732 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
733 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
734 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
735 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
736 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
737 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
738 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
739 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
740 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
741 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
742 static const wxString
wxPyART_PRINT(wxART_PRINT
);
743 static const wxString
wxPyART_HELP(wxART_HELP
);
744 static const wxString
wxPyART_TIP(wxART_TIP
);
745 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
746 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
747 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
748 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
749 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
750 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
751 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
752 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
753 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
754 static const wxString
wxPyART_ERROR(wxART_ERROR
);
755 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
756 static const wxString
wxPyART_WARNING(wxART_WARNING
);
757 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
758 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
759 // Python aware wxArtProvider
760 class wxPyArtProvider
: public wxArtProvider
{
763 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
764 const wxArtClient
& client
,
765 const wxSize
& size
) {
766 wxBitmap rval
= wxNullBitmap
;
767 wxPyBeginBlockThreads();
768 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
769 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
773 s1
= wx2PyString(id
);
774 s2
= wx2PyString(client
);
775 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
780 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
785 wxPyEndBlockThreads();
795 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
796 PyObject
* ret
= PyTuple_New(3);
798 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
799 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
800 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
805 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
810 cont
= self
->GetFirstGroup(value
, index
);
811 return __EnumerationHelper(cont
, value
, index
);
813 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
817 cont
= self
->GetNextGroup(value
, index
);
818 return __EnumerationHelper(cont
, value
, index
);
820 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
825 cont
= self
->GetFirstEntry(value
, index
);
826 return __EnumerationHelper(cont
, value
, index
);
828 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
832 cont
= self
->GetNextEntry(value
, index
);
833 return __EnumerationHelper(cont
, value
, index
);
835 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
837 self
->Read(key
, &rv
, defaultVal
);
840 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
842 self
->Read(key
, &rv
, defaultVal
);
845 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
847 self
->Read(key
, &rv
, defaultVal
);
851 #include <wx/datetime.h>
853 DECLARE_DEF_STRING2(DateFormatStr
, wxT("%c"));
854 DECLARE_DEF_STRING2(TimeSpanFormatStr
, wxT("%H:%M:%S"));
858 #define LOCAL_TZ wxDateTime::Local
860 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
861 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
862 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
863 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
864 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
865 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
866 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
867 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
868 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
869 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
870 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
871 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
873 const wxChar
* _date
= date
;
874 rv
= self
->ParseRfc822Date(_date
);
875 if (rv
== NULL
) return -1;
878 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
880 const wxChar
* _date
= date
;
881 rv
= self
->ParseFormat(_date
, format
, dateDef
);
882 if (rv
== NULL
) return -1;
885 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
887 const wxChar
* _datetime
= datetime
;
888 rv
= self
->ParseDateTime(_datetime
);
889 if (rv
== NULL
) return -1;
890 return rv
- _datetime
;
892 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
894 const wxChar
* _date
= date
;
895 rv
= self
->ParseDate(_date
);
896 if (rv
== NULL
) return -1;
899 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
901 const wxChar
* _time
= time
;
902 rv
= self
->ParseTime(_time
);
903 if (rv
== NULL
) return -1;
906 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
907 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
908 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
909 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
910 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
911 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
912 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
913 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
914 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
915 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
916 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
917 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
918 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
919 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
920 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
921 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
923 #include <wx/dataobj.h>
925 // Create a new class for wxPython to use
926 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
928 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
929 : wxDataObjectSimple(format
) {}
931 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
932 bool GetDataHere(void *buf
) const;
933 bool SetData(size_t len
, const void *buf
) const;
937 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
939 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
940 // We need to get the data for this object and write it to buf. I think
941 // the best way to do this for wxPython is to have the Python method
942 // return either a string or None and then act appropriately with the
946 wxPyBeginBlockThreads();
947 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
949 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
951 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
953 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
957 wxPyEndBlockThreads();
961 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
962 // For this one we simply need to make a string from buf and len
963 // and send it to the Python method.
965 wxPyBeginBlockThreads();
966 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
967 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
968 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
971 wxPyEndBlockThreads();
975 // Create a new class for wxPython to use
976 class wxPyTextDataObject
: public wxTextDataObject
{
978 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
979 : wxTextDataObject(text
) {}
981 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
982 DEC_PYCALLBACK_STRING__const(GetText
);
983 DEC_PYCALLBACK__STRING(SetText
);
987 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
988 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
989 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
992 // Create a new class for wxPython to use
993 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
995 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
996 : wxBitmapDataObject(bitmap
) {}
998 wxBitmap
GetBitmap() const;
999 void SetBitmap(const wxBitmap
& bitmap
);
1003 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1004 wxBitmap
* rval
= &wxNullBitmap
;
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1009 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1011 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1016 wxPyEndBlockThreads();
1020 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1021 wxPyBeginBlockThreads();
1022 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1023 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), false);
1024 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1027 wxPyEndBlockThreads();
1030 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1031 if (PyString_Check(data
)) {
1032 // for Python we just call SetData here since we always need it to make a copy.
1033 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError
, "String expected.");
1040 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1041 if (PyString_Check(data
)) {
1042 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1045 // raise a TypeError if not a string
1046 PyErr_SetString(PyExc_TypeError
, "String expected.");
1050 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1051 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1054 #include <wx/metafile.h>
1060 class wxPyDropSource
: public wxDropSource
{
1063 wxPyDropSource(wxWindow
*win
= NULL
,
1064 const wxCursor
©
= wxNullCursor
,
1065 const wxCursor
&move
= wxNullCursor
,
1066 const wxCursor
&none
= wxNullCursor
)
1067 : wxDropSource(win
, copy
, move
, none
) {}
1069 wxPyDropSource(wxWindow
*win
= NULL
,
1070 const wxIcon
& copy
= wxNullIcon
,
1071 const wxIcon
& move
= wxNullIcon
,
1072 const wxIcon
& none
= wxNullIcon
)
1073 : wxDropSource(win
, copy
, move
, none
) {}
1075 ~wxPyDropSource() { }
1077 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
1081 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1085 class wxPyDropTarget
: public wxDropTarget
{
1087 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
1088 : wxDropTarget(dataObject
) {}
1090 // called when mouse leaves the window: might be used to remove the
1091 // feedback which was given in OnEnter()
1092 DEC_PYCALLBACK__(OnLeave
);
1094 // called when the mouse enters the window (only once until OnLeave())
1095 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1097 // called when the mouse moves in the window - shouldn't take long to
1098 // execute or otherwise mouse movement would be too slow
1099 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1101 // called after OnDrop() returns TRUE: you will usually just call
1102 // GetData() from here and, probably, also refresh something to update the
1103 // new data and, finally, return the code indicating how did the operation
1104 // complete (returning default value in case of success and wxDragError on
1105 // failure is usually ok)
1106 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
1108 // this function is called when data is dropped at position (x, y) - if it
1109 // returns TRUE, OnData() will be called immediately afterwards which will
1110 // allow to retrieve the data dropped.
1111 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1116 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1117 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1118 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1119 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1120 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1124 class wxPyTextDropTarget
: public wxTextDropTarget
{
1126 wxPyTextDropTarget() {}
1128 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1130 DEC_PYCALLBACK__(OnLeave
);
1131 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1132 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1133 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1134 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1139 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1140 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1141 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1142 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1143 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1144 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1148 class wxPyFileDropTarget
: public wxFileDropTarget
{
1150 wxPyFileDropTarget() {}
1152 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1154 DEC_PYCALLBACK__(OnLeave
);
1155 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1156 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1157 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1158 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1163 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1164 const wxArrayString
& filenames
) {
1166 wxPyBeginBlockThreads();
1167 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1168 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1169 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1172 wxPyEndBlockThreads();
1178 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1179 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1180 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1181 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1182 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1187 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1191 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1192 PyObject
*resultobj
;
1196 (char *) "index", NULL
1199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1202 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1204 wxPyEndAllowThreads(__tstate
);
1205 if (PyErr_Occurred()) SWIG_fail
;
1208 wxColour
* resultptr
;
1209 resultptr
= new wxColour((wxColour
&) result
);
1210 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1218 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1223 (char *) "index", NULL
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1236 resultptr
= new wxFont((wxFont
&) result
);
1237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1245 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1246 PyObject
*resultobj
;
1250 (char *) "index", NULL
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 resultobj
= PyInt_FromLong((long)result
);
1268 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1269 PyObject
*resultobj
;
1273 (char *) "index", NULL
1276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1279 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1281 wxPyEndAllowThreads(__tstate
);
1282 if (PyErr_Occurred()) SWIG_fail
;
1284 resultobj
= PyInt_FromLong((long)result
);
1291 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= (int)wxSystemSettings::GetScreenType();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= PyInt_FromLong((long)result
);
1313 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1317 (char *) "screen", NULL
1320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1323 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1325 wxPyEndAllowThreads(__tstate
);
1326 if (PyErr_Occurred()) SWIG_fail
;
1328 Py_INCREF(Py_None
); resultobj
= Py_None
;
1335 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1338 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1340 return Py_BuildValue((char *)"");
1342 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1343 PyObject
*resultobj
;
1344 wxSystemOptions
*result
;
1349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1352 result
= (wxSystemOptions
*)new wxSystemOptions();
1354 wxPyEndAllowThreads(__tstate
);
1355 if (PyErr_Occurred()) SWIG_fail
;
1357 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1364 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
*resultobj
;
1366 wxString
*arg1
= 0 ;
1367 wxString
*arg2
= 0 ;
1368 bool temp1
= false ;
1369 bool temp2
= false ;
1370 PyObject
* obj0
= 0 ;
1371 PyObject
* obj1
= 0 ;
1373 (char *) "name",(char *) "value", NULL
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1378 arg1
= wxString_in_helper(obj0
);
1379 if (arg1
== NULL
) SWIG_fail
;
1383 arg2
= wxString_in_helper(obj1
);
1384 if (arg2
== NULL
) SWIG_fail
;
1388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1389 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1391 wxPyEndAllowThreads(__tstate
);
1392 if (PyErr_Occurred()) SWIG_fail
;
1394 Py_INCREF(Py_None
); resultobj
= Py_None
;
1417 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1418 PyObject
*resultobj
;
1419 wxString
*arg1
= 0 ;
1421 bool temp1
= false ;
1422 PyObject
* obj0
= 0 ;
1424 (char *) "name",(char *) "value", NULL
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1429 arg1
= wxString_in_helper(obj0
);
1430 if (arg1
== NULL
) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1455 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1456 PyObject
*resultobj
;
1457 wxString
*arg1
= 0 ;
1459 bool temp1
= false ;
1460 PyObject
* obj0
= 0 ;
1462 (char *) "name", NULL
1465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1467 arg1
= wxString_in_helper(obj0
);
1468 if (arg1
== NULL
) SWIG_fail
;
1472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1473 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1475 wxPyEndAllowThreads(__tstate
);
1476 if (PyErr_Occurred()) SWIG_fail
;
1480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1499 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1501 wxString
*arg1
= 0 ;
1503 bool temp1
= false ;
1504 PyObject
* obj0
= 0 ;
1506 (char *) "name", NULL
1509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1511 arg1
= wxString_in_helper(obj0
);
1512 if (arg1
== NULL
) SWIG_fail
;
1516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1517 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1519 wxPyEndAllowThreads(__tstate
);
1520 if (PyErr_Occurred()) SWIG_fail
;
1522 resultobj
= PyInt_FromLong((long)result
);
1537 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1538 PyObject
*resultobj
;
1539 wxString
*arg1
= 0 ;
1541 bool temp1
= false ;
1542 PyObject
* obj0
= 0 ;
1544 (char *) "name", NULL
1547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1549 arg1
= wxString_in_helper(obj0
);
1550 if (arg1
== NULL
) SWIG_fail
;
1554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1555 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1557 wxPyEndAllowThreads(__tstate
);
1558 if (PyErr_Occurred()) SWIG_fail
;
1560 resultobj
= PyInt_FromLong((long)result
);
1575 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1578 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1580 return Py_BuildValue((char *)"");
1582 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1583 PyObject
*resultobj
;
1589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1592 result
= (long)wxNewId();
1594 wxPyEndAllowThreads(__tstate
);
1595 if (PyErr_Occurred()) SWIG_fail
;
1597 resultobj
= PyInt_FromLong((long)result
);
1604 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1605 PyObject
*resultobj
;
1611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1616 wxPyEndAllowThreads(__tstate
);
1617 if (PyErr_Occurred()) SWIG_fail
;
1619 Py_INCREF(Py_None
); resultobj
= Py_None
;
1626 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (long)wxGetCurrentId();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 resultobj
= PyInt_FromLong((long)result
);
1648 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1659 wxPyEndAllowThreads(__tstate
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 Py_INCREF(Py_None
); resultobj
= Py_None
;
1669 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1670 PyObject
*resultobj
;
1675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1680 wxPyEndAllowThreads(__tstate
);
1681 if (PyErr_Occurred()) SWIG_fail
;
1683 Py_INCREF(Py_None
); resultobj
= Py_None
;
1690 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1691 PyObject
*resultobj
;
1692 bool arg1
= (bool) TRUE
;
1694 PyObject
* obj0
= 0 ;
1696 (char *) "resetTimer", NULL
1699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1701 arg1
= PyInt_AsLong(obj0
) ? true : false;
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 result
= (long)wxGetElapsedTime(arg1
);
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 resultobj
= PyInt_FromLong((long)result
);
1718 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1720 int *arg1
= (int *) 0 ;
1721 int *arg2
= (int *) 0 ;
1730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1733 wxGetMousePosition(arg1
,arg2
);
1735 wxPyEndAllowThreads(__tstate
);
1736 if (PyErr_Occurred()) SWIG_fail
;
1738 Py_INCREF(Py_None
); resultobj
= Py_None
;
1740 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1741 resultobj
= t_output_helper(resultobj
,o
);
1744 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1745 resultobj
= t_output_helper(resultobj
,o
);
1753 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1763 result
= (bool)wxIsBusy();
1765 wxPyEndAllowThreads(__tstate
);
1766 if (PyErr_Occurred()) SWIG_fail
;
1768 resultobj
= PyInt_FromLong((long)result
);
1775 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1803 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1804 PyObject
*resultobj
;
1805 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1806 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1808 bool temp1
= false ;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "command", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1817 arg1
= wxString_in_helper(obj0
);
1818 if (arg1
== NULL
) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (bool)wxShell((wxString
const &)*arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= PyInt_FromLong((long)result
);
1844 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 int *arg1
= (int *) 0 ;
1868 int *arg2
= (int *) 0 ;
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= (int)wxGetOsVersion(arg1
,arg2
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= PyInt_FromLong((long)result
);
1888 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1889 resultobj
= t_output_helper(resultobj
,o
);
1892 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1893 resultobj
= t_output_helper(resultobj
,o
);
1901 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= wxGetOsDescription();
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1929 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1930 PyObject
*resultobj
;
1936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1939 result
= (long)wxGetFreeMemory();
1941 wxPyEndAllowThreads(__tstate
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1944 resultobj
= PyInt_FromLong((long)result
);
1951 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1952 PyObject
*resultobj
;
1956 (char *) "wFlags", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= PyInt_FromLong((long)result
);
1974 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1978 (char *) "secs", NULL
1981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 unsigned long arg1
;
1999 PyObject
* obj0
= 0 ;
2001 (char *) "milliseconds", NULL
2004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2005 arg1
= (unsigned long) PyInt_AsLong(obj0
);
2006 if (PyErr_Occurred()) SWIG_fail
;
2008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 wxPyEndAllowThreads(__tstate
);
2012 if (PyErr_Occurred()) SWIG_fail
;
2014 Py_INCREF(Py_None
); resultobj
= Py_None
;
2021 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2024 PyObject
* obj0
= 0 ;
2026 (char *) "enable", NULL
2029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2030 arg1
= PyInt_AsLong(obj0
) ? true : false;
2031 if (PyErr_Occurred()) SWIG_fail
;
2033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2034 wxEnableTopLevelWindows(arg1
);
2036 wxPyEndAllowThreads(__tstate
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2039 Py_INCREF(Py_None
); resultobj
= Py_None
;
2046 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2047 PyObject
*resultobj
;
2048 wxString
*arg1
= 0 ;
2050 bool temp1
= false ;
2051 PyObject
* obj0
= 0 ;
2056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2058 arg1
= wxString_in_helper(obj0
);
2059 if (arg1
== NULL
) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2090 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2100 result
= wxGetEmailAddress();
2102 wxPyEndAllowThreads(__tstate
);
2103 if (PyErr_Occurred()) SWIG_fail
;
2107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2118 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2128 result
= wxGetHostName();
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2135 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2137 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2146 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2147 PyObject
*resultobj
;
2153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= wxGetFullHostName();
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2174 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2175 PyObject
*resultobj
;
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2184 result
= wxGetUserId();
2186 wxPyEndAllowThreads(__tstate
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2191 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2193 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2202 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 result
= wxGetUserName();
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2219 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2221 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2230 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2240 result
= wxGetHomeDir();
2242 wxPyEndAllowThreads(__tstate
);
2243 if (PyErr_Occurred()) SWIG_fail
;
2247 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2249 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2258 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2261 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2263 bool temp1
= false ;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "user", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2272 arg1
= wxString_in_helper(obj0
);
2273 if (arg1
== NULL
) SWIG_fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2279 result
= wxGetUserHome((wxString
const &)*arg1
);
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2305 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2306 PyObject
*resultobj
;
2307 unsigned long result
;
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 result
= (unsigned long)wxGetProcessId();
2317 wxPyEndAllowThreads(__tstate
);
2318 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= PyInt_FromLong((long)result
);
2327 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2328 PyObject
*resultobj
;
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 wxPyEndAllowThreads(__tstate
);
2339 if (PyErr_Occurred()) SWIG_fail
;
2341 Py_INCREF(Py_None
); resultobj
= Py_None
;
2348 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2349 PyObject
*resultobj
;
2350 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2351 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2352 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2353 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2354 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2355 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2356 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2357 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2358 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2359 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2360 int arg6
= (int) 0 ;
2361 wxWindow
*arg7
= (wxWindow
*) NULL
;
2362 int arg8
= (int) -1 ;
2363 int arg9
= (int) -1 ;
2365 bool temp1
= false ;
2366 bool temp2
= false ;
2367 bool temp3
= false ;
2368 bool temp4
= false ;
2369 bool temp5
= false ;
2370 PyObject
* obj0
= 0 ;
2371 PyObject
* obj1
= 0 ;
2372 PyObject
* obj2
= 0 ;
2373 PyObject
* obj3
= 0 ;
2374 PyObject
* obj4
= 0 ;
2375 PyObject
* obj6
= 0 ;
2377 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2383 arg1
= wxString_in_helper(obj0
);
2384 if (arg1
== NULL
) SWIG_fail
;
2390 arg2
= wxString_in_helper(obj1
);
2391 if (arg2
== NULL
) SWIG_fail
;
2397 arg3
= wxString_in_helper(obj2
);
2398 if (arg3
== NULL
) SWIG_fail
;
2404 arg4
= wxString_in_helper(obj3
);
2405 if (arg4
== NULL
) SWIG_fail
;
2411 arg5
= wxString_in_helper(obj4
);
2412 if (arg5
== NULL
) SWIG_fail
;
2417 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2479 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxString
*arg1
= 0 ;
2482 wxString
*arg2
= 0 ;
2483 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2484 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2485 wxWindow
*arg4
= (wxWindow
*) NULL
;
2487 bool temp1
= false ;
2488 bool temp2
= false ;
2489 bool temp3
= false ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2492 PyObject
* obj2
= 0 ;
2493 PyObject
* obj3
= 0 ;
2495 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2500 arg1
= wxString_in_helper(obj0
);
2501 if (arg1
== NULL
) SWIG_fail
;
2505 arg2
= wxString_in_helper(obj1
);
2506 if (arg2
== NULL
) SWIG_fail
;
2511 arg3
= wxString_in_helper(obj2
);
2512 if (arg3
== NULL
) SWIG_fail
;
2517 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2521 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2523 wxPyEndAllowThreads(__tstate
);
2524 if (PyErr_Occurred()) SWIG_fail
;
2528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2563 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2564 PyObject
*resultobj
;
2565 wxString
*arg1
= 0 ;
2566 wxString
*arg2
= 0 ;
2567 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2568 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2569 wxWindow
*arg4
= (wxWindow
*) NULL
;
2571 bool temp1
= false ;
2572 bool temp2
= false ;
2573 bool temp3
= false ;
2574 PyObject
* obj0
= 0 ;
2575 PyObject
* obj1
= 0 ;
2576 PyObject
* obj2
= 0 ;
2577 PyObject
* obj3
= 0 ;
2579 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2584 arg1
= wxString_in_helper(obj0
);
2585 if (arg1
== NULL
) SWIG_fail
;
2589 arg2
= wxString_in_helper(obj1
);
2590 if (arg2
== NULL
) SWIG_fail
;
2595 arg3
= wxString_in_helper(obj2
);
2596 if (arg3
== NULL
) SWIG_fail
;
2601 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2647 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2648 PyObject
*resultobj
;
2649 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2650 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2651 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2652 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2653 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2656 wxWindow
*arg5
= (wxWindow
*) NULL
;
2658 bool temp1
= false ;
2659 bool temp2
= false ;
2661 PyObject
* obj0
= 0 ;
2662 PyObject
* obj1
= 0 ;
2663 PyObject
* obj3
= 0 ;
2664 PyObject
* obj4
= 0 ;
2666 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2672 arg1
= wxString_in_helper(obj0
);
2673 if (arg1
== NULL
) SWIG_fail
;
2679 arg2
= wxString_in_helper(obj1
);
2680 if (arg2
== NULL
) SWIG_fail
;
2687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2691 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2729 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxString
*arg1
= 0 ;
2732 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2733 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2734 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2735 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2736 wxWindow
*arg4
= (wxWindow
*) NULL
;
2737 int arg5
= (int) -1 ;
2738 int arg6
= (int) -1 ;
2739 bool arg7
= (bool) TRUE
;
2741 bool temp1
= false ;
2742 bool temp2
= false ;
2743 bool temp3
= false ;
2744 PyObject
* obj0
= 0 ;
2745 PyObject
* obj1
= 0 ;
2746 PyObject
* obj2
= 0 ;
2747 PyObject
* obj3
= 0 ;
2748 PyObject
* obj6
= 0 ;
2750 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2755 arg1
= wxString_in_helper(obj0
);
2756 if (arg1
== NULL
) SWIG_fail
;
2761 arg2
= wxString_in_helper(obj1
);
2762 if (arg2
== NULL
) SWIG_fail
;
2768 arg3
= wxString_in_helper(obj2
);
2769 if (arg3
== NULL
) SWIG_fail
;
2774 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2777 arg7
= PyInt_AsLong(obj6
) ? true : false;
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2824 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxString
*arg1
= 0 ;
2827 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2828 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2829 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2830 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2831 wxWindow
*arg4
= (wxWindow
*) NULL
;
2833 bool temp1
= false ;
2834 bool temp2
= false ;
2835 bool temp3
= false ;
2836 PyObject
* obj0
= 0 ;
2837 PyObject
* obj1
= 0 ;
2838 PyObject
* obj2
= 0 ;
2839 PyObject
* obj3
= 0 ;
2841 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2846 arg1
= wxString_in_helper(obj0
);
2847 if (arg1
== NULL
) SWIG_fail
;
2852 arg2
= wxString_in_helper(obj1
);
2853 if (arg2
== NULL
) SWIG_fail
;
2859 arg3
= wxString_in_helper(obj2
);
2860 if (arg3
== NULL
) SWIG_fail
;
2865 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2876 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2878 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2911 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2912 PyObject
*resultobj
;
2913 wxString
*arg1
= 0 ;
2914 wxString
*arg2
= 0 ;
2916 wxString
*arg4
= (wxString
*) 0 ;
2917 wxWindow
*arg5
= (wxWindow
*) NULL
;
2918 int arg6
= (int) -1 ;
2919 int arg7
= (int) -1 ;
2920 bool arg8
= (bool) TRUE
;
2921 int arg9
= (int) 150 ;
2922 int arg10
= (int) 200 ;
2924 bool temp1
= false ;
2925 bool temp2
= false ;
2926 PyObject
* obj0
= 0 ;
2927 PyObject
* obj1
= 0 ;
2928 PyObject
* obj2
= 0 ;
2929 PyObject
* obj3
= 0 ;
2930 PyObject
* obj6
= 0 ;
2932 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2937 arg1
= wxString_in_helper(obj0
);
2938 if (arg1
== NULL
) SWIG_fail
;
2942 arg2
= wxString_in_helper(obj1
);
2943 if (arg2
== NULL
) SWIG_fail
;
2947 arg3
= PyList_Size(obj2
);
2948 arg4
= wxString_LIST_helper(obj2
);
2949 if (arg4
== NULL
) SWIG_fail
;
2952 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2955 arg8
= PyInt_AsLong(obj6
) ? true : false;
2956 if (PyErr_Occurred()) SWIG_fail
;
2959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2960 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2962 wxPyEndAllowThreads(__tstate
);
2963 if (PyErr_Occurred()) SWIG_fail
;
2967 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2969 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2981 if (arg4
) delete [] arg4
;
2994 if (arg4
) delete [] arg4
;
3000 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3001 PyObject
*resultobj
;
3002 wxString
*arg1
= 0 ;
3003 wxString
*arg2
= 0 ;
3005 wxString
*arg4
= (wxString
*) 0 ;
3006 wxWindow
*arg5
= (wxWindow
*) NULL
;
3007 int arg6
= (int) -1 ;
3008 int arg7
= (int) -1 ;
3009 bool arg8
= (bool) TRUE
;
3010 int arg9
= (int) 150 ;
3011 int arg10
= (int) 200 ;
3013 bool temp1
= false ;
3014 bool temp2
= false ;
3015 PyObject
* obj0
= 0 ;
3016 PyObject
* obj1
= 0 ;
3017 PyObject
* obj2
= 0 ;
3018 PyObject
* obj3
= 0 ;
3019 PyObject
* obj6
= 0 ;
3021 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
3026 arg1
= wxString_in_helper(obj0
);
3027 if (arg1
== NULL
) SWIG_fail
;
3031 arg2
= wxString_in_helper(obj1
);
3032 if (arg2
== NULL
) SWIG_fail
;
3036 arg3
= PyList_Size(obj2
);
3037 arg4
= wxString_LIST_helper(obj2
);
3038 if (arg4
== NULL
) SWIG_fail
;
3041 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3044 arg8
= PyInt_AsLong(obj6
) ? true : false;
3045 if (PyErr_Occurred()) SWIG_fail
;
3048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= PyInt_FromLong((long)result
);
3064 if (arg4
) delete [] arg4
;
3077 if (arg4
) delete [] arg4
;
3083 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxString
*arg1
= 0 ;
3086 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3087 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3088 int arg3
= (int) wxOK
|wxCENTRE
;
3089 wxWindow
*arg4
= (wxWindow
*) NULL
;
3090 int arg5
= (int) -1 ;
3091 int arg6
= (int) -1 ;
3093 bool temp1
= false ;
3094 bool temp2
= false ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj3
= 0 ;
3099 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3104 arg1
= wxString_in_helper(obj0
);
3105 if (arg1
== NULL
) SWIG_fail
;
3110 arg2
= wxString_in_helper(obj1
);
3111 if (arg2
== NULL
) SWIG_fail
;
3116 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3125 resultobj
= PyInt_FromLong((long)result
);
3148 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxString
*arg1
= 0 ;
3151 wxString
*arg2
= 0 ;
3152 wxString
*arg3
= 0 ;
3154 long arg5
= (long) 0 ;
3155 long arg6
= (long) 100 ;
3156 wxWindow
*arg7
= (wxWindow
*) NULL
;
3157 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3158 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3160 bool temp1
= false ;
3161 bool temp2
= false ;
3162 bool temp3
= false ;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3166 PyObject
* obj2
= 0 ;
3167 PyObject
* obj6
= 0 ;
3168 PyObject
* obj7
= 0 ;
3170 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3175 arg1
= wxString_in_helper(obj0
);
3176 if (arg1
== NULL
) SWIG_fail
;
3180 arg2
= wxString_in_helper(obj1
);
3181 if (arg2
== NULL
) SWIG_fail
;
3185 arg3
= wxString_in_helper(obj2
);
3186 if (arg3
== NULL
) SWIG_fail
;
3190 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3195 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= PyInt_FromLong((long)result
);
3236 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3246 result
= (bool)wxColourDisplay();
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= PyInt_FromLong((long)result
);
3258 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3268 result
= (int)wxDisplayDepth();
3270 wxPyEndAllowThreads(__tstate
);
3271 if (PyErr_Occurred()) SWIG_fail
;
3273 resultobj
= PyInt_FromLong((long)result
);
3280 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= (int)wxGetDisplayDepth();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3295 resultobj
= PyInt_FromLong((long)result
);
3302 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3303 PyObject
*resultobj
;
3304 int *arg1
= (int *) 0 ;
3305 int *arg2
= (int *) 0 ;
3314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 wxDisplaySize(arg1
,arg2
);
3319 wxPyEndAllowThreads(__tstate
);
3320 if (PyErr_Occurred()) SWIG_fail
;
3322 Py_INCREF(Py_None
); resultobj
= Py_None
;
3324 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3325 resultobj
= t_output_helper(resultobj
,o
);
3328 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3329 resultobj
= t_output_helper(resultobj
,o
);
3337 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3347 result
= wxGetDisplaySize();
3349 wxPyEndAllowThreads(__tstate
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3354 resultptr
= new wxSize((wxSize
&) result
);
3355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3363 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 int *arg1
= (int *) 0 ;
3366 int *arg2
= (int *) 0 ;
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3378 wxDisplaySizeMM(arg1
,arg2
);
3380 wxPyEndAllowThreads(__tstate
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3383 Py_INCREF(Py_None
); resultobj
= Py_None
;
3385 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3386 resultobj
= t_output_helper(resultobj
,o
);
3389 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3390 resultobj
= t_output_helper(resultobj
,o
);
3398 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= wxGetDisplaySizeMM();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3415 resultptr
= new wxSize((wxSize
&) result
);
3416 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3424 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 int *arg1
= (int *) 0 ;
3427 int *arg2
= (int *) 0 ;
3428 int *arg3
= (int *) 0 ;
3429 int *arg4
= (int *) 0 ;
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3445 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3453 resultobj
= t_output_helper(resultobj
,o
);
3456 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3457 resultobj
= t_output_helper(resultobj
,o
);
3460 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3461 resultobj
= t_output_helper(resultobj
,o
);
3464 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3465 resultobj
= t_output_helper(resultobj
,o
);
3473 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 result
= wxGetClientDisplayRect();
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3490 resultptr
= new wxRect((wxRect
&) result
);
3491 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3499 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxCursor
*arg1
= 0 ;
3502 PyObject
* obj0
= 0 ;
3504 (char *) "cursor", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3529 PyObject
* obj0
= 0 ;
3531 (char *) "cursor", NULL
3534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 wxBeginBusyCursor(arg1
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3552 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (wxWindow
*)wxGetActiveWindow();
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3568 resultobj
= wxPyMake_wxObject(result
);
3576 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3577 PyObject
*resultobj
;
3581 PyObject
* obj0
= 0 ;
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3589 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3593 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3595 wxPyEndAllowThreads(__tstate
);
3596 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= wxPyMake_wxObject(result
);
3607 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3612 PyObject
* obj0
= 0 ;
3617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3620 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3630 resultobj
= wxPyMake_wxObject(result
);
3638 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3639 PyObject
*resultobj
;
3640 wxWindow
*arg1
= (wxWindow
*) 0 ;
3642 PyObject
* obj0
= 0 ;
3644 (char *) "win", NULL
3647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3651 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3653 wxPyEndAllowThreads(__tstate
);
3654 if (PyErr_Occurred()) SWIG_fail
;
3657 resultobj
= wxPyMake_wxObject(result
);
3665 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3666 PyObject
*resultobj
;
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 wxWakeUpMainThread();
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 Py_INCREF(Py_None
); resultobj
= Py_None
;
3686 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 wxPyEndAllowThreads(__tstate
);
3698 if (PyErr_Occurred()) SWIG_fail
;
3700 Py_INCREF(Py_None
); resultobj
= Py_None
;
3707 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 Py_INCREF(Py_None
); resultobj
= Py_None
;
3728 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxMutexGuiLocker
*result
;
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3750 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3753 PyObject
* obj0
= 0 ;
3755 (char *) "self", NULL
3758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3777 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3779 return Py_BuildValue((char *)"");
3781 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
;
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (bool)wxThread_IsMain();
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= PyInt_FromLong((long)result
);
3803 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxString
*arg1
= 0 ;
3807 bool temp1
= false ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "tip", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3815 arg1
= wxString_in_helper(obj0
);
3816 if (arg1
== NULL
) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3827 resultobj
= wxPyMake_wxObject(result
);
3843 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3846 wxString
*arg2
= 0 ;
3847 bool temp2
= false ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3851 (char *) "self",(char *) "tip", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3857 arg2
= wxString_in_helper(obj1
);
3858 if (arg2
== NULL
) SWIG_fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 (arg1
)->SetTip((wxString
const &)*arg2
);
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3868 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "self", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3896 result
= (arg1
)->GetTip();
3898 wxPyEndAllowThreads(__tstate
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3903 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3905 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3914 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3920 (char *) "self", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (wxWindow
*)(arg1
)->GetWindow();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= wxPyMake_wxObject(result
);
3941 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3944 PyObject
* obj0
= 0 ;
3946 (char *) "flag", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3950 arg1
= PyInt_AsLong(obj0
) ? true : false;
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 wxToolTip::Enable(arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3966 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3970 (char *) "milliseconds", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 wxToolTip::SetDelay(arg1
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3988 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
3990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3991 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
3993 return Py_BuildValue((char *)"");
3995 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxWindow
*arg1
= (wxWindow
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "window",(char *) "size", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4011 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4015 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4017 wxPyEndAllowThreads(__tstate
);
4018 if (PyErr_Occurred()) SWIG_fail
;
4020 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4027 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxCaret
*arg1
= (wxCaret
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 Py_INCREF(Py_None
); resultobj
= Py_None
;
4051 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxCaret
*arg1
= (wxCaret
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (bool)(arg1
)->IsOk();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= PyInt_FromLong((long)result
);
4076 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxCaret
*arg1
= (wxCaret
*) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 result
= (bool)(arg1
)->IsVisible();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= PyInt_FromLong((long)result
);
4101 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxCaret
*arg1
= (wxCaret
*) 0 ;
4104 int *arg2
= (int *) 0 ;
4105 int *arg3
= (int *) 0 ;
4108 PyObject
* obj0
= 0 ;
4110 (char *) "self", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 (arg1
)->GetPosition(arg2
,arg3
);
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 Py_INCREF(Py_None
); resultobj
= Py_None
;
4126 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4127 resultobj
= t_output_helper(resultobj
,o
);
4130 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4131 resultobj
= t_output_helper(resultobj
,o
);
4139 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4141 wxCaret
*arg1
= (wxCaret
*) 0 ;
4143 PyObject
* obj0
= 0 ;
4145 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (arg1
)->GetPosition();
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 wxPoint
* resultptr
;
4159 resultptr
= new wxPoint((wxPoint
&) result
);
4160 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4168 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4169 PyObject
*resultobj
;
4170 wxCaret
*arg1
= (wxCaret
*) 0 ;
4171 int *arg2
= (int *) 0 ;
4172 int *arg3
= (int *) 0 ;
4175 PyObject
* obj0
= 0 ;
4177 (char *) "self", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4186 (arg1
)->GetSize(arg2
,arg3
);
4188 wxPyEndAllowThreads(__tstate
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 Py_INCREF(Py_None
); resultobj
= Py_None
;
4193 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4194 resultobj
= t_output_helper(resultobj
,o
);
4197 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4198 resultobj
= t_output_helper(resultobj
,o
);
4206 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxCaret
*arg1
= (wxCaret
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (arg1
)->GetSize();
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4226 resultptr
= new wxSize((wxSize
&) result
);
4227 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4235 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxCaret
*arg1
= (wxCaret
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "self", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4248 result
= (wxWindow
*)(arg1
)->GetWindow();
4250 wxPyEndAllowThreads(__tstate
);
4251 if (PyErr_Occurred()) SWIG_fail
;
4254 resultobj
= wxPyMake_wxObject(result
);
4262 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxCaret
*arg1
= (wxCaret
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self",(char *) "x",(char *) "y", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4276 (arg1
)->Move(arg2
,arg3
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 Py_INCREF(Py_None
); resultobj
= Py_None
;
4288 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4289 PyObject
*resultobj
;
4290 wxCaret
*arg1
= (wxCaret
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4294 PyObject
* obj1
= 0 ;
4296 (char *) "self",(char *) "pt", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->Move((wxPoint
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxCaret
*arg1
= (wxCaret
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4326 (char *) "self",(char *) "width",(char *) "height", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetSize(arg2
,arg3
);
4335 wxPyEndAllowThreads(__tstate
);
4336 if (PyErr_Occurred()) SWIG_fail
;
4338 Py_INCREF(Py_None
); resultobj
= Py_None
;
4345 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4346 PyObject
*resultobj
;
4347 wxCaret
*arg1
= (wxCaret
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4353 (char *) "self",(char *) "size", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 (arg1
)->SetSize((wxSize
const &)*arg2
);
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 Py_INCREF(Py_None
); resultobj
= Py_None
;
4376 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxCaret
*arg1
= (wxCaret
*) 0 ;
4379 int arg2
= (int) TRUE
;
4380 PyObject
* obj0
= 0 ;
4382 (char *) "self",(char *) "show", NULL
4385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4402 PyObject
*resultobj
;
4403 wxCaret
*arg1
= (wxCaret
*) 0 ;
4404 PyObject
* obj0
= 0 ;
4406 (char *) "self", NULL
4409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4428 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4430 return Py_BuildValue((char *)"");
4432 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= (int)wxCaret_GetBlinkTime();
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 resultobj
= PyInt_FromLong((long)result
);
4454 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4455 PyObject
*resultobj
;
4458 (char *) "milliseconds", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4464 wxCaret_SetBlinkTime(arg1
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4479 wxBusyCursor
*result
;
4480 PyObject
* obj0
= 0 ;
4482 (char *) "cursor", NULL
4485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4491 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4493 wxPyEndAllowThreads(__tstate
);
4494 if (PyErr_Occurred()) SWIG_fail
;
4496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4503 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4508 (char *) "self", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4530 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4532 return Py_BuildValue((char *)"");
4534 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxWindow
*arg1
= (wxWindow
*) NULL
;
4537 wxWindowDisabler
*result
;
4538 PyObject
* obj0
= 0 ;
4540 (char *) "winToSkip", NULL
4543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4549 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4551 wxPyEndAllowThreads(__tstate
);
4552 if (PyErr_Occurred()) SWIG_fail
;
4554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4561 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4564 PyObject
* obj0
= 0 ;
4566 (char *) "self", NULL
4569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4575 wxPyEndAllowThreads(__tstate
);
4576 if (PyErr_Occurred()) SWIG_fail
;
4578 Py_INCREF(Py_None
); resultobj
= Py_None
;
4585 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4588 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4590 return Py_BuildValue((char *)"");
4592 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxString
*arg1
= 0 ;
4596 bool temp1
= false ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "message", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4604 arg1
= wxString_in_helper(obj0
);
4605 if (arg1
== NULL
) SWIG_fail
;
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4612 wxPyEndAllowThreads(__tstate
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4630 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4633 PyObject
* obj0
= 0 ;
4635 (char *) "self", NULL
4638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4644 wxPyEndAllowThreads(__tstate
);
4645 if (PyErr_Occurred()) SWIG_fail
;
4647 Py_INCREF(Py_None
); resultobj
= Py_None
;
4654 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4659 return Py_BuildValue((char *)"");
4661 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxStopWatch
*result
;
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxStopWatch
*)new wxStopWatch();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4683 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4686 long arg2
= (long) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self",(char *) "t0", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 (arg1
)->Start(arg2
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4711 PyObject
* obj0
= 0 ;
4713 (char *) "self", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 Py_INCREF(Py_None
); resultobj
= Py_None
;
4732 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4733 PyObject
*resultobj
;
4734 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4735 PyObject
* obj0
= 0 ;
4737 (char *) "self", NULL
4740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 Py_INCREF(Py_None
); resultobj
= Py_None
;
4756 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4762 (char *) "self", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4769 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4771 wxPyEndAllowThreads(__tstate
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4774 resultobj
= PyInt_FromLong((long)result
);
4781 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4783 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4784 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4786 return Py_BuildValue((char *)"");
4788 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 int arg1
= (int) 9 ;
4791 wxFileHistory
*result
;
4793 (char *) "maxFiles", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4811 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self", NULL
4819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4828 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4838 wxString
*arg2
= 0 ;
4839 bool temp2
= false ;
4840 PyObject
* obj0
= 0 ;
4841 PyObject
* obj1
= 0 ;
4843 (char *) "self",(char *) "file", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4849 arg2
= wxString_in_helper(obj1
);
4850 if (arg2
== NULL
) SWIG_fail
;
4854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4857 wxPyEndAllowThreads(__tstate
);
4858 if (PyErr_Occurred()) SWIG_fail
;
4860 Py_INCREF(Py_None
); resultobj
= Py_None
;
4875 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4881 (char *) "self",(char *) "i", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 (arg1
)->RemoveFileFromHistory(arg2
);
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 Py_INCREF(Py_None
); resultobj
= Py_None
;
4900 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= PyInt_FromLong((long)result
);
4925 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4928 wxMenu
*arg2
= (wxMenu
*) 0 ;
4929 PyObject
* obj0
= 0 ;
4930 PyObject
* obj1
= 0 ;
4932 (char *) "self",(char *) "menu", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->UseMenu(arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4955 wxMenu
*arg2
= (wxMenu
*) 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4959 (char *) "self",(char *) "menu", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 (arg1
)->RemoveMenu(arg2
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 Py_INCREF(Py_None
); resultobj
= Py_None
;
4979 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4982 wxConfigBase
*arg2
= 0 ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4986 (char *) "self",(char *) "config", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4991 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4993 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 (arg1
)->Load(*arg2
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5012 wxConfigBase
*arg2
= 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "config", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->Save(*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5042 PyObject
* obj0
= 0 ;
5044 (char *) "self", NULL
5047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 (arg1
)->AddFilesToMenu();
5053 wxPyEndAllowThreads(__tstate
);
5054 if (PyErr_Occurred()) SWIG_fail
;
5056 Py_INCREF(Py_None
); resultobj
= Py_None
;
5063 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5064 PyObject
*resultobj
;
5065 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5066 wxMenu
*arg2
= (wxMenu
*) 0 ;
5067 PyObject
* obj0
= 0 ;
5068 PyObject
* obj1
= 0 ;
5070 (char *) "self",(char *) "menu", NULL
5073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 (arg1
)->AddFilesToMenu(arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 Py_INCREF(Py_None
); resultobj
= Py_None
;
5090 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5095 PyObject
* obj0
= 0 ;
5097 (char *) "self",(char *) "i", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5122 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5135 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5137 wxPyEndAllowThreads(__tstate
);
5138 if (PyErr_Occurred()) SWIG_fail
;
5140 resultobj
= PyInt_FromLong((long)result
);
5147 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5150 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5152 return Py_BuildValue((char *)"");
5154 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxString
*arg1
= 0 ;
5157 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5158 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5159 wxSingleInstanceChecker
*result
;
5160 bool temp1
= false ;
5161 bool temp2
= false ;
5162 PyObject
* obj0
= 0 ;
5163 PyObject
* obj1
= 0 ;
5165 (char *) "name",(char *) "path", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5170 arg1
= wxString_in_helper(obj0
);
5171 if (arg1
== NULL
) SWIG_fail
;
5176 arg2
= wxString_in_helper(obj1
);
5177 if (arg2
== NULL
) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5183 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5211 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxSingleInstanceChecker
*result
;
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5233 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "self", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5247 wxPyEndAllowThreads(__tstate
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 Py_INCREF(Py_None
); resultobj
= Py_None
;
5257 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5258 PyObject
*resultobj
;
5259 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5260 wxString
*arg2
= 0 ;
5261 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5262 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5264 bool temp2
= false ;
5265 bool temp3
= false ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5268 PyObject
* obj2
= 0 ;
5270 (char *) "self",(char *) "name",(char *) "path", NULL
5273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5276 arg2
= wxString_in_helper(obj1
);
5277 if (arg2
== NULL
) SWIG_fail
;
5282 arg3
= wxString_in_helper(obj2
);
5283 if (arg3
== NULL
) SWIG_fail
;
5288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5289 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= PyInt_FromLong((long)result
);
5317 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5318 PyObject
*resultobj
;
5319 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5321 PyObject
* obj0
= 0 ;
5323 (char *) "self", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5330 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= PyInt_FromLong((long)result
);
5342 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5345 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5347 return Py_BuildValue((char *)"");
5349 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxWindow
*arg1
= (wxWindow
*) 0 ;
5354 PyObject
* obj0
= 0 ;
5355 PyObject
* obj1
= 0 ;
5357 (char *) "window",(char *) "dc",(char *) "method", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5370 wxPyEndAllowThreads(__tstate
);
5371 if (PyErr_Occurred()) SWIG_fail
;
5373 Py_INCREF(Py_None
); resultobj
= Py_None
;
5380 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5385 (char *) "self", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 Py_INCREF(Py_None
); resultobj
= Py_None
;
5404 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5408 PyObject
* obj0
= 0 ;
5410 (char *) "self", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5417 result
= (arg1
)->GetTip();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5424 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5426 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5435 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (size_t)(arg1
)->GetCurrentTip();
5450 wxPyEndAllowThreads(__tstate
);
5451 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= PyInt_FromLong((long)result
);
5460 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5461 PyObject
*resultobj
;
5462 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5463 wxString
*arg2
= 0 ;
5465 bool temp2
= false ;
5466 PyObject
* obj0
= 0 ;
5467 PyObject
* obj1
= 0 ;
5469 (char *) "self",(char *) "tip", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5475 arg2
= wxString_in_helper(obj1
);
5476 if (arg2
== NULL
) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5507 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5510 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5512 return Py_BuildValue((char *)"");
5514 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5515 PyObject
*resultobj
;
5517 wxPyTipProvider
*result
;
5518 PyObject
* obj0
= 0 ;
5520 (char *) "currentTip", NULL
5523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5524 arg1
= (size_t) PyInt_AsLong(obj0
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5530 wxPyEndAllowThreads(__tstate
);
5531 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5540 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5541 PyObject
*resultobj
;
5542 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5543 PyObject
*arg2
= (PyObject
*) 0 ;
5544 PyObject
*arg3
= (PyObject
*) 0 ;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5547 PyObject
* obj2
= 0 ;
5549 (char *) "self",(char *) "self",(char *) "_class", NULL
5552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5573 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5575 return Py_BuildValue((char *)"");
5577 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxWindow
*arg1
= (wxWindow
*) 0 ;
5580 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5581 bool arg3
= (bool) TRUE
;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 PyObject
* obj2
= 0 ;
5587 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5594 arg3
= PyInt_AsLong(obj2
) ? true : false;
5595 if (PyErr_Occurred()) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= PyInt_FromLong((long)result
);
5611 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5612 PyObject
*resultobj
;
5613 wxString
*arg1
= 0 ;
5615 wxTipProvider
*result
;
5616 bool temp1
= false ;
5617 PyObject
* obj0
= 0 ;
5618 PyObject
* obj1
= 0 ;
5620 (char *) "filename",(char *) "currentTip", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5625 arg1
= wxString_in_helper(obj0
);
5626 if (arg1
== NULL
) SWIG_fail
;
5629 arg2
= (size_t) PyInt_AsLong(obj1
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5653 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5654 PyObject
*resultobj
;
5655 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5656 int arg2
= (int) -1 ;
5658 PyObject
* obj0
= 0 ;
5660 (char *) "owner",(char *) "id", NULL
5663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5681 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5686 (char *) "self", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5695 wxPyEndAllowThreads(__tstate
);
5696 if (PyErr_Occurred()) SWIG_fail
;
5698 Py_INCREF(Py_None
); resultobj
= Py_None
;
5705 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5706 PyObject
*resultobj
;
5707 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5708 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5709 int arg3
= (int) -1 ;
5710 PyObject
* obj0
= 0 ;
5711 PyObject
* obj1
= 0 ;
5713 (char *) "self",(char *) "owner",(char *) "id", NULL
5716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 (arg1
)->SetOwner(arg2
,arg3
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 Py_INCREF(Py_None
); resultobj
= Py_None
;
5733 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5736 int arg2
= (int) -1 ;
5737 bool arg3
= (bool) FALSE
;
5739 PyObject
* obj0
= 0 ;
5740 PyObject
* obj2
= 0 ;
5742 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5748 arg3
= PyInt_AsLong(obj2
) ? true : false;
5749 if (PyErr_Occurred()) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 resultobj
= PyInt_FromLong((long)result
);
5765 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5768 PyObject
* obj0
= 0 ;
5770 (char *) "self", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5782 Py_INCREF(Py_None
); resultobj
= Py_None
;
5789 static PyObject
*_wrap_Timer_Notify(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5790 PyObject
*resultobj
;
5791 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 Py_INCREF(Py_None
); resultobj
= Py_None
;
5813 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
;
5815 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5817 PyObject
* obj0
= 0 ;
5819 (char *) "self", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= PyInt_FromLong((long)result
);
5838 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5842 PyObject
* obj0
= 0 ;
5844 (char *) "self", NULL
5847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5853 wxPyEndAllowThreads(__tstate
);
5854 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= PyInt_FromLong((long)result
);
5863 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5864 PyObject
*resultobj
;
5865 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5867 PyObject
* obj0
= 0 ;
5869 (char *) "self", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= PyInt_FromLong((long)result
);
5888 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5890 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5891 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5893 return Py_BuildValue((char *)"");
5895 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5896 PyObject
*resultobj
;
5897 int arg1
= (int) 0 ;
5898 int arg2
= (int) 0 ;
5899 wxTimerEvent
*result
;
5901 (char *) "timerid",(char *) "interval", NULL
5904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5919 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5920 PyObject
*resultobj
;
5921 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5923 PyObject
* obj0
= 0 ;
5925 (char *) "self", NULL
5928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= PyInt_FromLong((long)result
);
5944 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5947 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5949 return Py_BuildValue((char *)"");
5951 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5952 PyObject
*resultobj
;
5954 wxTimerRunner
*result
;
5955 PyObject
* obj0
= 0 ;
5957 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
5958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5960 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5976 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
5977 PyObject
*resultobj
;
5980 bool arg3
= (bool) FALSE
;
5981 wxTimerRunner
*result
;
5982 PyObject
* obj0
= 0 ;
5983 PyObject
* obj2
= 0 ;
5985 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5991 arg3
= PyInt_AsLong(obj2
) ? true : false;
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6008 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6013 argc
= PyObject_Length(args
);
6014 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6015 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6021 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6029 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6032 if ((argc
>= 2) && (argc
<= 3)) {
6036 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6045 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6049 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6052 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6055 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6061 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6066 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6067 PyObject
*resultobj
;
6068 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6069 PyObject
* obj0
= 0 ;
6071 (char *) "self", NULL
6074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6080 wxPyEndAllowThreads(__tstate
);
6081 if (PyErr_Occurred()) SWIG_fail
;
6083 Py_INCREF(Py_None
); resultobj
= Py_None
;
6090 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6094 bool arg3
= (bool) FALSE
;
6095 PyObject
* obj0
= 0 ;
6096 PyObject
* obj2
= 0 ;
6098 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6104 arg3
= PyInt_AsLong(obj2
) ? true : false;
6105 if (PyErr_Occurred()) SWIG_fail
;
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 (arg1
)->Start(arg2
,arg3
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6121 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6124 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6126 return Py_BuildValue((char *)"");
6128 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (wxLog
*)new wxLog();
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6150 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6151 PyObject
*resultobj
;
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6160 result
= (bool)wxLog::IsEnabled();
6162 wxPyEndAllowThreads(__tstate
);
6163 if (PyErr_Occurred()) SWIG_fail
;
6165 resultobj
= PyInt_FromLong((long)result
);
6172 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6173 PyObject
*resultobj
;
6174 bool arg1
= (bool) TRUE
;
6176 PyObject
* obj0
= 0 ;
6178 (char *) "doIt", NULL
6181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6183 arg1
= PyInt_AsLong(obj0
) ? true : false;
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6188 result
= (bool)wxLog::EnableLogging(arg1
);
6190 wxPyEndAllowThreads(__tstate
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 resultobj
= PyInt_FromLong((long)result
);
6200 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6203 wxChar
*arg2
= (wxChar
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6207 PyObject
* obj2
= 0 ;
6209 (char *) "level",(char *) "szString",(char *) "t", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6213 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6216 arg3
= (time_t) PyInt_AsLong(obj2
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6234 wxLog
*arg1
= (wxLog
*) 0 ;
6235 PyObject
* obj0
= 0 ;
6237 (char *) "self", NULL
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 wxLog::FlushActive();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 Py_INCREF(Py_None
); resultobj
= Py_None
;
6277 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (wxLog
*)wxLog::GetActiveTarget();
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6299 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6300 PyObject
*resultobj
;
6301 wxLog
*arg1
= (wxLog
*) 0 ;
6303 PyObject
* obj0
= 0 ;
6305 (char *) "pLogger", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6324 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6338 Py_INCREF(Py_None
); resultobj
= Py_None
;
6345 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
;
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 bool arg1
= (bool) TRUE
;
6369 PyObject
* obj0
= 0 ;
6371 (char *) "bVerbose", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6376 arg1
= PyInt_AsLong(obj0
) ? true : false;
6377 if (PyErr_Occurred()) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 wxLog::SetVerbose(arg1
);
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6386 Py_INCREF(Py_None
); resultobj
= Py_None
;
6393 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
;
6396 PyObject
* obj0
= 0 ;
6398 (char *) "logLevel", NULL
6401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6402 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6403 if (PyErr_Occurred()) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 wxLog::SetLogLevel(arg1
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 Py_INCREF(Py_None
); resultobj
= Py_None
;
6418 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6419 PyObject
*resultobj
;
6424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6427 wxLog::DontCreateOnDemand();
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6432 Py_INCREF(Py_None
); resultobj
= Py_None
;
6439 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6440 PyObject
*resultobj
;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "ulMask", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6448 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 wxLog::SetTraceMask(arg1
);
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6457 Py_INCREF(Py_None
); resultobj
= Py_None
;
6464 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6465 PyObject
*resultobj
;
6466 wxString
*arg1
= 0 ;
6467 bool temp1
= false ;
6468 PyObject
* obj0
= 0 ;
6470 (char *) "str", NULL
6473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6475 arg1
= wxString_in_helper(obj0
);
6476 if (arg1
== NULL
) SWIG_fail
;
6480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6481 wxLog::AddTraceMask((wxString
const &)*arg1
);
6483 wxPyEndAllowThreads(__tstate
);
6484 if (PyErr_Occurred()) SWIG_fail
;
6486 Py_INCREF(Py_None
); resultobj
= Py_None
;
6501 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6502 PyObject
*resultobj
;
6503 wxString
*arg1
= 0 ;
6504 bool temp1
= false ;
6505 PyObject
* obj0
= 0 ;
6507 (char *) "str", NULL
6510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6512 arg1
= wxString_in_helper(obj0
);
6513 if (arg1
== NULL
) SWIG_fail
;
6517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6518 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 Py_INCREF(Py_None
); resultobj
= Py_None
;
6538 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6539 PyObject
*resultobj
;
6544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 wxLog::ClearTraceMasks();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6552 Py_INCREF(Py_None
); resultobj
= Py_None
;
6559 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxArrayString
*result
;
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6571 result
= (wxArrayString
*) &_result_ref
;
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= wxArrayString2PyList_helper(*result
);
6586 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
;
6588 wxChar
*arg1
= (wxChar
*) 0 ;
6589 PyObject
* obj0
= 0 ;
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 wxLog::SetTimestamp((wxChar
const *)arg1
);
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 Py_INCREF(Py_None
); resultobj
= Py_None
;
6610 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)wxLog::GetVerbose();
6622 wxPyEndAllowThreads(__tstate
);
6623 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= PyInt_FromLong((long)result
);
6632 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6633 PyObject
*resultobj
;
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (wxTraceMask
)wxLog::GetTraceMask();
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= PyInt_FromLong((long)result
);
6654 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxChar
*arg1
= (wxChar
*) 0 ;
6658 PyObject
* obj0
= 0 ;
6660 (char *) "mask", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= PyInt_FromLong((long)result
);
6679 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (wxLogLevel
)wxLog::GetLogLevel();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= PyInt_FromLong((long)result
);
6701 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6711 result
= (wxChar
*)wxLog::GetTimestamp();
6713 wxPyEndAllowThreads(__tstate
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6723 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6724 PyObject
*resultobj
;
6730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6733 result
= Log_TimeStamp();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6742 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6751 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxLog
*arg1
= (wxLog
*) 0 ;
6754 PyObject
* obj0
= 0 ;
6756 (char *) "self", NULL
6759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 wxLog_Destroy(arg1
);
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 Py_INCREF(Py_None
); resultobj
= Py_None
;
6775 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6778 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6780 return Py_BuildValue((char *)"");
6782 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6783 PyObject
*resultobj
;
6784 wxLogStderr
*result
;
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6792 result
= (wxLogStderr
*)new wxLogStderr();
6794 wxPyEndAllowThreads(__tstate
);
6795 if (PyErr_Occurred()) SWIG_fail
;
6797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6804 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6807 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6809 return Py_BuildValue((char *)"");
6811 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6812 PyObject
*resultobj
;
6813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6814 wxLogTextCtrl
*result
;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "pTextCtrl", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6836 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6839 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6841 return Py_BuildValue((char *)"");
6843 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxLogGui
*)new wxLogGui();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6865 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6870 return Py_BuildValue((char *)"");
6872 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxFrame
*arg1
= (wxFrame
*) 0 ;
6875 wxString
*arg2
= 0 ;
6876 bool arg3
= (bool) TRUE
;
6877 bool arg4
= (bool) TRUE
;
6878 wxLogWindow
*result
;
6879 bool temp2
= false ;
6880 PyObject
* obj0
= 0 ;
6881 PyObject
* obj1
= 0 ;
6882 PyObject
* obj2
= 0 ;
6883 PyObject
* obj3
= 0 ;
6885 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6891 arg2
= wxString_in_helper(obj1
);
6892 if (arg2
== NULL
) SWIG_fail
;
6896 arg3
= PyInt_AsLong(obj2
) ? true : false;
6897 if (PyErr_Occurred()) SWIG_fail
;
6900 arg4
= PyInt_AsLong(obj3
) ? true : false;
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6925 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6926 PyObject
*resultobj
;
6927 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6928 bool arg2
= (bool) TRUE
;
6929 PyObject
* obj0
= 0 ;
6930 PyObject
* obj1
= 0 ;
6932 (char *) "self",(char *) "bShow", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6938 arg2
= PyInt_AsLong(obj1
) ? true : false;
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6948 Py_INCREF(Py_None
); resultobj
= Py_None
;
6955 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "self", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= wxPyMake_wxObject(result
);
6982 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6983 PyObject
*resultobj
;
6984 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6986 PyObject
* obj0
= 0 ;
6988 (char *) "self", NULL
6991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
6992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6995 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
6997 wxPyEndAllowThreads(__tstate
);
6998 if (PyErr_Occurred()) SWIG_fail
;
7000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7007 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7008 PyObject
*resultobj
;
7009 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7011 PyObject
* obj0
= 0 ;
7013 (char *) "self", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= PyInt_FromLong((long)result
);
7032 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7037 PyObject
* obj1
= 0 ;
7039 (char *) "self",(char *) "bDoPass", NULL
7042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7044 arg2
= PyInt_AsLong(obj1
) ? true : false;
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 (arg1
)->PassMessages(arg2
);
7050 wxPyEndAllowThreads(__tstate
);
7051 if (PyErr_Occurred()) SWIG_fail
;
7053 Py_INCREF(Py_None
); resultobj
= Py_None
;
7060 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7063 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7065 return Py_BuildValue((char *)"");
7067 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxLog
*arg1
= (wxLog
*) 0 ;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "logger", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7080 result
= (wxLogChain
*)new wxLogChain(arg1
);
7082 wxPyEndAllowThreads(__tstate
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7092 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7093 PyObject
*resultobj
;
7094 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7095 wxLog
*arg2
= (wxLog
*) 0 ;
7096 PyObject
* obj0
= 0 ;
7097 PyObject
* obj1
= 0 ;
7099 (char *) "self",(char *) "logger", NULL
7102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->SetLog(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 Py_INCREF(Py_None
); resultobj
= Py_None
;
7119 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7120 PyObject
*resultobj
;
7121 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7126 (char *) "self",(char *) "bDoPass", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7131 arg2
= PyInt_AsLong(obj1
) ? true : false;
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 (arg1
)->PassMessages(arg2
);
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 Py_INCREF(Py_None
); resultobj
= Py_None
;
7147 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7148 PyObject
*resultobj
;
7149 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7153 (char *) "self", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 result
= (bool)(arg1
)->IsPassingMessages();
7162 wxPyEndAllowThreads(__tstate
);
7163 if (PyErr_Occurred()) SWIG_fail
;
7165 resultobj
= PyInt_FromLong((long)result
);
7172 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7176 PyObject
* obj0
= 0 ;
7178 (char *) "self", NULL
7181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 result
= (wxLog
*)(arg1
)->GetOldLog();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7197 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7200 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7202 return Py_BuildValue((char *)"");
7204 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 unsigned long result
;
7211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (unsigned long)wxSysErrorCode();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= PyInt_FromLong((long)result
);
7226 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7227 PyObject
*resultobj
;
7228 unsigned long arg1
= (unsigned long) 0 ;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "nErrCode", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7237 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7238 if (PyErr_Occurred()) SWIG_fail
;
7241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7242 result
= wxSysErrorMsg(arg1
);
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7251 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7260 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7261 PyObject
*resultobj
;
7262 wxString
*arg1
= 0 ;
7263 bool temp1
= false ;
7264 PyObject
* obj0
= 0 ;
7266 (char *) "msg", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7271 arg1
= wxString_in_helper(obj0
);
7272 if (arg1
== NULL
) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 wxLogFatalError((wxString
const &)*arg1
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7297 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxString
*arg1
= 0 ;
7300 bool temp1
= false ;
7301 PyObject
* obj0
= 0 ;
7303 (char *) "msg", NULL
7306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7308 arg1
= wxString_in_helper(obj0
);
7309 if (arg1
== NULL
) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 wxLogError((wxString
const &)*arg1
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 Py_INCREF(Py_None
); resultobj
= Py_None
;
7334 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxString
*arg1
= 0 ;
7337 bool temp1
= false ;
7338 PyObject
* obj0
= 0 ;
7340 (char *) "msg", NULL
7343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7345 arg1
= wxString_in_helper(obj0
);
7346 if (arg1
== NULL
) SWIG_fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 wxLogWarning((wxString
const &)*arg1
);
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 Py_INCREF(Py_None
); resultobj
= Py_None
;
7371 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
;
7373 wxString
*arg1
= 0 ;
7374 bool temp1
= false ;
7375 PyObject
* obj0
= 0 ;
7377 (char *) "msg", NULL
7380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7382 arg1
= wxString_in_helper(obj0
);
7383 if (arg1
== NULL
) SWIG_fail
;
7387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7388 wxLogMessage((wxString
const &)*arg1
);
7390 wxPyEndAllowThreads(__tstate
);
7391 if (PyErr_Occurred()) SWIG_fail
;
7393 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxString
*arg1
= 0 ;
7411 bool temp1
= false ;
7412 PyObject
* obj0
= 0 ;
7414 (char *) "msg", NULL
7417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7419 arg1
= wxString_in_helper(obj0
);
7420 if (arg1
== NULL
) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 wxLogInfo((wxString
const &)*arg1
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7445 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7446 PyObject
*resultobj
;
7447 wxString
*arg1
= 0 ;
7448 bool temp1
= false ;
7449 PyObject
* obj0
= 0 ;
7451 (char *) "msg", NULL
7454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7456 arg1
= wxString_in_helper(obj0
);
7457 if (arg1
== NULL
) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 wxLogDebug((wxString
const &)*arg1
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 Py_INCREF(Py_None
); resultobj
= Py_None
;
7482 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7483 PyObject
*resultobj
;
7484 wxString
*arg1
= 0 ;
7485 bool temp1
= false ;
7486 PyObject
* obj0
= 0 ;
7488 (char *) "msg", NULL
7491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7493 arg1
= wxString_in_helper(obj0
);
7494 if (arg1
== NULL
) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 wxLogVerbose((wxString
const &)*arg1
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 Py_INCREF(Py_None
); resultobj
= Py_None
;
7519 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
;
7521 wxString
*arg1
= 0 ;
7522 bool temp1
= false ;
7523 PyObject
* obj0
= 0 ;
7525 (char *) "msg", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7530 arg1
= wxString_in_helper(obj0
);
7531 if (arg1
== NULL
) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 wxLogStatus((wxString
const &)*arg1
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7541 Py_INCREF(Py_None
); resultobj
= Py_None
;
7556 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxFrame
*arg1
= (wxFrame
*) 0 ;
7559 wxString
*arg2
= 0 ;
7560 bool temp2
= false ;
7561 PyObject
* obj0
= 0 ;
7562 PyObject
* obj1
= 0 ;
7564 (char *) "pFrame",(char *) "msg", NULL
7567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7570 arg2
= wxString_in_helper(obj1
);
7571 if (arg2
== NULL
) SWIG_fail
;
7575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7576 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7578 wxPyEndAllowThreads(__tstate
);
7579 if (PyErr_Occurred()) SWIG_fail
;
7581 Py_INCREF(Py_None
); resultobj
= Py_None
;
7596 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 wxString
*arg1
= 0 ;
7599 bool temp1
= false ;
7600 PyObject
* obj0
= 0 ;
7602 (char *) "msg", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7607 arg1
= wxString_in_helper(obj0
);
7608 if (arg1
== NULL
) SWIG_fail
;
7612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7613 wxLogSysError((wxString
const &)*arg1
);
7615 wxPyEndAllowThreads(__tstate
);
7616 if (PyErr_Occurred()) SWIG_fail
;
7618 Py_INCREF(Py_None
); resultobj
= Py_None
;
7633 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7634 PyObject
*resultobj
;
7635 wxString
*arg1
= 0 ;
7636 bool temp1
= false ;
7637 PyObject
* obj0
= 0 ;
7639 (char *) "msg", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogTrace",kwnames
,&obj0
)) goto fail
;
7644 arg1
= wxString_in_helper(obj0
);
7645 if (arg1
== NULL
) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxLogTrace((wxString
const &)*arg1
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 Py_INCREF(Py_None
); resultobj
= Py_None
;
7670 static PyObject
*_wrap_LogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7671 PyObject
*resultobj
;
7672 wxString
*arg1
= 0 ;
7673 wxString
*arg2
= 0 ;
7674 bool temp1
= false ;
7675 bool temp2
= false ;
7676 PyObject
* obj0
= 0 ;
7677 PyObject
* obj1
= 0 ;
7679 (char *) "mask",(char *) "msg", NULL
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogTraceMask",kwnames
,&obj0
,&obj1
)) goto fail
;
7684 arg1
= wxString_in_helper(obj0
);
7685 if (arg1
== NULL
) SWIG_fail
;
7689 arg2
= wxString_in_helper(obj1
);
7690 if (arg2
== NULL
) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7723 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 unsigned long arg1
;
7726 wxString
*arg2
= 0 ;
7727 bool temp2
= false ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7731 (char *) "level",(char *) "msg", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7735 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7738 arg2
= wxString_in_helper(obj1
);
7739 if (arg2
== NULL
) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxString
*arg1
= 0 ;
7767 wxString
*arg2
= 0 ;
7768 bool temp1
= false ;
7769 bool temp2
= false ;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "title",(char *) "text", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7778 arg1
= wxString_in_helper(obj0
);
7779 if (arg1
== NULL
) SWIG_fail
;
7783 arg2
= wxString_in_helper(obj1
);
7784 if (arg2
== NULL
) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (wxLogNull
*)new wxLogNull();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7839 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "self", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7868 return Py_BuildValue((char *)"");
7870 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxPyLog
*)new wxPyLog();
7882 wxPyEndAllowThreads(__tstate
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7892 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7895 PyObject
*arg2
= (PyObject
*) 0 ;
7896 PyObject
*arg3
= (PyObject
*) 0 ;
7897 PyObject
* obj0
= 0 ;
7898 PyObject
* obj1
= 0 ;
7899 PyObject
* obj2
= 0 ;
7901 (char *) "self",(char *) "self",(char *) "_class", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7910 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7912 wxPyEndAllowThreads(__tstate
);
7913 if (PyErr_Occurred()) SWIG_fail
;
7915 Py_INCREF(Py_None
); resultobj
= Py_None
;
7922 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
7924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7925 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
7927 return Py_BuildValue((char *)"");
7929 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7932 int arg2
= (int) wxSIGTERM
;
7935 (char *) "pid",(char *) "sig", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= PyInt_FromLong((long)result
);
7953 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7958 (char *) "pid", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (bool)wxPyProcess::Exists(arg1
);
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= PyInt_FromLong((long)result
);
7976 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7978 wxString
*arg1
= 0 ;
7979 int arg2
= (int) wxEXEC_ASYNC
;
7980 wxPyProcess
*result
;
7981 bool temp1
= false ;
7982 PyObject
* obj0
= 0 ;
7984 (char *) "cmd",(char *) "flags", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
7989 arg1
= wxString_in_helper(obj0
);
7990 if (arg1
== NULL
) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8015 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8016 PyObject
*resultobj
;
8017 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8018 int arg2
= (int) -1 ;
8019 wxPyProcess
*result
;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "parent",(char *) "id", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8033 wxPyEndAllowThreads(__tstate
);
8034 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8043 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8044 PyObject
*resultobj
;
8045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8046 PyObject
*arg2
= (PyObject
*) 0 ;
8047 PyObject
*arg3
= (PyObject
*) 0 ;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8050 PyObject
* obj2
= 0 ;
8052 (char *) "self",(char *) "self",(char *) "_class", NULL
8055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 Py_INCREF(Py_None
); resultobj
= Py_None
;
8073 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8078 PyObject
* obj0
= 0 ;
8080 (char *) "self",(char *) "pid",(char *) "status", NULL
8083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 (arg1
)->base_OnTerminate(arg2
,arg3
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 Py_INCREF(Py_None
); resultobj
= Py_None
;
8099 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8102 PyObject
* obj0
= 0 ;
8104 (char *) "self", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 Py_INCREF(Py_None
); resultobj
= Py_None
;
8123 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8124 PyObject
*resultobj
;
8125 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8127 PyObject
* obj0
= 0 ;
8129 (char *) "self", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8136 result
= (bool)(arg1
)->IsRedirected();
8138 wxPyEndAllowThreads(__tstate
);
8139 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= PyInt_FromLong((long)result
);
8148 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8149 PyObject
*resultobj
;
8150 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8151 PyObject
* obj0
= 0 ;
8153 (char *) "self", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 Py_INCREF(Py_None
); resultobj
= Py_None
;
8172 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8174 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8175 wxInputStream
*result
;
8176 PyObject
* obj0
= 0 ;
8178 (char *) "self", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8191 wxPyInputStream
* _ptr
= NULL
;
8194 _ptr
= new wxPyInputStream(result
);
8196 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
8204 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8207 wxInputStream
*result
;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8223 wxPyInputStream
* _ptr
= NULL
;
8226 _ptr
= new wxPyInputStream(result
);
8228 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
8236 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8237 PyObject
*resultobj
;
8238 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8239 wxOutputStream
*result
;
8240 PyObject
* obj0
= 0 ;
8242 (char *) "self", NULL
8245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8261 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8264 PyObject
* obj0
= 0 ;
8266 (char *) "self", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 (arg1
)->CloseOutput();
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 Py_INCREF(Py_None
); resultobj
= Py_None
;
8285 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8289 PyObject
* obj0
= 0 ;
8291 (char *) "self", NULL
8294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8298 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8300 wxPyEndAllowThreads(__tstate
);
8301 if (PyErr_Occurred()) SWIG_fail
;
8303 resultobj
= PyInt_FromLong((long)result
);
8310 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "self", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8328 resultobj
= PyInt_FromLong((long)result
);
8335 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8336 PyObject
*resultobj
;
8337 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8339 PyObject
* obj0
= 0 ;
8341 (char *) "self", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8353 resultobj
= PyInt_FromLong((long)result
);
8360 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8363 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8365 return Py_BuildValue((char *)"");
8367 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 int arg1
= (int) 0 ;
8370 int arg2
= (int) 0 ;
8371 int arg3
= (int) 0 ;
8372 wxProcessEvent
*result
;
8374 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8392 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8393 PyObject
*resultobj
;
8394 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8396 PyObject
* obj0
= 0 ;
8398 (char *) "self", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= (int)(arg1
)->GetPid();
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8410 resultobj
= PyInt_FromLong((long)result
);
8417 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8430 result
= (int)(arg1
)->GetExitCode();
8432 wxPyEndAllowThreads(__tstate
);
8433 if (PyErr_Occurred()) SWIG_fail
;
8435 resultobj
= PyInt_FromLong((long)result
);
8442 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8443 PyObject
*resultobj
;
8444 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8446 PyObject
* obj0
= 0 ;
8448 (char *) "self",(char *) "m_pid", NULL
8451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8453 if (arg1
) (arg1
)->m_pid
= arg2
;
8455 Py_INCREF(Py_None
); resultobj
= Py_None
;
8462 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8463 PyObject
*resultobj
;
8464 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8466 PyObject
* obj0
= 0 ;
8468 (char *) "self", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8473 result
= (int) ((arg1
)->m_pid
);
8475 resultobj
= PyInt_FromLong((long)result
);
8482 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8488 (char *) "self",(char *) "m_exitcode", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8493 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8495 Py_INCREF(Py_None
); resultobj
= Py_None
;
8502 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8503 PyObject
*resultobj
;
8504 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8513 result
= (int) ((arg1
)->m_exitcode
);
8515 resultobj
= PyInt_FromLong((long)result
);
8522 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8527 return Py_BuildValue((char *)"");
8529 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 wxString
*arg1
= 0 ;
8532 int arg2
= (int) wxEXEC_ASYNC
;
8533 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8535 bool temp1
= false ;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj2
= 0 ;
8539 (char *) "command",(char *) "flags",(char *) "process", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8544 arg1
= wxString_in_helper(obj0
);
8545 if (arg1
== NULL
) SWIG_fail
;
8549 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8553 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= PyInt_FromLong((long)result
);
8573 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
;
8575 int arg1
= (int) wxJOYSTICK1
;
8578 (char *) "joystick", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (wxJoystick
*)new wxJoystick(arg1
);
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8596 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8599 PyObject
* obj0
= 0 ;
8601 (char *) "self", NULL
8604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 Py_INCREF(Py_None
); resultobj
= Py_None
;
8620 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8621 PyObject
*resultobj
;
8622 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8624 PyObject
* obj0
= 0 ;
8626 (char *) "self", NULL
8629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 result
= (arg1
)->GetPosition();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 wxPoint
* resultptr
;
8640 resultptr
= new wxPoint((wxPoint
&) result
);
8641 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8649 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8653 PyObject
* obj0
= 0 ;
8655 (char *) "self", NULL
8658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (int)(arg1
)->GetZPosition();
8664 wxPyEndAllowThreads(__tstate
);
8665 if (PyErr_Occurred()) SWIG_fail
;
8667 resultobj
= PyInt_FromLong((long)result
);
8674 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
;
8676 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8678 PyObject
* obj0
= 0 ;
8680 (char *) "self", NULL
8683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8687 result
= (int)(arg1
)->GetButtonState();
8689 wxPyEndAllowThreads(__tstate
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8692 resultobj
= PyInt_FromLong((long)result
);
8699 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8705 (char *) "self", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= (int)(arg1
)->GetPOVPosition();
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= PyInt_FromLong((long)result
);
8724 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8730 (char *) "self", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (int)(arg1
)->GetPOVCTSPosition();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 resultobj
= PyInt_FromLong((long)result
);
8749 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8755 (char *) "self", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 result
= (int)(arg1
)->GetRudderPosition();
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8767 resultobj
= PyInt_FromLong((long)result
);
8774 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8780 (char *) "self", NULL
8783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 result
= (int)(arg1
)->GetUPosition();
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 resultobj
= PyInt_FromLong((long)result
);
8799 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8805 (char *) "self", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (int)(arg1
)->GetVPosition();
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8817 resultobj
= PyInt_FromLong((long)result
);
8824 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8830 (char *) "self", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8837 result
= (int)(arg1
)->GetMovementThreshold();
8839 wxPyEndAllowThreads(__tstate
);
8840 if (PyErr_Occurred()) SWIG_fail
;
8842 resultobj
= PyInt_FromLong((long)result
);
8849 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8850 PyObject
*resultobj
;
8851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8855 (char *) "self",(char *) "threshold", NULL
8858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->SetMovementThreshold(arg2
);
8864 wxPyEndAllowThreads(__tstate
);
8865 if (PyErr_Occurred()) SWIG_fail
;
8867 Py_INCREF(Py_None
); resultobj
= Py_None
;
8874 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8875 PyObject
*resultobj
;
8876 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8878 PyObject
* obj0
= 0 ;
8880 (char *) "self", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 result
= (bool)(arg1
)->IsOk();
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= PyInt_FromLong((long)result
);
8899 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8903 PyObject
* obj0
= 0 ;
8905 (char *) "self", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= (int)(arg1
)->GetNumberJoysticks();
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 resultobj
= PyInt_FromLong((long)result
);
8924 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 result
= (int)(arg1
)->GetManufacturerId();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 resultobj
= PyInt_FromLong((long)result
);
8949 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8953 PyObject
* obj0
= 0 ;
8955 (char *) "self", NULL
8958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
8959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8962 result
= (int)(arg1
)->GetProductId();
8964 wxPyEndAllowThreads(__tstate
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8967 resultobj
= PyInt_FromLong((long)result
);
8974 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
;
8976 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8978 PyObject
* obj0
= 0 ;
8980 (char *) "self", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 result
= (arg1
)->GetProductName();
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9005 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (int)(arg1
)->GetXMin();
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= PyInt_FromLong((long)result
);
9030 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (int)(arg1
)->GetYMin();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= PyInt_FromLong((long)result
);
9055 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)(arg1
)->GetZMin();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= PyInt_FromLong((long)result
);
9080 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (int)(arg1
)->GetXMax();
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= PyInt_FromLong((long)result
);
9105 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9109 PyObject
* obj0
= 0 ;
9111 (char *) "self", NULL
9114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9118 result
= (int)(arg1
)->GetYMax();
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= PyInt_FromLong((long)result
);
9130 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9131 PyObject
*resultobj
;
9132 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9134 PyObject
* obj0
= 0 ;
9136 (char *) "self", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9143 result
= (int)(arg1
)->GetZMax();
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= PyInt_FromLong((long)result
);
9155 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9159 PyObject
* obj0
= 0 ;
9161 (char *) "self", NULL
9164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9168 result
= (int)(arg1
)->GetNumberButtons();
9170 wxPyEndAllowThreads(__tstate
);
9171 if (PyErr_Occurred()) SWIG_fail
;
9173 resultobj
= PyInt_FromLong((long)result
);
9180 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9181 PyObject
*resultobj
;
9182 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9184 PyObject
* obj0
= 0 ;
9186 (char *) "self", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9193 result
= (int)(arg1
)->GetNumberAxes();
9195 wxPyEndAllowThreads(__tstate
);
9196 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= PyInt_FromLong((long)result
);
9205 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9209 PyObject
* obj0
= 0 ;
9211 (char *) "self", NULL
9214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (int)(arg1
)->GetMaxButtons();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= PyInt_FromLong((long)result
);
9230 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9231 PyObject
*resultobj
;
9232 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9234 PyObject
* obj0
= 0 ;
9236 (char *) "self", NULL
9239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9243 result
= (int)(arg1
)->GetMaxAxes();
9245 wxPyEndAllowThreads(__tstate
);
9246 if (PyErr_Occurred()) SWIG_fail
;
9248 resultobj
= PyInt_FromLong((long)result
);
9255 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9256 PyObject
*resultobj
;
9257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9261 (char *) "self", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9268 result
= (int)(arg1
)->GetPollingMin();
9270 wxPyEndAllowThreads(__tstate
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 resultobj
= PyInt_FromLong((long)result
);
9280 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9281 PyObject
*resultobj
;
9282 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9284 PyObject
* obj0
= 0 ;
9286 (char *) "self", NULL
9289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (int)(arg1
)->GetPollingMax();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9298 resultobj
= PyInt_FromLong((long)result
);
9305 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9309 PyObject
* obj0
= 0 ;
9311 (char *) "self", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (int)(arg1
)->GetRudderMin();
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= PyInt_FromLong((long)result
);
9330 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9334 PyObject
* obj0
= 0 ;
9336 (char *) "self", NULL
9339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 result
= (int)(arg1
)->GetRudderMax();
9345 wxPyEndAllowThreads(__tstate
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= PyInt_FromLong((long)result
);
9355 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9356 PyObject
*resultobj
;
9357 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "self", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= (int)(arg1
)->GetUMin();
9370 wxPyEndAllowThreads(__tstate
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9373 resultobj
= PyInt_FromLong((long)result
);
9380 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9384 PyObject
* obj0
= 0 ;
9386 (char *) "self", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= (int)(arg1
)->GetUMax();
9395 wxPyEndAllowThreads(__tstate
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9398 resultobj
= PyInt_FromLong((long)result
);
9405 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9406 PyObject
*resultobj
;
9407 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9409 PyObject
* obj0
= 0 ;
9411 (char *) "self", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (int)(arg1
)->GetVMin();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= PyInt_FromLong((long)result
);
9430 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
;
9432 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9443 result
= (int)(arg1
)->GetVMax();
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= PyInt_FromLong((long)result
);
9455 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
;
9457 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9468 result
= (bool)(arg1
)->HasRudder();
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= PyInt_FromLong((long)result
);
9480 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9481 PyObject
*resultobj
;
9482 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (bool)(arg1
)->HasZ();
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= PyInt_FromLong((long)result
);
9505 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9506 PyObject
*resultobj
;
9507 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9509 PyObject
* obj0
= 0 ;
9511 (char *) "self", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9518 result
= (bool)(arg1
)->HasU();
9520 wxPyEndAllowThreads(__tstate
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 resultobj
= PyInt_FromLong((long)result
);
9530 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9531 PyObject
*resultobj
;
9532 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9534 PyObject
* obj0
= 0 ;
9536 (char *) "self", NULL
9539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (bool)(arg1
)->HasV();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= PyInt_FromLong((long)result
);
9555 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9559 PyObject
* obj0
= 0 ;
9561 (char *) "self", NULL
9564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 result
= (bool)(arg1
)->HasPOV();
9570 wxPyEndAllowThreads(__tstate
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= PyInt_FromLong((long)result
);
9580 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
;
9582 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9584 PyObject
* obj0
= 0 ;
9586 (char *) "self", NULL
9589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9593 result
= (bool)(arg1
)->HasPOV4Dir();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= PyInt_FromLong((long)result
);
9605 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9609 PyObject
* obj0
= 0 ;
9611 (char *) "self", NULL
9614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (bool)(arg1
)->HasPOVCTS();
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= PyInt_FromLong((long)result
);
9630 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9631 PyObject
*resultobj
;
9632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9633 wxWindow
*arg2
= (wxWindow
*) 0 ;
9634 int arg3
= (int) 0 ;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9639 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9644 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= PyInt_FromLong((long)result
);
9659 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "self", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)(arg1
)->ReleaseCapture();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= PyInt_FromLong((long)result
);
9684 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9687 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9689 return Py_BuildValue((char *)"");
9691 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9692 PyObject
*resultobj
;
9693 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9694 wxPoint
*arg2
= (wxPoint
*) 0 ;
9695 PyObject
* obj0
= 0 ;
9696 PyObject
* obj1
= 0 ;
9698 (char *) "self",(char *) "m_pos", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9703 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 if (arg1
) (arg1
)->m_pos
= *arg2
;
9706 Py_INCREF(Py_None
); resultobj
= Py_None
;
9713 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9717 PyObject
* obj0
= 0 ;
9719 (char *) "self", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9724 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9733 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9734 PyObject
*resultobj
;
9735 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9737 PyObject
* obj0
= 0 ;
9739 (char *) "self",(char *) "m_zPosition", NULL
9742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9744 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9746 Py_INCREF(Py_None
); resultobj
= Py_None
;
9753 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
;
9755 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9764 result
= (int) ((arg1
)->m_zPosition
);
9766 resultobj
= PyInt_FromLong((long)result
);
9773 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9777 PyObject
* obj0
= 0 ;
9779 (char *) "self",(char *) "m_buttonChange", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9784 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9786 Py_INCREF(Py_None
); resultobj
= Py_None
;
9793 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9794 PyObject
*resultobj
;
9795 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9804 result
= (int) ((arg1
)->m_buttonChange
);
9806 resultobj
= PyInt_FromLong((long)result
);
9813 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9814 PyObject
*resultobj
;
9815 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9817 PyObject
* obj0
= 0 ;
9819 (char *) "self",(char *) "m_buttonState", NULL
9822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9824 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9826 Py_INCREF(Py_None
); resultobj
= Py_None
;
9833 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 result
= (int) ((arg1
)->m_buttonState
);
9846 resultobj
= PyInt_FromLong((long)result
);
9853 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self",(char *) "m_joyStick", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9864 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9866 Py_INCREF(Py_None
); resultobj
= Py_None
;
9873 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 result
= (int) ((arg1
)->m_joyStick
);
9886 resultobj
= PyInt_FromLong((long)result
);
9893 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9896 int arg2
= (int) 0 ;
9897 int arg3
= (int) wxJOYSTICK1
;
9898 int arg4
= (int) 0 ;
9899 wxJoystickEvent
*result
;
9901 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
9919 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9932 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 wxPoint
* resultptr
;
9939 resultptr
= new wxPoint((wxPoint
&) result
);
9940 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9948 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9952 PyObject
* obj0
= 0 ;
9954 (char *) "self", NULL
9957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
9958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9966 resultobj
= PyInt_FromLong((long)result
);
9973 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9986 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= PyInt_FromLong((long)result
);
9998 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
;
10000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10002 PyObject
* obj0
= 0 ;
10003 char *kwnames
[] = {
10004 (char *) "self", NULL
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= PyInt_FromLong((long)result
);
10023 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= PyInt_FromLong((long)result
);
10048 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self",(char *) "stick", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 (arg1
)->SetJoystick(arg2
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self",(char *) "state", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetButtonState(arg2
);
10088 wxPyEndAllowThreads(__tstate
);
10089 if (PyErr_Occurred()) SWIG_fail
;
10091 Py_INCREF(Py_None
); resultobj
= Py_None
;
10098 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10099 PyObject
*resultobj
;
10100 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10102 PyObject
* obj0
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "change", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 (arg1
)->SetButtonChange(arg2
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 Py_INCREF(Py_None
); resultobj
= Py_None
;
10123 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
;
10125 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10126 wxPoint
*arg2
= 0 ;
10128 PyObject
* obj0
= 0 ;
10129 PyObject
* obj1
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self",(char *) "pos", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10138 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 Py_INCREF(Py_None
); resultobj
= Py_None
;
10154 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "zPos", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->SetZPosition(arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= PyInt_FromLong((long)result
);
10204 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= PyInt_FromLong((long)result
);
10229 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= PyInt_FromLong((long)result
);
10254 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10257 int arg2
= (int) wxJOY_BUTTON_ANY
;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self",(char *) "but", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= PyInt_FromLong((long)result
);
10280 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10283 int arg2
= (int) wxJOY_BUTTON_ANY
;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self",(char *) "but", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= PyInt_FromLong((long)result
);
10306 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10309 int arg2
= (int) wxJOY_BUTTON_ANY
;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "but", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= PyInt_FromLong((long)result
);
10332 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10335 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10337 return Py_BuildValue((char *)"");
10339 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxString
*arg1
= 0 ;
10342 bool arg2
= (bool) FALSE
;
10344 bool temp1
= false ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "fileName",(char *) "isResource", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10353 arg1
= wxString_in_helper(obj0
);
10354 if (arg1
== NULL
) SWIG_fail
;
10358 arg2
= PyInt_AsLong(obj1
) ? true : false;
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10383 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10384 PyObject
*resultobj
;
10385 wxString
*arg1
= 0 ;
10387 bool temp1
= false ;
10388 PyObject
* obj0
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "data", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10395 arg1
= wxString_in_helper(obj0
);
10396 if (arg1
== NULL
) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10421 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxWave
*arg1
= (wxWave
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10438 Py_INCREF(Py_None
); resultobj
= Py_None
;
10445 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxWave
*arg1
= (wxWave
*) 0 ;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= PyInt_FromLong((long)result
);
10470 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxWave
*arg1
= (wxWave
*) 0 ;
10473 bool arg2
= (bool) TRUE
;
10474 bool arg3
= (bool) FALSE
;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 PyObject
* obj2
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self",(char *) "async",(char *) "looped", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10486 arg2
= PyInt_AsLong(obj1
) ? true : false;
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 arg3
= PyInt_AsLong(obj2
) ? true : false;
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 result
= (bool)((wxWave
const *)arg1
)->Play(arg2
,arg3
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= PyInt_FromLong((long)result
);
10507 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10510 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10512 return Py_BuildValue((char *)"");
10514 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10515 PyObject
*resultobj
;
10516 wxString
*arg1
= 0 ;
10517 wxString
*arg2
= 0 ;
10518 wxString
*arg3
= 0 ;
10519 wxString
*arg4
= 0 ;
10520 wxFileTypeInfo
*result
;
10521 bool temp1
= false ;
10522 bool temp2
= false ;
10523 bool temp3
= false ;
10524 bool temp4
= false ;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 PyObject
* obj3
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10535 arg1
= wxString_in_helper(obj0
);
10536 if (arg1
== NULL
) SWIG_fail
;
10540 arg2
= wxString_in_helper(obj1
);
10541 if (arg2
== NULL
) SWIG_fail
;
10545 arg3
= wxString_in_helper(obj2
);
10546 if (arg3
== NULL
) SWIG_fail
;
10550 arg4
= wxString_in_helper(obj3
);
10551 if (arg4
== NULL
) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10600 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxArrayString
*arg1
= 0 ;
10603 wxFileTypeInfo
*result
;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "sArray", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10611 if (! PySequence_Check(obj0
)) {
10612 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10615 arg1
= new wxArrayString
;
10616 int i
, len
=PySequence_Length(obj0
);
10617 for (i
=0; i
<len
; i
++) {
10618 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10620 PyObject
* str
= PyObject_Unicode(item
);
10622 PyObject
* str
= PyObject_Str(item
);
10624 arg1
->Add(Py2wxString(str
));
10630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10631 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10638 if (arg1
) delete arg1
;
10643 if (arg1
) delete arg1
;
10649 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxFileTypeInfo
*result
;
10652 char *kwnames
[] = {
10656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10671 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= PyInt_FromLong((long)result
);
10696 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10699 wxString
*arg2
= 0 ;
10700 int arg3
= (int) 0 ;
10701 bool temp2
= false ;
10702 PyObject
* obj0
= 0 ;
10703 PyObject
* obj1
= 0 ;
10704 char *kwnames
[] = {
10705 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10711 arg2
= wxString_in_helper(obj1
);
10712 if (arg2
== NULL
) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 Py_INCREF(Py_None
); resultobj
= Py_None
;
10737 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10738 PyObject
*resultobj
;
10739 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10740 wxString
*arg2
= 0 ;
10741 bool temp2
= false ;
10742 PyObject
* obj0
= 0 ;
10743 PyObject
* obj1
= 0 ;
10744 char *kwnames
[] = {
10745 (char *) "self",(char *) "shortDesc", NULL
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10751 arg2
= wxString_in_helper(obj1
);
10752 if (arg2
== NULL
) SWIG_fail
;
10756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10757 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10759 wxPyEndAllowThreads(__tstate
);
10760 if (PyErr_Occurred()) SWIG_fail
;
10762 Py_INCREF(Py_None
); resultobj
= Py_None
;
10777 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10792 result
= (wxString
*) &_result_ref
;
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10805 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10809 PyObject
* obj0
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10820 result
= (wxString
*) &_result_ref
;
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10833 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10837 PyObject
* obj0
= 0 ;
10838 char *kwnames
[] = {
10839 (char *) "self", NULL
10842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10847 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10848 result
= (wxString
*) &_result_ref
;
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10861 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10876 result
= (wxString
*) &_result_ref
;
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10889 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10893 PyObject
* obj0
= 0 ;
10894 char *kwnames
[] = {
10895 (char *) "self", NULL
10898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
10899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10903 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
10904 result
= (wxString
*) &_result_ref
;
10907 wxPyEndAllowThreads(__tstate
);
10908 if (PyErr_Occurred()) SWIG_fail
;
10910 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10917 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10920 wxArrayString
*result
;
10921 PyObject
* obj0
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
10932 result
= (wxArrayString
*) &_result_ref
;
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= wxArrayString2PyList_helper(*result
);
10947 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10948 PyObject
*resultobj
;
10949 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10951 PyObject
* obj0
= 0 ;
10952 char *kwnames
[] = {
10953 (char *) "self", NULL
10956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
10957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= PyInt_FromLong((long)result
);
10972 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
10987 result
= (wxString
*) &_result_ref
;
10990 wxPyEndAllowThreads(__tstate
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
11000 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11001 PyObject
*resultobj
;
11002 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11004 PyObject
* obj0
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= PyInt_FromLong((long)result
);
11025 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11028 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11030 return Py_BuildValue((char *)"");
11032 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxFileTypeInfo
*arg1
= 0 ;
11035 wxFileType
*result
;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "ftInfo", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11043 if (arg1
== NULL
) {
11044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11060 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxFileType
*arg1
= (wxFileType
*) 0 ;
11063 PyObject
* obj0
= 0 ;
11064 char *kwnames
[] = {
11065 (char *) "self", NULL
11068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 Py_INCREF(Py_None
); resultobj
= Py_None
;
11084 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxFileType
*arg1
= (wxFileType
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11097 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11099 wxPyEndAllowThreads(__tstate
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11102 resultobj
= result
;
11109 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11110 PyObject
*resultobj
;
11111 wxFileType
*arg1
= (wxFileType
*) 0 ;
11113 PyObject
* obj0
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
;
11134 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxFileType
*arg1
= (wxFileType
*) 0 ;
11138 PyObject
* obj0
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "self", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11147 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11149 wxPyEndAllowThreads(__tstate
);
11150 if (PyErr_Occurred()) SWIG_fail
;
11152 resultobj
= result
;
11159 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11160 PyObject
*resultobj
;
11161 wxFileType
*arg1
= (wxFileType
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11184 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11185 PyObject
*resultobj
;
11186 wxFileType
*arg1
= (wxFileType
*) 0 ;
11188 PyObject
* obj0
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11197 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= result
;
11209 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
;
11211 wxFileType
*arg1
= (wxFileType
*) 0 ;
11213 PyObject
* obj0
= 0 ;
11214 char *kwnames
[] = {
11215 (char *) "self", NULL
11218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
;
11234 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11235 PyObject
*resultobj
;
11236 wxFileType
*arg1
= (wxFileType
*) 0 ;
11237 wxString
*arg2
= 0 ;
11238 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11239 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11241 bool temp2
= false ;
11242 bool temp3
= false ;
11243 PyObject
* obj0
= 0 ;
11244 PyObject
* obj1
= 0 ;
11245 PyObject
* obj2
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11253 arg2
= wxString_in_helper(obj1
);
11254 if (arg2
== NULL
) SWIG_fail
;
11259 arg3
= wxString_in_helper(obj2
);
11260 if (arg3
== NULL
) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
;
11294 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11295 PyObject
*resultobj
;
11296 wxFileType
*arg1
= (wxFileType
*) 0 ;
11297 wxString
*arg2
= 0 ;
11298 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11299 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11301 bool temp2
= false ;
11302 bool temp3
= false ;
11303 PyObject
* obj0
= 0 ;
11304 PyObject
* obj1
= 0 ;
11305 PyObject
* obj2
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11313 arg2
= wxString_in_helper(obj1
);
11314 if (arg2
== NULL
) SWIG_fail
;
11319 arg3
= wxString_in_helper(obj2
);
11320 if (arg3
== NULL
) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
;
11354 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11355 PyObject
*resultobj
;
11356 wxFileType
*arg1
= (wxFileType
*) 0 ;
11357 wxString
*arg2
= 0 ;
11358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11361 bool temp2
= false ;
11362 bool temp3
= false ;
11363 PyObject
* obj0
= 0 ;
11364 PyObject
* obj1
= 0 ;
11365 PyObject
* obj2
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 arg2
= wxString_in_helper(obj1
);
11374 if (arg2
== NULL
) SWIG_fail
;
11379 arg3
= wxString_in_helper(obj2
);
11380 if (arg3
== NULL
) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= result
;
11414 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxFileType
*arg1
= (wxFileType
*) 0 ;
11417 wxString
*arg2
= 0 ;
11418 wxString
*arg3
= 0 ;
11419 bool arg4
= (bool) TRUE
;
11421 bool temp2
= false ;
11422 bool temp3
= false ;
11423 PyObject
* obj0
= 0 ;
11424 PyObject
* obj1
= 0 ;
11425 PyObject
* obj2
= 0 ;
11426 PyObject
* obj3
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11434 arg2
= wxString_in_helper(obj1
);
11435 if (arg2
== NULL
) SWIG_fail
;
11439 arg3
= wxString_in_helper(obj2
);
11440 if (arg3
== NULL
) SWIG_fail
;
11444 arg4
= PyInt_AsLong(obj3
) ? true : false;
11445 if (PyErr_Occurred()) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= PyInt_FromLong((long)result
);
11477 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxFileType
*arg1
= (wxFileType
*) 0 ;
11480 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11481 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11482 int arg3
= (int) 0 ;
11484 bool temp2
= false ;
11485 PyObject
* obj0
= 0 ;
11486 PyObject
* obj1
= 0 ;
11487 char *kwnames
[] = {
11488 (char *) "self",(char *) "cmd",(char *) "index", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11495 arg2
= wxString_in_helper(obj1
);
11496 if (arg2
== NULL
) SWIG_fail
;
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11504 wxPyEndAllowThreads(__tstate
);
11505 if (PyErr_Occurred()) SWIG_fail
;
11507 resultobj
= PyInt_FromLong((long)result
);
11522 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxFileType
*arg1
= (wxFileType
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (bool)(arg1
)->Unassociate();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= PyInt_FromLong((long)result
);
11547 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxString
*arg1
= 0 ;
11550 wxString
*arg2
= 0 ;
11551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11554 bool temp1
= false ;
11555 bool temp2
= false ;
11556 bool temp3
= false ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11566 arg1
= wxString_in_helper(obj0
);
11567 if (arg1
== NULL
) SWIG_fail
;
11571 arg2
= wxString_in_helper(obj1
);
11572 if (arg2
== NULL
) SWIG_fail
;
11577 arg3
= wxString_in_helper(obj2
);
11578 if (arg3
== NULL
) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11626 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11629 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11631 return Py_BuildValue((char *)"");
11633 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11634 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11639 static PyObject
*_wrap_TheMimeTypesManager_get() {
11642 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11647 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11648 PyObject
*resultobj
;
11649 wxString
*arg1
= 0 ;
11650 wxString
*arg2
= 0 ;
11652 bool temp1
= false ;
11653 bool temp2
= false ;
11654 PyObject
* obj0
= 0 ;
11655 PyObject
* obj1
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "mimeType",(char *) "wildcard", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11662 arg1
= wxString_in_helper(obj0
);
11663 if (arg1
== NULL
) SWIG_fail
;
11667 arg2
= wxString_in_helper(obj1
);
11668 if (arg2
== NULL
) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= PyInt_FromLong((long)result
);
11701 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11702 PyObject
*resultobj
;
11703 wxMimeTypesManager
*result
;
11704 char *kwnames
[] = {
11708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11723 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11726 int arg2
= (int) wxMAILCAP_ALL
;
11727 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11728 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11729 bool temp3
= false ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj2
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11740 arg3
= wxString_in_helper(obj2
);
11741 if (arg3
== NULL
) SWIG_fail
;
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 Py_INCREF(Py_None
); resultobj
= Py_None
;
11767 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11770 PyObject
* obj0
= 0 ;
11771 char *kwnames
[] = {
11772 (char *) "self", NULL
11775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->ClearData();
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11791 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11794 wxString
*arg2
= 0 ;
11795 wxFileType
*result
;
11796 bool temp2
= false ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "ext", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11806 arg2
= wxString_in_helper(obj1
);
11807 if (arg2
== NULL
) SWIG_fail
;
11811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11812 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11832 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11833 PyObject
*resultobj
;
11834 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11835 wxString
*arg2
= 0 ;
11836 wxFileType
*result
;
11837 bool temp2
= false ;
11838 PyObject
* obj0
= 0 ;
11839 PyObject
* obj1
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self",(char *) "mimeType", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 arg2
= wxString_in_helper(obj1
);
11848 if (arg2
== NULL
) SWIG_fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11873 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11876 wxString
*arg2
= 0 ;
11877 bool arg3
= (bool) FALSE
;
11879 bool temp2
= false ;
11880 PyObject
* obj0
= 0 ;
11881 PyObject
* obj1
= 0 ;
11882 PyObject
* obj2
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11890 arg2
= wxString_in_helper(obj1
);
11891 if (arg2
== NULL
) SWIG_fail
;
11895 arg3
= PyInt_AsLong(obj2
) ? true : false;
11896 if (PyErr_Occurred()) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyInt_FromLong((long)result
);
11920 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11923 wxString
*arg2
= 0 ;
11925 bool temp2
= false ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "filename", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11935 arg2
= wxString_in_helper(obj1
);
11936 if (arg2
== NULL
) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= PyInt_FromLong((long)result
);
11961 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11962 PyObject
*resultobj
;
11963 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11965 PyObject
* obj0
= 0 ;
11966 char *kwnames
[] = {
11967 (char *) "self", NULL
11970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
11971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11974 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= result
;
11986 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11989 wxFileTypeInfo
*arg2
= 0 ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self",(char *) "ft", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
11997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11999 if (arg2
== NULL
) {
12000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 Py_INCREF(Py_None
); resultobj
= Py_None
;
12016 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12019 wxFileTypeInfo
*arg2
= 0 ;
12020 wxFileType
*result
;
12021 PyObject
* obj0
= 0 ;
12022 PyObject
* obj1
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "ftInfo", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12030 if (arg2
== NULL
) {
12031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12037 wxPyEndAllowThreads(__tstate
);
12038 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12047 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12048 PyObject
*resultobj
;
12049 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12050 wxFileType
*arg2
= (wxFileType
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 PyObject
* obj1
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "self",(char *) "ft", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12063 result
= (bool)(arg1
)->Unassociate(arg2
);
12065 wxPyEndAllowThreads(__tstate
);
12066 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= PyInt_FromLong((long)result
);
12075 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12076 PyObject
*resultobj
;
12077 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 char *kwnames
[] = {
12080 (char *) "self", NULL
12083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 Py_INCREF(Py_None
); resultobj
= Py_None
;
12099 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12102 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12104 return Py_BuildValue((char *)"");
12106 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12107 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12112 static PyObject
*_wrap_ART_TOOLBAR_get() {
12117 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12119 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12126 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12127 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12132 static PyObject
*_wrap_ART_MENU_get() {
12137 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12139 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12146 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12147 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12152 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12157 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12159 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12166 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12167 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12172 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12177 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12179 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12186 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12187 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12192 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12197 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12199 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12206 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12207 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12212 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12217 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12219 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12226 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12227 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12232 static PyObject
*_wrap_ART_OTHER_get() {
12237 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12239 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12246 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12247 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12252 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12257 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12259 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12266 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12267 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12272 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12277 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12279 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12286 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12287 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12292 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12297 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12299 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12306 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12307 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12312 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12317 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12319 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12326 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12327 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12332 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12337 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12339 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12346 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12347 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12352 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12357 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12359 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12366 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12367 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12372 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12377 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12379 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12386 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12387 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12392 static PyObject
*_wrap_ART_GO_BACK_get() {
12397 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12399 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12406 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12407 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12412 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12417 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12419 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12426 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12427 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12432 static PyObject
*_wrap_ART_GO_UP_get() {
12437 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12439 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12446 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12447 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12452 static PyObject
*_wrap_ART_GO_DOWN_get() {
12457 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12459 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12466 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12467 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12472 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12477 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12479 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12486 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12487 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12492 static PyObject
*_wrap_ART_GO_HOME_get() {
12497 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12499 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12506 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12507 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12512 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12517 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12519 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12526 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12527 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12532 static PyObject
*_wrap_ART_PRINT_get() {
12537 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12539 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12546 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12547 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12552 static PyObject
*_wrap_ART_HELP_get() {
12557 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12559 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12566 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12567 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12572 static PyObject
*_wrap_ART_TIP_get() {
12577 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12579 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12586 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12587 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12592 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12597 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12599 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12606 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12607 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12612 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12617 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12619 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12626 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12627 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12632 static PyObject
*_wrap_ART_NEW_DIR_get() {
12637 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12639 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12646 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12647 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12652 static PyObject
*_wrap_ART_FOLDER_get() {
12657 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12659 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12666 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12667 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12672 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12677 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12679 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12686 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12687 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12692 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12697 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12699 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12706 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12707 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12712 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12717 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12719 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12726 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12727 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12732 static PyObject
*_wrap_ART_TICK_MARK_get() {
12737 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12739 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12746 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12747 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12752 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12757 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12759 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12766 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12767 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12772 static PyObject
*_wrap_ART_ERROR_get() {
12777 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12779 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12786 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12787 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12792 static PyObject
*_wrap_ART_QUESTION_get() {
12797 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12799 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12806 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12807 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12812 static PyObject
*_wrap_ART_WARNING_get() {
12817 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12819 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12826 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12827 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12832 static PyObject
*_wrap_ART_INFORMATION_get() {
12837 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12839 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12846 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12847 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12852 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12857 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12859 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12866 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxPyArtProvider
*result
;
12869 char *kwnames
[] = {
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (wxPyArtProvider
*)new wxPyArtProvider();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
12888 static PyObject
*_wrap_delete_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12891 PyObject
* obj0
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 Py_INCREF(Py_None
); resultobj
= Py_None
;
12912 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12915 PyObject
*arg2
= (PyObject
*) 0 ;
12916 PyObject
*arg3
= (PyObject
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 PyObject
* obj2
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self",(char *) "self",(char *) "_class", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12930 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 Py_INCREF(Py_None
); resultobj
= Py_None
;
12942 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "provider", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12954 wxPyArtProvider::PushProvider(arg1
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 Py_INCREF(Py_None
); resultobj
= Py_None
;
12966 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12967 PyObject
*resultobj
;
12969 char *kwnames
[] = {
12973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (bool)wxPyArtProvider::PopProvider();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= PyInt_FromLong((long)result
);
12988 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
;
12990 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12992 PyObject
* obj0
= 0 ;
12993 char *kwnames
[] = {
12994 (char *) "provider", NULL
12997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
12998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= PyInt_FromLong((long)result
);
13013 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxString
*arg1
= 0 ;
13016 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13017 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13018 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13019 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13021 bool temp1
= false ;
13022 bool temp2
= false ;
13024 PyObject
* obj0
= 0 ;
13025 PyObject
* obj1
= 0 ;
13026 PyObject
* obj2
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "id",(char *) "client",(char *) "size", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13033 arg1
= wxString_in_helper(obj0
);
13034 if (arg1
== NULL
) SWIG_fail
;
13039 arg2
= wxString_in_helper(obj1
);
13040 if (arg2
== NULL
) SWIG_fail
;
13047 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13058 wxBitmap
* resultptr
;
13059 resultptr
= new wxBitmap((wxBitmap
&) result
);
13060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13084 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxString
*arg1
= 0 ;
13087 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13088 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13089 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13090 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13092 bool temp1
= false ;
13093 bool temp2
= false ;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 PyObject
* obj2
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "id",(char *) "client",(char *) "size", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13104 arg1
= wxString_in_helper(obj0
);
13105 if (arg1
== NULL
) SWIG_fail
;
13110 arg2
= wxString_in_helper(obj1
);
13111 if (arg2
== NULL
) SWIG_fail
;
13118 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13123 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13125 wxPyEndAllowThreads(__tstate
);
13126 if (PyErr_Occurred()) SWIG_fail
;
13129 wxIcon
* resultptr
;
13130 resultptr
= new wxIcon((wxIcon
&) result
);
13131 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13155 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13158 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13160 return Py_BuildValue((char *)"");
13162 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13163 PyObject
*resultobj
;
13164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13165 PyObject
* obj0
= 0 ;
13166 char *kwnames
[] = {
13167 (char *) "self", NULL
13170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13176 wxPyEndAllowThreads(__tstate
);
13177 if (PyErr_Occurred()) SWIG_fail
;
13179 Py_INCREF(Py_None
); resultobj
= Py_None
;
13186 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13187 PyObject
*resultobj
;
13188 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13189 wxConfigBase
*result
;
13190 PyObject
* obj0
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "pConfig", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13211 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 bool arg1
= (bool) TRUE
;
13214 wxConfigBase
*result
;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "createOnDemand", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13222 arg1
= PyInt_AsLong(obj0
) ? true : false;
13223 if (PyErr_Occurred()) SWIG_fail
;
13226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13227 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13239 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13240 PyObject
*resultobj
;
13241 wxConfigBase
*result
;
13242 char *kwnames
[] = {
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13249 result
= (wxConfigBase
*)wxConfigBase::Create();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13261 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13262 PyObject
*resultobj
;
13263 char *kwnames
[] = {
13267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13270 wxConfigBase::DontCreateOnDemand();
13272 wxPyEndAllowThreads(__tstate
);
13273 if (PyErr_Occurred()) SWIG_fail
;
13275 Py_INCREF(Py_None
); resultobj
= Py_None
;
13282 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13285 wxString
*arg2
= 0 ;
13286 bool temp2
= false ;
13287 PyObject
* obj0
= 0 ;
13288 PyObject
* obj1
= 0 ;
13289 char *kwnames
[] = {
13290 (char *) "self",(char *) "strPath", NULL
13293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13296 arg2
= wxString_in_helper(obj1
);
13297 if (arg2
== NULL
) SWIG_fail
;
13301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13302 (arg1
)->SetPath((wxString
const &)*arg2
);
13304 wxPyEndAllowThreads(__tstate
);
13305 if (PyErr_Occurred()) SWIG_fail
;
13307 Py_INCREF(Py_None
); resultobj
= Py_None
;
13322 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13337 result
= (wxString
*) &_result_ref
;
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
13350 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13354 PyObject
* obj0
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= result
;
13375 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13380 PyObject
* obj0
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self",(char *) "index", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= result
;
13401 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 char *kwnames
[] = {
13407 (char *) "self", NULL
13410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= result
;
13426 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13427 PyObject
*resultobj
;
13428 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13431 PyObject
* obj0
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "index", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= result
;
13452 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13455 bool arg2
= (bool) FALSE
;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "bRecursive", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13466 arg2
= PyInt_AsLong(obj1
) ? true : false;
13467 if (PyErr_Occurred()) SWIG_fail
;
13470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13471 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13473 wxPyEndAllowThreads(__tstate
);
13474 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= PyInt_FromLong((long)result
);
13483 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13484 PyObject
*resultobj
;
13485 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13486 bool arg2
= (bool) FALSE
;
13488 PyObject
* obj0
= 0 ;
13489 PyObject
* obj1
= 0 ;
13490 char *kwnames
[] = {
13491 (char *) "self",(char *) "bRecursive", NULL
13494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13497 arg2
= PyInt_AsLong(obj1
) ? true : false;
13498 if (PyErr_Occurred()) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= PyInt_FromLong((long)result
);
13514 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13517 wxString
*arg2
= 0 ;
13519 bool temp2
= false ;
13520 PyObject
* obj0
= 0 ;
13521 PyObject
* obj1
= 0 ;
13522 char *kwnames
[] = {
13523 (char *) "self",(char *) "strName", NULL
13526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13529 arg2
= wxString_in_helper(obj1
);
13530 if (arg2
== NULL
) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= PyInt_FromLong((long)result
);
13555 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13558 wxString
*arg2
= 0 ;
13560 bool temp2
= false ;
13561 PyObject
* obj0
= 0 ;
13562 PyObject
* obj1
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self",(char *) "strName", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13570 arg2
= wxString_in_helper(obj1
);
13571 if (arg2
== NULL
) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= PyInt_FromLong((long)result
);
13596 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13599 wxString
*arg2
= 0 ;
13601 bool temp2
= false ;
13602 PyObject
* obj0
= 0 ;
13603 PyObject
* obj1
= 0 ;
13604 char *kwnames
[] = {
13605 (char *) "self",(char *) "strName", NULL
13608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13611 arg2
= wxString_in_helper(obj1
);
13612 if (arg2
== NULL
) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= PyInt_FromLong((long)result
);
13637 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13638 PyObject
*resultobj
;
13639 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13640 wxString
*arg2
= 0 ;
13642 bool temp2
= false ;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "name", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13652 arg2
= wxString_in_helper(obj1
);
13653 if (arg2
== NULL
) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 resultobj
= PyInt_FromLong((long)result
);
13678 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13681 wxString
*arg2
= 0 ;
13682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13685 bool temp2
= false ;
13686 bool temp3
= false ;
13687 PyObject
* obj0
= 0 ;
13688 PyObject
* obj1
= 0 ;
13689 PyObject
* obj2
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13697 arg2
= wxString_in_helper(obj1
);
13698 if (arg2
== NULL
) SWIG_fail
;
13703 arg3
= wxString_in_helper(obj2
);
13704 if (arg3
== NULL
) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13744 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13747 wxString
*arg2
= 0 ;
13748 long arg3
= (long) 0 ;
13750 bool temp2
= false ;
13751 PyObject
* obj0
= 0 ;
13752 PyObject
* obj1
= 0 ;
13753 char *kwnames
[] = {
13754 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13760 arg2
= wxString_in_helper(obj1
);
13761 if (arg2
== NULL
) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= PyInt_FromLong((long)result
);
13786 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13787 PyObject
*resultobj
;
13788 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13789 wxString
*arg2
= 0 ;
13790 double arg3
= (double) 0.0 ;
13792 bool temp2
= false ;
13793 PyObject
* obj0
= 0 ;
13794 PyObject
* obj1
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13802 arg2
= wxString_in_helper(obj1
);
13803 if (arg2
== NULL
) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= PyFloat_FromDouble(result
);
13828 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
;
13830 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13831 wxString
*arg2
= 0 ;
13832 bool arg3
= (bool) FALSE
;
13834 bool temp2
= false ;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 arg2
= wxString_in_helper(obj1
);
13846 if (arg2
== NULL
) SWIG_fail
;
13850 arg3
= PyInt_AsLong(obj2
) ? true : false;
13851 if (PyErr_Occurred()) SWIG_fail
;
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
13857 wxPyEndAllowThreads(__tstate
);
13858 if (PyErr_Occurred()) SWIG_fail
;
13860 resultobj
= PyInt_FromLong((long)result
);
13875 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13876 PyObject
*resultobj
;
13877 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13878 wxString
*arg2
= 0 ;
13879 wxString
*arg3
= 0 ;
13881 bool temp2
= false ;
13882 bool temp3
= false ;
13883 PyObject
* obj0
= 0 ;
13884 PyObject
* obj1
= 0 ;
13885 PyObject
* obj2
= 0 ;
13886 char *kwnames
[] = {
13887 (char *) "self",(char *) "key",(char *) "value", NULL
13890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13893 arg2
= wxString_in_helper(obj1
);
13894 if (arg2
== NULL
) SWIG_fail
;
13898 arg3
= wxString_in_helper(obj2
);
13899 if (arg3
== NULL
) SWIG_fail
;
13903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13904 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13906 wxPyEndAllowThreads(__tstate
);
13907 if (PyErr_Occurred()) SWIG_fail
;
13909 resultobj
= PyInt_FromLong((long)result
);
13932 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13935 wxString
*arg2
= 0 ;
13938 bool temp2
= false ;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "key",(char *) "value", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13948 arg2
= wxString_in_helper(obj1
);
13949 if (arg2
== NULL
) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= PyInt_FromLong((long)result
);
13974 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13977 wxString
*arg2
= 0 ;
13980 bool temp2
= false ;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self",(char *) "key",(char *) "value", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13990 arg2
= wxString_in_helper(obj1
);
13991 if (arg2
== NULL
) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= PyInt_FromLong((long)result
);
14016 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14019 wxString
*arg2
= 0 ;
14022 bool temp2
= false ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 char *kwnames
[] = {
14027 (char *) "self",(char *) "key",(char *) "value", NULL
14030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14033 arg2
= wxString_in_helper(obj1
);
14034 if (arg2
== NULL
) SWIG_fail
;
14037 arg3
= PyInt_AsLong(obj2
) ? true : false;
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14041 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14043 wxPyEndAllowThreads(__tstate
);
14044 if (PyErr_Occurred()) SWIG_fail
;
14046 resultobj
= PyInt_FromLong((long)result
);
14061 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14064 bool arg2
= (bool) FALSE
;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self",(char *) "bCurrentOnly", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14075 arg2
= PyInt_AsLong(obj1
) ? true : false;
14076 if (PyErr_Occurred()) SWIG_fail
;
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (bool)(arg1
)->Flush(arg2
);
14082 wxPyEndAllowThreads(__tstate
);
14083 if (PyErr_Occurred()) SWIG_fail
;
14085 resultobj
= PyInt_FromLong((long)result
);
14092 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14095 wxString
*arg2
= 0 ;
14096 wxString
*arg3
= 0 ;
14098 bool temp2
= false ;
14099 bool temp3
= false ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 PyObject
* obj2
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14110 arg2
= wxString_in_helper(obj1
);
14111 if (arg2
== NULL
) SWIG_fail
;
14115 arg3
= wxString_in_helper(obj2
);
14116 if (arg3
== NULL
) SWIG_fail
;
14120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14121 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14123 wxPyEndAllowThreads(__tstate
);
14124 if (PyErr_Occurred()) SWIG_fail
;
14126 resultobj
= PyInt_FromLong((long)result
);
14149 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14152 wxString
*arg2
= 0 ;
14153 wxString
*arg3
= 0 ;
14155 bool temp2
= false ;
14156 bool temp3
= false ;
14157 PyObject
* obj0
= 0 ;
14158 PyObject
* obj1
= 0 ;
14159 PyObject
* obj2
= 0 ;
14160 char *kwnames
[] = {
14161 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14167 arg2
= wxString_in_helper(obj1
);
14168 if (arg2
== NULL
) SWIG_fail
;
14172 arg3
= wxString_in_helper(obj2
);
14173 if (arg3
== NULL
) SWIG_fail
;
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14180 wxPyEndAllowThreads(__tstate
);
14181 if (PyErr_Occurred()) SWIG_fail
;
14183 resultobj
= PyInt_FromLong((long)result
);
14206 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14209 wxString
*arg2
= 0 ;
14210 bool arg3
= (bool) TRUE
;
14212 bool temp2
= false ;
14213 PyObject
* obj0
= 0 ;
14214 PyObject
* obj1
= 0 ;
14215 PyObject
* obj2
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14223 arg2
= wxString_in_helper(obj1
);
14224 if (arg2
== NULL
) SWIG_fail
;
14228 arg3
= PyInt_AsLong(obj2
) ? true : false;
14229 if (PyErr_Occurred()) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= PyInt_FromLong((long)result
);
14253 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14254 PyObject
*resultobj
;
14255 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14256 wxString
*arg2
= 0 ;
14258 bool temp2
= false ;
14259 PyObject
* obj0
= 0 ;
14260 PyObject
* obj1
= 0 ;
14261 char *kwnames
[] = {
14262 (char *) "self",(char *) "key", NULL
14265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14268 arg2
= wxString_in_helper(obj1
);
14269 if (arg2
== NULL
) SWIG_fail
;
14273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14274 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= PyInt_FromLong((long)result
);
14294 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
;
14296 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14298 PyObject
* obj0
= 0 ;
14299 char *kwnames
[] = {
14300 (char *) "self", NULL
14303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)(arg1
)->DeleteAll();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= PyInt_FromLong((long)result
);
14319 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14332 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14334 wxPyEndAllowThreads(__tstate
);
14335 if (PyErr_Occurred()) SWIG_fail
;
14337 resultobj
= PyInt_FromLong((long)result
);
14344 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14345 PyObject
*resultobj
;
14346 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14347 bool arg2
= (bool) TRUE
;
14348 PyObject
* obj0
= 0 ;
14349 PyObject
* obj1
= 0 ;
14350 char *kwnames
[] = {
14351 (char *) "self",(char *) "bDoIt", NULL
14354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14357 arg2
= PyInt_AsLong(obj1
) ? true : false;
14358 if (PyErr_Occurred()) SWIG_fail
;
14361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14362 (arg1
)->SetExpandEnvVars(arg2
);
14364 wxPyEndAllowThreads(__tstate
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 Py_INCREF(Py_None
); resultobj
= Py_None
;
14374 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14375 PyObject
*resultobj
;
14376 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14377 bool arg2
= (bool) TRUE
;
14378 PyObject
* obj0
= 0 ;
14379 PyObject
* obj1
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self",(char *) "bDoIt", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14387 arg2
= PyInt_AsLong(obj1
) ? true : false;
14388 if (PyErr_Occurred()) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->SetRecordDefaults(arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= PyInt_FromLong((long)result
);
14429 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14432 wxString
*arg2
= 0 ;
14434 bool temp2
= false ;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self",(char *) "str", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14444 arg2
= wxString_in_helper(obj1
);
14445 if (arg2
== NULL
) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14476 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14477 PyObject
*resultobj
;
14478 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14480 PyObject
* obj0
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14489 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14507 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14520 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14522 wxPyEndAllowThreads(__tstate
);
14523 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14538 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14541 wxString
*arg2
= 0 ;
14542 bool temp2
= false ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "appName", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14552 arg2
= wxString_in_helper(obj1
);
14553 if (arg2
== NULL
) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 (arg1
)->SetAppName((wxString
const &)*arg2
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 Py_INCREF(Py_None
); resultobj
= Py_None
;
14578 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14579 PyObject
*resultobj
;
14580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14581 wxString
*arg2
= 0 ;
14582 bool temp2
= false ;
14583 PyObject
* obj0
= 0 ;
14584 PyObject
* obj1
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self",(char *) "vendorName", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14592 arg2
= wxString_in_helper(obj1
);
14593 if (arg2
== NULL
) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14603 Py_INCREF(Py_None
); resultobj
= Py_None
;
14618 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14619 PyObject
*resultobj
;
14620 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14622 PyObject
* obj0
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "style", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 (arg1
)->SetStyle(arg2
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14656 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14658 wxPyEndAllowThreads(__tstate
);
14659 if (PyErr_Occurred()) SWIG_fail
;
14661 resultobj
= PyInt_FromLong((long)result
);
14668 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14671 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14673 return Py_BuildValue((char *)"");
14675 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14676 PyObject
*resultobj
;
14677 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14678 wxString
*arg2
= 0 ;
14679 wxConfigPathChanger
*result
;
14680 bool temp2
= false ;
14681 PyObject
* obj0
= 0 ;
14682 PyObject
* obj1
= 0 ;
14683 char *kwnames
[] = {
14684 (char *) "pContainer",(char *) "strEntry", NULL
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14690 arg2
= wxString_in_helper(obj1
);
14691 if (arg2
== NULL
) SWIG_fail
;
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14698 wxPyEndAllowThreads(__tstate
);
14699 if (PyErr_Occurred()) SWIG_fail
;
14701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14716 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14717 PyObject
*resultobj
;
14718 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 char *kwnames
[] = {
14721 (char *) "self", NULL
14724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14730 wxPyEndAllowThreads(__tstate
);
14731 if (PyErr_Occurred()) SWIG_fail
;
14733 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14744 PyObject
* obj0
= 0 ;
14745 char *kwnames
[] = {
14746 (char *) "self", NULL
14749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14755 result
= (wxString
*) &_result_ref
;
14758 wxPyEndAllowThreads(__tstate
);
14759 if (PyErr_Occurred()) SWIG_fail
;
14761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14768 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14771 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14773 return Py_BuildValue((char *)"");
14775 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14776 PyObject
*resultobj
;
14777 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14778 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14779 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14780 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14781 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14782 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14783 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14784 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14785 long arg5
= (long) 0 ;
14787 bool temp1
= false ;
14788 bool temp2
= false ;
14789 bool temp3
= false ;
14790 bool temp4
= false ;
14791 PyObject
* obj0
= 0 ;
14792 PyObject
* obj1
= 0 ;
14793 PyObject
* obj2
= 0 ;
14794 PyObject
* obj3
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14802 arg1
= wxString_in_helper(obj0
);
14803 if (arg1
== NULL
) SWIG_fail
;
14809 arg2
= wxString_in_helper(obj1
);
14810 if (arg2
== NULL
) SWIG_fail
;
14816 arg3
= wxString_in_helper(obj2
);
14817 if (arg3
== NULL
) SWIG_fail
;
14823 arg4
= wxString_in_helper(obj3
);
14824 if (arg4
== NULL
) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14835 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
14874 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxConfig
*arg1
= (wxConfig
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14888 wxPyEndAllowThreads(__tstate
);
14889 if (PyErr_Occurred()) SWIG_fail
;
14891 Py_INCREF(Py_None
); resultobj
= Py_None
;
14898 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
14900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14901 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
14903 return Py_BuildValue((char *)"");
14905 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14906 PyObject
*resultobj
;
14907 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14908 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14909 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14910 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14911 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14912 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14913 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14914 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14915 long arg5
= (long) 0 ;
14916 wxFileConfig
*result
;
14917 bool temp1
= false ;
14918 bool temp2
= false ;
14919 bool temp3
= false ;
14920 bool temp4
= false ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 PyObject
* obj2
= 0 ;
14924 PyObject
* obj3
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14932 arg1
= wxString_in_helper(obj0
);
14933 if (arg1
== NULL
) SWIG_fail
;
14939 arg2
= wxString_in_helper(obj1
);
14940 if (arg2
== NULL
) SWIG_fail
;
14946 arg3
= wxString_in_helper(obj2
);
14947 if (arg3
== NULL
) SWIG_fail
;
14953 arg4
= wxString_in_helper(obj3
);
14954 if (arg4
== NULL
) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15004 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15005 PyObject
*resultobj
;
15006 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 Py_INCREF(Py_None
); resultobj
= Py_None
;
15028 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15031 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15033 return Py_BuildValue((char *)"");
15035 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 wxString
*arg1
= 0 ;
15039 bool temp1
= false ;
15040 PyObject
* obj0
= 0 ;
15041 char *kwnames
[] = {
15042 (char *) "sz", NULL
15045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15047 arg1
= wxString_in_helper(obj0
);
15048 if (arg1
== NULL
) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15055 wxPyEndAllowThreads(__tstate
);
15056 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15079 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15082 char *kwnames
[] = {
15083 (char *) "country", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 Py_INCREF(Py_None
); resultobj
= Py_None
;
15101 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15104 char *kwnames
[] = {
15108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15111 result
= (int)wxDateTime::GetCountry();
15113 wxPyEndAllowThreads(__tstate
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15116 resultobj
= PyInt_FromLong((long)result
);
15123 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 int arg1
= (int) wxDateTime::Country_Default
;
15127 char *kwnames
[] = {
15128 (char *) "country", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15139 resultobj
= PyInt_FromLong((long)result
);
15146 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 int arg1
= (int) wxDateTime::Gregorian
;
15150 char *kwnames
[] = {
15151 (char *) "cal", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= PyInt_FromLong((long)result
);
15169 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15173 char *kwnames
[] = {
15174 (char *) "year", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= PyInt_FromLong((long)result
);
15192 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 int arg1
= (int) wxDateTime::Gregorian
;
15196 char *kwnames
[] = {
15197 (char *) "cal", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= PyInt_FromLong((long)result
);
15215 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 int arg1
= (int) wxDateTime::Inv_Year
;
15218 int arg2
= (int) wxDateTime::Gregorian
;
15220 char *kwnames
[] = {
15221 (char *) "year",(char *) "cal", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= PyInt_FromLong((long)result
);
15239 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
;
15241 int arg1
= (int) wxDateTime::Inv_Year
;
15243 char *kwnames
[] = {
15244 (char *) "year", NULL
15247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (int)wxDateTime::GetCentury(arg1
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= PyInt_FromLong((long)result
);
15262 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15263 PyObject
*resultobj
;
15265 int arg2
= (int) wxDateTime::Gregorian
;
15266 wxDateTime::wxDateTime_t result
;
15267 char *kwnames
[] = {
15268 (char *) "year",(char *) "cal", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15274 result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15276 wxPyEndAllowThreads(__tstate
);
15277 if (PyErr_Occurred()) SWIG_fail
;
15279 resultobj
= PyInt_FromLong((long)result
);
15286 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15289 int arg2
= (int) wxDateTime::Inv_Year
;
15290 int arg3
= (int) wxDateTime::Gregorian
;
15291 wxDateTime::wxDateTime_t result
;
15292 char *kwnames
[] = {
15293 (char *) "month",(char *) "year",(char *) "cal", NULL
15296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (wxDateTime::wxDateTime_t
)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= PyInt_FromLong((long)result
);
15311 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15314 int arg2
= (int) wxDateTime::Name_Full
;
15316 char *kwnames
[] = {
15317 (char *) "month",(char *) "flags", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15341 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15344 int arg2
= (int) wxDateTime::Name_Full
;
15346 char *kwnames
[] = {
15347 (char *) "weekday",(char *) "flags", NULL
15350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15371 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15372 PyObject
*resultobj
;
15373 wxString
*arg1
= (wxString
*) 0 ;
15374 wxString
*arg2
= (wxString
*) 0 ;
15375 PyObject
* obj0
= 0 ;
15376 PyObject
* obj1
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 Py_INCREF(Py_None
); resultobj
= Py_None
;
15398 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15399 PyObject
*resultobj
;
15400 int arg1
= (int) wxDateTime::Inv_Year
;
15401 int arg2
= (int) wxDateTime::Country_Default
;
15403 char *kwnames
[] = {
15404 (char *) "year",(char *) "country", NULL
15407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= PyInt_FromLong((long)result
);
15422 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15424 int arg1
= (int) wxDateTime::Inv_Year
;
15425 int arg2
= (int) wxDateTime::Country_Default
;
15427 char *kwnames
[] = {
15428 (char *) "year",(char *) "country", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15440 wxDateTime
* resultptr
;
15441 resultptr
= new wxDateTime((wxDateTime
&) result
);
15442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15450 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 int arg1
= (int) wxDateTime::Inv_Year
;
15453 int arg2
= (int) wxDateTime::Country_Default
;
15455 char *kwnames
[] = {
15456 (char *) "year",(char *) "country", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15468 wxDateTime
* resultptr
;
15469 resultptr
= new wxDateTime((wxDateTime
&) result
);
15470 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15478 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15481 char *kwnames
[] = {
15485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= wxDateTime::Now();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15494 wxDateTime
* resultptr
;
15495 resultptr
= new wxDateTime((wxDateTime
&) result
);
15496 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15504 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15507 char *kwnames
[] = {
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15514 result
= wxDateTime::UNow();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15520 wxDateTime
* resultptr
;
15521 resultptr
= new wxDateTime((wxDateTime
&) result
);
15522 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15530 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15533 char *kwnames
[] = {
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= wxDateTime::Today();
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 wxDateTime
* resultptr
;
15547 resultptr
= new wxDateTime((wxDateTime
&) result
);
15548 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15556 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15557 PyObject
*resultobj
;
15558 wxDateTime
*result
;
15559 char *kwnames
[] = {
15563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (wxDateTime
*)new wxDateTime();
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15578 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15581 wxDateTime
*result
;
15582 PyObject
* obj0
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "timet", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15588 arg1
= (time_t) PyInt_AsLong(obj0
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15592 result
= (wxDateTime
*)new wxDateTime(arg1
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15604 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15607 wxDateTime
*result
;
15608 char *kwnames
[] = {
15609 (char *) "jdn", NULL
15612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15615 result
= (wxDateTime
*)new wxDateTime(arg1
);
15617 wxPyEndAllowThreads(__tstate
);
15618 if (PyErr_Occurred()) SWIG_fail
;
15620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15627 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxDateTime::wxDateTime_t arg1
;
15630 wxDateTime::wxDateTime_t arg2
= (wxDateTime::wxDateTime_t
) 0 ;
15631 wxDateTime::wxDateTime_t arg3
= (wxDateTime::wxDateTime_t
) 0 ;
15632 wxDateTime::wxDateTime_t arg4
= (wxDateTime::wxDateTime_t
) 0 ;
15633 wxDateTime
*result
;
15634 PyObject
* obj0
= 0 ;
15635 PyObject
* obj1
= 0 ;
15636 PyObject
* obj2
= 0 ;
15637 PyObject
* obj3
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15643 arg1
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj0
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15646 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15650 arg3
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj2
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 arg4
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj3
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15659 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15661 wxPyEndAllowThreads(__tstate
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15671 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxDateTime::wxDateTime_t arg1
;
15674 int arg2
= (int) wxDateTime::Inv_Month
;
15675 int arg3
= (int) wxDateTime::Inv_Year
;
15676 wxDateTime::wxDateTime_t arg4
= (wxDateTime::wxDateTime_t
) 0 ;
15677 wxDateTime::wxDateTime_t arg5
= (wxDateTime::wxDateTime_t
) 0 ;
15678 wxDateTime::wxDateTime_t arg6
= (wxDateTime::wxDateTime_t
) 0 ;
15679 wxDateTime::wxDateTime_t arg7
= (wxDateTime::wxDateTime_t
) 0 ;
15680 wxDateTime
*result
;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj3
= 0 ;
15683 PyObject
* obj4
= 0 ;
15684 PyObject
* obj5
= 0 ;
15685 PyObject
* obj6
= 0 ;
15686 char *kwnames
[] = {
15687 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15691 arg1
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj0
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 arg4
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj3
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 arg5
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj4
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 arg6
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj5
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 arg7
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj6
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15723 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15726 PyObject
* obj0
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 Py_INCREF(Py_None
); resultobj
= Py_None
;
15747 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15750 wxDateTime
*result
;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15762 result
= (wxDateTime
*) &_result_ref
;
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15775 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15779 wxDateTime
*result
;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self",(char *) "timet", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15788 arg2
= (time_t) PyInt_AsLong(obj1
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15793 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15794 result
= (wxDateTime
*) &_result_ref
;
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15807 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15811 wxDateTime
*result
;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self",(char *) "jdn", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15823 result
= (wxDateTime
*) &_result_ref
;
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15836 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15839 wxDateTime::wxDateTime_t arg2
;
15840 wxDateTime::wxDateTime_t arg3
= (wxDateTime::wxDateTime_t
) 0 ;
15841 wxDateTime::wxDateTime_t arg4
= (wxDateTime::wxDateTime_t
) 0 ;
15842 wxDateTime::wxDateTime_t arg5
= (wxDateTime::wxDateTime_t
) 0 ;
15843 wxDateTime
*result
;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 PyObject
* obj2
= 0 ;
15847 PyObject
* obj3
= 0 ;
15848 PyObject
* obj4
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15855 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 arg3
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj2
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15862 arg4
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj3
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15866 arg5
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj4
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15872 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
15873 result
= (wxDateTime
*) &_result_ref
;
15876 wxPyEndAllowThreads(__tstate
);
15877 if (PyErr_Occurred()) SWIG_fail
;
15879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15886 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15889 wxDateTime::wxDateTime_t arg2
;
15890 int arg3
= (int) wxDateTime::Inv_Month
;
15891 int arg4
= (int) wxDateTime::Inv_Year
;
15892 wxDateTime::wxDateTime_t arg5
= (wxDateTime::wxDateTime_t
) 0 ;
15893 wxDateTime::wxDateTime_t arg6
= (wxDateTime::wxDateTime_t
) 0 ;
15894 wxDateTime::wxDateTime_t arg7
= (wxDateTime::wxDateTime_t
) 0 ;
15895 wxDateTime::wxDateTime_t arg8
= (wxDateTime::wxDateTime_t
) 0 ;
15896 wxDateTime
*result
;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 PyObject
* obj4
= 0 ;
15900 PyObject
* obj5
= 0 ;
15901 PyObject
* obj6
= 0 ;
15902 PyObject
* obj7
= 0 ;
15903 char *kwnames
[] = {
15904 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
15908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15909 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 arg5
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj4
);
15913 if (PyErr_Occurred()) SWIG_fail
;
15916 arg6
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj5
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15920 arg7
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj6
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15924 arg8
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj7
);
15925 if (PyErr_Occurred()) SWIG_fail
;
15928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15930 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
15931 result
= (wxDateTime
*) &_result_ref
;
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15944 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15947 wxDateTime
*result
;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
15959 result
= (wxDateTime
*) &_result_ref
;
15962 wxPyEndAllowThreads(__tstate
);
15963 if (PyErr_Occurred()) SWIG_fail
;
15965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15972 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15973 PyObject
*resultobj
;
15974 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15976 wxDateTime
*result
;
15977 PyObject
* obj0
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "year", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
15988 result
= (wxDateTime
*) &_result_ref
;
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16001 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16005 wxDateTime
*result
;
16006 PyObject
* obj0
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "month", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
16017 result
= (wxDateTime
*) &_result_ref
;
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16030 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16033 wxDateTime::wxDateTime_t arg2
;
16034 wxDateTime
*result
;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "day", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16043 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
16049 result
= (wxDateTime
*) &_result_ref
;
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16062 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16065 wxDateTime::wxDateTime_t arg2
;
16066 wxDateTime
*result
;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "hour", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16075 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16080 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
16081 result
= (wxDateTime
*) &_result_ref
;
16084 wxPyEndAllowThreads(__tstate
);
16085 if (PyErr_Occurred()) SWIG_fail
;
16087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16094 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16095 PyObject
*resultobj
;
16096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16097 wxDateTime::wxDateTime_t arg2
;
16098 wxDateTime
*result
;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 char *kwnames
[] = {
16102 (char *) "self",(char *) "minute", NULL
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
16106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16107 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16113 result
= (wxDateTime
*) &_result_ref
;
16116 wxPyEndAllowThreads(__tstate
);
16117 if (PyErr_Occurred()) SWIG_fail
;
16119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16126 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16127 PyObject
*resultobj
;
16128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16129 wxDateTime::wxDateTime_t arg2
;
16130 wxDateTime
*result
;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "second", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16139 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16140 if (PyErr_Occurred()) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16145 result
= (wxDateTime
*) &_result_ref
;
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16158 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16161 wxDateTime::wxDateTime_t arg2
;
16162 wxDateTime
*result
;
16163 PyObject
* obj0
= 0 ;
16164 PyObject
* obj1
= 0 ;
16165 char *kwnames
[] = {
16166 (char *) "self",(char *) "millisecond", NULL
16169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
16170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16171 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16177 result
= (wxDateTime
*) &_result_ref
;
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16190 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16191 PyObject
*resultobj
;
16192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16194 int arg3
= (int) wxDateTime::Monday_First
;
16195 wxDateTime
*result
;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16207 result
= (wxDateTime
*) &_result_ref
;
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16220 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16224 int arg3
= (int) wxDateTime::Monday_First
;
16226 PyObject
* obj0
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16241 wxDateTime
* resultptr
;
16242 resultptr
= new wxDateTime((wxDateTime
&) result
);
16243 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16251 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16255 wxDateTime
*result
;
16256 PyObject
* obj0
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self",(char *) "weekday", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16266 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16267 result
= (wxDateTime
*) &_result_ref
;
16270 wxPyEndAllowThreads(__tstate
);
16271 if (PyErr_Occurred()) SWIG_fail
;
16273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16280 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self",(char *) "weekday", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 wxDateTime
* resultptr
;
16301 resultptr
= new wxDateTime((wxDateTime
&) result
);
16302 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16310 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16314 wxDateTime
*result
;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "weekday", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16326 result
= (wxDateTime
*) &_result_ref
;
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16339 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16344 PyObject
* obj0
= 0 ;
16345 char *kwnames
[] = {
16346 (char *) "self",(char *) "weekday", NULL
16349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16359 wxDateTime
* resultptr
;
16360 resultptr
= new wxDateTime((wxDateTime
&) result
);
16361 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16369 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16373 int arg3
= (int) 1 ;
16374 int arg4
= (int) wxDateTime::Inv_Month
;
16375 int arg5
= (int) wxDateTime::Inv_Year
;
16377 PyObject
* obj0
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16386 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16388 wxPyEndAllowThreads(__tstate
);
16389 if (PyErr_Occurred()) SWIG_fail
;
16391 resultobj
= PyInt_FromLong((long)result
);
16398 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16402 int arg3
= (int) wxDateTime::Inv_Month
;
16403 int arg4
= (int) wxDateTime::Inv_Year
;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16419 resultobj
= PyInt_FromLong((long)result
);
16426 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16427 PyObject
*resultobj
;
16428 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16430 int arg3
= (int) wxDateTime::Inv_Month
;
16431 int arg4
= (int) wxDateTime::Inv_Year
;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16444 wxPyEndAllowThreads(__tstate
);
16445 if (PyErr_Occurred()) SWIG_fail
;
16448 wxDateTime
* resultptr
;
16449 resultptr
= new wxDateTime((wxDateTime
&) result
);
16450 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16458 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16461 wxDateTime::wxDateTime_t arg2
;
16462 int arg3
= (int) wxDateTime::Mon
;
16463 int arg4
= (int) wxDateTime::Monday_First
;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16473 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16474 if (PyErr_Occurred()) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= PyInt_FromLong((long)result
);
16489 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16492 wxDateTime::wxDateTime_t arg2
;
16493 int arg3
= (int) wxDateTime::Mon
;
16494 int arg4
= (int) wxDateTime::Monday_First
;
16496 PyObject
* obj0
= 0 ;
16497 PyObject
* obj1
= 0 ;
16498 char *kwnames
[] = {
16499 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|ii:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
16503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16504 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16514 wxDateTime
* resultptr
;
16515 resultptr
= new wxDateTime((wxDateTime
&) result
);
16516 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16524 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16527 int arg2
= (int) wxDateTime::Inv_Month
;
16528 int arg3
= (int) wxDateTime::Inv_Year
;
16529 wxDateTime
*result
;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "month",(char *) "year", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16540 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16541 result
= (wxDateTime
*) &_result_ref
;
16544 wxPyEndAllowThreads(__tstate
);
16545 if (PyErr_Occurred()) SWIG_fail
;
16547 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16554 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16555 PyObject
*resultobj
;
16556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16557 int arg2
= (int) wxDateTime::Inv_Month
;
16558 int arg3
= (int) wxDateTime::Inv_Year
;
16560 PyObject
* obj0
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "month",(char *) "year", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16569 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16571 wxPyEndAllowThreads(__tstate
);
16572 if (PyErr_Occurred()) SWIG_fail
;
16575 wxDateTime
* resultptr
;
16576 resultptr
= new wxDateTime((wxDateTime
&) result
);
16577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16585 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16586 PyObject
*resultobj
;
16587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16588 wxDateTime::wxDateTime_t arg2
;
16589 wxDateTime
*result
;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "yday", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16598 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16604 result
= (wxDateTime
*) &_result_ref
;
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16617 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16620 wxDateTime::wxDateTime_t arg2
;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "yday", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16630 arg2
= (wxDateTime::wxDateTime_t
) PyInt_AsLong(obj1
);
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 result
= (arg1
)->GetYearDay(arg2
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 wxDateTime
* resultptr
;
16641 resultptr
= new wxDateTime((wxDateTime
&) result
);
16642 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16650 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= (double)(arg1
)->GetJulianDayNumber();
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= PyFloat_FromDouble(result
);
16675 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (double)(arg1
)->GetJDN();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= PyFloat_FromDouble(result
);
16700 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= PyFloat_FromDouble(result
);
16725 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= (double)(arg1
)->GetMJD();
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= PyFloat_FromDouble(result
);
16750 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16763 result
= (double)(arg1
)->GetRataDie();
16765 wxPyEndAllowThreads(__tstate
);
16766 if (PyErr_Occurred()) SWIG_fail
;
16768 resultobj
= PyFloat_FromDouble(result
);
16775 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16778 wxDateTime::TimeZone
*arg2
= 0 ;
16779 bool arg3
= (bool) FALSE
;
16781 PyObject
* obj0
= 0 ;
16782 PyObject
* obj1
= 0 ;
16783 PyObject
* obj2
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16791 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16794 arg3
= PyInt_AsLong(obj2
) ? true : false;
16795 if (PyErr_Occurred()) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16805 wxDateTime
* resultptr
;
16806 resultptr
= new wxDateTime((wxDateTime
&) result
);
16807 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16810 if (arg2
) delete arg2
;
16815 if (arg2
) delete arg2
;
16821 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16822 PyObject
*resultobj
;
16823 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16824 wxDateTime::TimeZone
*arg2
= 0 ;
16825 bool arg3
= (bool) FALSE
;
16826 wxDateTime
*result
;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 PyObject
* obj2
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16837 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16840 arg3
= PyInt_AsLong(obj2
) ? true : false;
16841 if (PyErr_Occurred()) SWIG_fail
;
16844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16847 result
= (wxDateTime
*) &_result_ref
;
16850 wxPyEndAllowThreads(__tstate
);
16851 if (PyErr_Occurred()) SWIG_fail
;
16853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16855 if (arg2
) delete arg2
;
16860 if (arg2
) delete arg2
;
16866 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16867 PyObject
*resultobj
;
16868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16869 bool arg2
= (bool) FALSE
;
16871 PyObject
* obj0
= 0 ;
16872 PyObject
* obj1
= 0 ;
16873 char *kwnames
[] = {
16874 (char *) "self",(char *) "noDST", NULL
16877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16880 arg2
= PyInt_AsLong(obj1
) ? true : false;
16881 if (PyErr_Occurred()) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (arg1
)->ToGMT(arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 wxDateTime
* resultptr
;
16892 resultptr
= new wxDateTime((wxDateTime
&) result
);
16893 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16901 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16902 PyObject
*resultobj
;
16903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16904 bool arg2
= (bool) FALSE
;
16905 wxDateTime
*result
;
16906 PyObject
* obj0
= 0 ;
16907 PyObject
* obj1
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self",(char *) "noDST", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16915 arg2
= PyInt_AsLong(obj1
) ? true : false;
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
16922 result
= (wxDateTime
*) &_result_ref
;
16925 wxPyEndAllowThreads(__tstate
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16935 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16938 int arg2
= (int) wxDateTime::Country_Default
;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self",(char *) "country", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16954 resultobj
= PyInt_FromLong((long)result
);
16961 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16962 PyObject
*resultobj
;
16963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16965 PyObject
* obj0
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "self", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
16971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= PyInt_FromLong((long)result
);
16986 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16990 PyObject
* obj0
= 0 ;
16991 char *kwnames
[] = {
16992 (char *) "self", NULL
16995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
16996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= PyInt_FromLong((long)result
);
17011 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17014 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17015 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17017 PyObject
* obj0
= 0 ;
17018 PyObject
* obj1
= 0 ;
17019 char *kwnames
[] = {
17020 (char *) "self",(char *) "tz", NULL
17023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17027 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17032 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
17034 wxPyEndAllowThreads(__tstate
);
17035 if (PyErr_Occurred()) SWIG_fail
;
17037 resultobj
= PyInt_FromLong((long)result
);
17039 if (arg2
) delete arg2
;
17044 if (arg2
) delete arg2
;
17050 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17053 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17054 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17056 PyObject
* obj0
= 0 ;
17057 PyObject
* obj1
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self",(char *) "tz", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17066 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 resultobj
= PyInt_FromLong((long)result
);
17078 if (arg2
) delete arg2
;
17083 if (arg2
) delete arg2
;
17089 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17092 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17093 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17094 wxDateTime::wxDateTime_t result
;
17095 PyObject
* obj0
= 0 ;
17096 PyObject
* obj1
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self",(char *) "tz", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17105 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 resultobj
= PyInt_FromLong((long)result
);
17117 if (arg2
) delete arg2
;
17122 if (arg2
) delete arg2
;
17128 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17131 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17132 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "tz", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17144 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= PyInt_FromLong((long)result
);
17156 if (arg2
) delete arg2
;
17161 if (arg2
) delete arg2
;
17167 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17170 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17171 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17172 wxDateTime::wxDateTime_t result
;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "tz", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17183 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= PyInt_FromLong((long)result
);
17195 if (arg2
) delete arg2
;
17200 if (arg2
) delete arg2
;
17206 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17209 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17210 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17211 wxDateTime::wxDateTime_t result
;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self",(char *) "tz", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17222 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17229 wxPyEndAllowThreads(__tstate
);
17230 if (PyErr_Occurred()) SWIG_fail
;
17232 resultobj
= PyInt_FromLong((long)result
);
17234 if (arg2
) delete arg2
;
17239 if (arg2
) delete arg2
;
17245 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17248 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17249 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17250 wxDateTime::wxDateTime_t result
;
17251 PyObject
* obj0
= 0 ;
17252 PyObject
* obj1
= 0 ;
17253 char *kwnames
[] = {
17254 (char *) "self",(char *) "tz", NULL
17257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17261 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= PyInt_FromLong((long)result
);
17273 if (arg2
) delete arg2
;
17278 if (arg2
) delete arg2
;
17284 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17287 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17288 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17289 wxDateTime::wxDateTime_t result
;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "tz", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17300 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= PyInt_FromLong((long)result
);
17312 if (arg2
) delete arg2
;
17317 if (arg2
) delete arg2
;
17323 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17324 PyObject
*resultobj
;
17325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17326 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17327 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17328 wxDateTime::wxDateTime_t result
;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "tz", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17339 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17344 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17346 wxPyEndAllowThreads(__tstate
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17349 resultobj
= PyInt_FromLong((long)result
);
17351 if (arg2
) delete arg2
;
17356 if (arg2
) delete arg2
;
17362 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17365 int arg2
= (int) wxDateTime::Monday_First
;
17366 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17367 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17368 wxDateTime::wxDateTime_t result
;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj2
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self",(char *) "flags",(char *) "tz", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17379 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17384 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= PyInt_FromLong((long)result
);
17391 if (arg3
) delete arg3
;
17396 if (arg3
) delete arg3
;
17402 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17405 int arg2
= (int) wxDateTime::Monday_First
;
17406 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17407 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17408 wxDateTime::wxDateTime_t result
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj2
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "flags",(char *) "tz", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17419 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (wxDateTime::wxDateTime_t
)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= PyInt_FromLong((long)result
);
17431 if (arg3
) delete arg3
;
17436 if (arg3
) delete arg3
;
17442 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17445 int arg2
= (int) wxDateTime::Country_Default
;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self",(char *) "country", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17458 wxPyEndAllowThreads(__tstate
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17461 resultobj
= PyInt_FromLong((long)result
);
17468 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17469 PyObject
*resultobj
;
17470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17471 wxDateTime
*arg2
= 0 ;
17473 PyObject
* obj0
= 0 ;
17474 PyObject
* obj1
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self",(char *) "datetime", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17481 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17482 if (arg2
== NULL
) {
17483 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= PyInt_FromLong((long)result
);
17499 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17502 wxDateTime
*arg2
= 0 ;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "datetime", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17512 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 if (arg2
== NULL
) {
17514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= PyInt_FromLong((long)result
);
17530 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17533 wxDateTime
*arg2
= 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "datetime", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17544 if (arg2
== NULL
) {
17545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= PyInt_FromLong((long)result
);
17561 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17564 wxDateTime
*arg2
= 0 ;
17565 wxDateTime
*arg3
= 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 PyObject
* obj2
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "t1",(char *) "t2", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17576 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17577 if (arg2
== NULL
) {
17578 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17580 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17581 if (arg3
== NULL
) {
17582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 resultobj
= PyInt_FromLong((long)result
);
17598 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17601 wxDateTime
*arg2
= 0 ;
17602 wxDateTime
*arg3
= 0 ;
17604 PyObject
* obj0
= 0 ;
17605 PyObject
* obj1
= 0 ;
17606 PyObject
* obj2
= 0 ;
17607 char *kwnames
[] = {
17608 (char *) "self",(char *) "t1",(char *) "t2", NULL
17611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17614 if (arg2
== NULL
) {
17615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17617 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17618 if (arg3
== NULL
) {
17619 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17623 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= PyInt_FromLong((long)result
);
17635 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17638 wxDateTime
*arg2
= 0 ;
17640 PyObject
* obj0
= 0 ;
17641 PyObject
* obj1
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self",(char *) "dt", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17649 if (arg2
== NULL
) {
17650 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= PyInt_FromLong((long)result
);
17666 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17667 PyObject
*resultobj
;
17668 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17669 wxDateTime
*arg2
= 0 ;
17671 PyObject
* obj0
= 0 ;
17672 PyObject
* obj1
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self",(char *) "dt", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17679 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17680 if (arg2
== NULL
) {
17681 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= PyInt_FromLong((long)result
);
17697 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17700 wxDateTime
*arg2
= 0 ;
17701 wxTimeSpan
*arg3
= 0 ;
17703 PyObject
* obj0
= 0 ;
17704 PyObject
* obj1
= 0 ;
17705 PyObject
* obj2
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "self",(char *) "dt",(char *) "ts", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 if (arg2
== NULL
) {
17714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17716 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17717 if (arg3
== NULL
) {
17718 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= PyInt_FromLong((long)result
);
17734 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17737 wxTimeSpan
*arg2
= 0 ;
17738 wxDateTime
*result
;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "diff", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17748 if (arg2
== NULL
) {
17749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17755 result
= (wxDateTime
*) &_result_ref
;
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17768 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17771 wxDateSpan
*arg2
= 0 ;
17772 wxDateTime
*result
;
17773 PyObject
* obj0
= 0 ;
17774 PyObject
* obj1
= 0 ;
17775 char *kwnames
[] = {
17776 (char *) "self",(char *) "diff", NULL
17779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17782 if (arg2
== NULL
) {
17783 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17789 result
= (wxDateTime
*) &_result_ref
;
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17802 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17803 PyObject
*resultobj
;
17804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17805 wxTimeSpan
*arg2
= 0 ;
17806 wxDateTime
*result
;
17807 PyObject
* obj0
= 0 ;
17808 PyObject
* obj1
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "diff", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17816 if (arg2
== NULL
) {
17817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17823 result
= (wxDateTime
*) &_result_ref
;
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17836 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17839 wxDateSpan
*arg2
= 0 ;
17840 wxDateTime
*result
;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "diff", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 if (arg2
== NULL
) {
17851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17856 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17857 result
= (wxDateTime
*) &_result_ref
;
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17870 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17873 wxDateTime
*arg2
= 0 ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "dt", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17884 if (arg2
== NULL
) {
17885 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 wxTimeSpan
* resultptr
;
17896 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
17897 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
17905 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
17906 PyObject
*resultobj
;
17907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17908 wxTimeSpan
*arg2
= 0 ;
17909 wxDateTime
*result
;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17913 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17915 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17916 if (arg2
== NULL
) {
17917 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
17923 result
= (wxDateTime
*) &_result_ref
;
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17936 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
17937 PyObject
*resultobj
;
17938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17939 wxDateSpan
*arg2
= 0 ;
17940 wxDateTime
*result
;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17944 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17946 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17947 if (arg2
== NULL
) {
17948 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17953 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
17954 result
= (wxDateTime
*) &_result_ref
;
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17967 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
17972 argc
= PyObject_Length(args
);
17973 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17974 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17980 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17990 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
17998 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
18006 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18016 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18024 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
18029 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
18034 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18035 PyObject
*resultobj
;
18036 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18037 wxTimeSpan
*arg2
= 0 ;
18038 wxDateTime
*result
;
18039 PyObject
* obj0
= 0 ;
18040 PyObject
* obj1
= 0 ;
18042 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18045 if (arg2
== NULL
) {
18046 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
18052 result
= (wxDateTime
*) &_result_ref
;
18055 wxPyEndAllowThreads(__tstate
);
18056 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18065 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18066 PyObject
*resultobj
;
18067 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18068 wxDateSpan
*arg2
= 0 ;
18069 wxDateTime
*result
;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18073 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18076 if (arg2
== NULL
) {
18077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
18083 result
= (wxDateTime
*) &_result_ref
;
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18096 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
18101 argc
= PyObject_Length(args
);
18102 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18103 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18109 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18119 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18127 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18135 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18145 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18153 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18158 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18163 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18164 PyObject
*resultobj
;
18165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18166 wxTimeSpan
*arg2
= 0 ;
18168 PyObject
* obj0
= 0 ;
18169 PyObject
* obj1
= 0 ;
18171 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18174 if (arg2
== NULL
) {
18175 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18185 wxDateTime
* resultptr
;
18186 resultptr
= new wxDateTime((wxDateTime
&) result
);
18187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18195 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18196 PyObject
*resultobj
;
18197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18198 wxDateSpan
*arg2
= 0 ;
18200 PyObject
* obj0
= 0 ;
18201 PyObject
* obj1
= 0 ;
18203 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18205 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18206 if (arg2
== NULL
) {
18207 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18211 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18213 wxPyEndAllowThreads(__tstate
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18217 wxDateTime
* resultptr
;
18218 resultptr
= new wxDateTime((wxDateTime
&) result
);
18219 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18227 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18232 argc
= PyObject_Length(args
);
18233 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18234 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18240 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18250 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18258 return _wrap_DateTime___add____SWIG_0(self
,args
);
18266 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18276 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18284 return _wrap_DateTime___add____SWIG_1(self
,args
);
18289 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18294 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18295 PyObject
*resultobj
;
18296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18297 wxDateTime
*arg2
= 0 ;
18299 PyObject
* obj0
= 0 ;
18300 PyObject
* obj1
= 0 ;
18302 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18304 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18305 if (arg2
== NULL
) {
18306 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18310 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18312 wxPyEndAllowThreads(__tstate
);
18313 if (PyErr_Occurred()) SWIG_fail
;
18316 wxTimeSpan
* resultptr
;
18317 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18318 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18326 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18327 PyObject
*resultobj
;
18328 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18329 wxTimeSpan
*arg2
= 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18334 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18337 if (arg2
== NULL
) {
18338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18342 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18344 wxPyEndAllowThreads(__tstate
);
18345 if (PyErr_Occurred()) SWIG_fail
;
18348 wxDateTime
* resultptr
;
18349 resultptr
= new wxDateTime((wxDateTime
&) result
);
18350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18358 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18359 PyObject
*resultobj
;
18360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18361 wxDateSpan
*arg2
= 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18366 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18368 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18369 if (arg2
== NULL
) {
18370 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 wxDateTime
* resultptr
;
18381 resultptr
= new wxDateTime((wxDateTime
&) result
);
18382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18390 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18395 argc
= PyObject_Length(args
);
18396 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18397 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18403 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18413 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18421 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18429 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18439 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18447 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18455 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18465 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18473 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18478 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18483 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18484 PyObject
*resultobj
;
18485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18486 wxDateTime
*arg2
= 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18491 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 if (arg2
== NULL
) {
18495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= PyInt_FromLong((long)result
);
18511 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18512 PyObject
*resultobj
;
18513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18514 wxDateTime
*arg2
= 0 ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18519 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18522 if (arg2
== NULL
) {
18523 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18527 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18529 wxPyEndAllowThreads(__tstate
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 resultobj
= PyInt_FromLong((long)result
);
18539 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18540 PyObject
*resultobj
;
18541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18542 wxDateTime
*arg2
= 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18547 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18549 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18550 if (arg2
== NULL
) {
18551 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18555 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= PyInt_FromLong((long)result
);
18567 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18568 PyObject
*resultobj
;
18569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18570 wxDateTime
*arg2
= 0 ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18575 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18578 if (arg2
== NULL
) {
18579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18583 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= PyInt_FromLong((long)result
);
18595 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18596 PyObject
*resultobj
;
18597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18598 wxDateTime
*arg2
= 0 ;
18600 PyObject
* obj0
= 0 ;
18601 PyObject
* obj1
= 0 ;
18603 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18606 if (arg2
== NULL
) {
18607 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= PyInt_FromLong((long)result
);
18623 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18624 PyObject
*resultobj
;
18625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18626 wxDateTime
*arg2
= 0 ;
18628 PyObject
* obj0
= 0 ;
18629 PyObject
* obj1
= 0 ;
18631 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18634 if (arg2
== NULL
) {
18635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18644 resultobj
= PyInt_FromLong((long)result
);
18651 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18654 wxString
*arg2
= 0 ;
18656 bool temp2
= false ;
18657 PyObject
* obj0
= 0 ;
18658 PyObject
* obj1
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "self",(char *) "date", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18666 arg2
= wxString_in_helper(obj1
);
18667 if (arg2
== NULL
) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= PyInt_FromLong((long)result
);
18692 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18695 wxString
*arg2
= 0 ;
18696 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18698 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18699 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18701 bool temp2
= false ;
18702 bool temp3
= false ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 PyObject
* obj3
= 0 ;
18707 char *kwnames
[] = {
18708 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18714 arg2
= wxString_in_helper(obj1
);
18715 if (arg2
== NULL
) SWIG_fail
;
18720 arg3
= wxString_in_helper(obj2
);
18721 if (arg3
== NULL
) SWIG_fail
;
18726 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18727 if (arg4
== NULL
) {
18728 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18735 wxPyEndAllowThreads(__tstate
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= PyInt_FromLong((long)result
);
18761 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18764 wxString
*arg2
= 0 ;
18766 bool temp2
= false ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "datetime", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18776 arg2
= wxString_in_helper(obj1
);
18777 if (arg2
== NULL
) SWIG_fail
;
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18784 wxPyEndAllowThreads(__tstate
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18787 resultobj
= PyInt_FromLong((long)result
);
18802 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18805 wxString
*arg2
= 0 ;
18807 bool temp2
= false ;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "date", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18817 arg2
= wxString_in_helper(obj1
);
18818 if (arg2
== NULL
) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= PyInt_FromLong((long)result
);
18843 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18846 wxString
*arg2
= 0 ;
18848 bool temp2
= false ;
18849 PyObject
* obj0
= 0 ;
18850 PyObject
* obj1
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self",(char *) "time", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18858 arg2
= wxString_in_helper(obj1
);
18859 if (arg2
== NULL
) SWIG_fail
;
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18866 wxPyEndAllowThreads(__tstate
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= PyInt_FromLong((long)result
);
18884 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18887 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
18888 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18889 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18890 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18892 bool temp2
= false ;
18893 PyObject
* obj0
= 0 ;
18894 PyObject
* obj1
= 0 ;
18895 PyObject
* obj2
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "format",(char *) "tz", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18904 arg2
= wxString_in_helper(obj1
);
18905 if (arg2
== NULL
) SWIG_fail
;
18911 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
18915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18916 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
18918 wxPyEndAllowThreads(__tstate
);
18919 if (PyErr_Occurred()) SWIG_fail
;
18923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18933 if (arg3
) delete arg3
;
18942 if (arg3
) delete arg3
;
18948 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 char *kwnames
[] = {
18954 (char *) "self", NULL
18957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
18958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= ((wxDateTime
const *)arg1
)->FormatDate();
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18979 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18983 PyObject
* obj0
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "self", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
18989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 result
= ((wxDateTime
const *)arg1
)->FormatTime();
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19001 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19010 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19014 PyObject
* obj0
= 0 ;
19015 char *kwnames
[] = {
19016 (char *) "self", NULL
19019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
19020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19041 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19042 PyObject
*resultobj
;
19043 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19045 PyObject
* obj0
= 0 ;
19046 char *kwnames
[] = {
19047 (char *) "self", NULL
19050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
19051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19072 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
19074 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19075 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
19077 return Py_BuildValue((char *)"");
19079 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19083 char *kwnames
[] = {
19084 (char *) "sec", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= wxTimeSpan::Seconds(arg1
);
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19096 wxTimeSpan
* resultptr
;
19097 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19098 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19106 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19109 char *kwnames
[] = {
19113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= wxTimeSpan::Second();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 wxTimeSpan
* resultptr
;
19123 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19132 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19136 char *kwnames
[] = {
19137 (char *) "min", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= wxTimeSpan::Minutes(arg1
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19149 wxTimeSpan
* resultptr
;
19150 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19151 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19159 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19162 char *kwnames
[] = {
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 result
= wxTimeSpan::Minute();
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19175 wxTimeSpan
* resultptr
;
19176 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19177 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19185 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19189 char *kwnames
[] = {
19190 (char *) "hours", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 result
= wxTimeSpan::Hours(arg1
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 wxTimeSpan
* resultptr
;
19203 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19204 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19212 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19213 PyObject
*resultobj
;
19215 char *kwnames
[] = {
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= wxTimeSpan::Hour();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19228 wxTimeSpan
* resultptr
;
19229 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19230 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19238 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19242 char *kwnames
[] = {
19243 (char *) "days", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= wxTimeSpan::Days(arg1
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 wxTimeSpan
* resultptr
;
19256 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19265 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19268 char *kwnames
[] = {
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= wxTimeSpan::Day();
19277 wxPyEndAllowThreads(__tstate
);
19278 if (PyErr_Occurred()) SWIG_fail
;
19281 wxTimeSpan
* resultptr
;
19282 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19283 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19291 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19292 PyObject
*resultobj
;
19295 char *kwnames
[] = {
19296 (char *) "days", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= wxTimeSpan::Weeks(arg1
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19308 wxTimeSpan
* resultptr
;
19309 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19318 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19321 char *kwnames
[] = {
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= wxTimeSpan::Week();
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19334 wxTimeSpan
* resultptr
;
19335 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19344 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 long arg1
= (long) 0 ;
19347 long arg2
= (long) 0 ;
19348 long arg3
= (long) 0 ;
19349 long arg4
= (long) 0 ;
19350 wxTimeSpan
*result
;
19351 char *kwnames
[] = {
19352 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19370 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19373 PyObject
* obj0
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19397 wxTimeSpan
*arg2
= 0 ;
19398 wxTimeSpan
*result
;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self",(char *) "diff", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19408 if (arg2
== NULL
) {
19409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19415 result
= (wxTimeSpan
*) &_result_ref
;
19418 wxPyEndAllowThreads(__tstate
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19421 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19428 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19431 wxTimeSpan
*arg2
= 0 ;
19432 wxTimeSpan
*result
;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "diff", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19442 if (arg2
== NULL
) {
19443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19449 result
= (wxTimeSpan
*) &_result_ref
;
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19462 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19466 wxTimeSpan
*result
;
19467 PyObject
* obj0
= 0 ;
19468 char *kwnames
[] = {
19469 (char *) "self",(char *) "n", NULL
19472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19478 result
= (wxTimeSpan
*) &_result_ref
;
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19491 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19494 wxTimeSpan
*result
;
19495 PyObject
* obj0
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19506 result
= (wxTimeSpan
*) &_result_ref
;
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19519 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19538 wxTimeSpan
* resultptr
;
19539 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19540 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19548 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19551 wxTimeSpan
*arg2
= 0 ;
19552 wxTimeSpan
*result
;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "diff", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19562 if (arg2
== NULL
) {
19563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19569 result
= (wxTimeSpan
*) &_result_ref
;
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19582 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19585 wxTimeSpan
*arg2
= 0 ;
19586 wxTimeSpan
*result
;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "diff", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19596 if (arg2
== NULL
) {
19597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19603 result
= (wxTimeSpan
*) &_result_ref
;
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19616 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19620 wxTimeSpan
*result
;
19621 PyObject
* obj0
= 0 ;
19622 char *kwnames
[] = {
19623 (char *) "self",(char *) "n", NULL
19626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19632 result
= (wxTimeSpan
*) &_result_ref
;
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19645 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19648 wxTimeSpan
*result
;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19660 result
= (wxTimeSpan
*) &_result_ref
;
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19673 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19676 wxTimeSpan
*arg2
= 0 ;
19678 PyObject
* obj0
= 0 ;
19679 PyObject
* obj1
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self",(char *) "other", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19687 if (arg2
== NULL
) {
19688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19692 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19698 wxTimeSpan
* resultptr
;
19699 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19708 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19711 wxTimeSpan
*arg2
= 0 ;
19713 PyObject
* obj0
= 0 ;
19714 PyObject
* obj1
= 0 ;
19715 char *kwnames
[] = {
19716 (char *) "self",(char *) "other", NULL
19719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19722 if (arg2
== NULL
) {
19723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19733 wxTimeSpan
* resultptr
;
19734 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19735 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19743 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self",(char *) "n", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= wxTimeSpan___mul__(arg1
,arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 wxTimeSpan
* resultptr
;
19764 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19773 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19778 PyObject
* obj0
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self",(char *) "n", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19793 wxTimeSpan
* resultptr
;
19794 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19795 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19803 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19804 PyObject
*resultobj
;
19805 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19806 wxTimeSpan
*arg2
= 0 ;
19808 PyObject
* obj0
= 0 ;
19809 PyObject
* obj1
= 0 ;
19810 char *kwnames
[] = {
19811 (char *) "self",(char *) "other", NULL
19814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19817 if (arg2
== NULL
) {
19818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= PyInt_FromLong((long)result
);
19834 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19837 wxTimeSpan
*arg2
= 0 ;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "other", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19848 if (arg2
== NULL
) {
19849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19853 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19855 wxPyEndAllowThreads(__tstate
);
19856 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= PyInt_FromLong((long)result
);
19865 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19866 PyObject
*resultobj
;
19867 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19868 wxTimeSpan
*arg2
= 0 ;
19870 PyObject
* obj0
= 0 ;
19871 PyObject
* obj1
= 0 ;
19872 char *kwnames
[] = {
19873 (char *) "self",(char *) "other", NULL
19876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19879 if (arg2
== NULL
) {
19880 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 resultobj
= PyInt_FromLong((long)result
);
19896 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19899 wxTimeSpan
*arg2
= 0 ;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "other", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19910 if (arg2
== NULL
) {
19911 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19915 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
19917 wxPyEndAllowThreads(__tstate
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19920 resultobj
= PyInt_FromLong((long)result
);
19927 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
;
19929 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19930 wxTimeSpan
*arg2
= 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "other", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19941 if (arg2
== NULL
) {
19942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19951 resultobj
= PyInt_FromLong((long)result
);
19958 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19961 wxTimeSpan
*arg2
= 0 ;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "other", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19972 if (arg2
== NULL
) {
19973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19977 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
19979 wxPyEndAllowThreads(__tstate
);
19980 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= PyInt_FromLong((long)result
);
19989 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19990 PyObject
*resultobj
;
19991 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19993 PyObject
* obj0
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= PyInt_FromLong((long)result
);
20014 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20027 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
20029 wxPyEndAllowThreads(__tstate
);
20030 if (PyErr_Occurred()) SWIG_fail
;
20032 resultobj
= PyInt_FromLong((long)result
);
20039 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20040 PyObject
*resultobj
;
20041 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20043 PyObject
* obj0
= 0 ;
20044 char *kwnames
[] = {
20045 (char *) "self", NULL
20048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
20049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= PyInt_FromLong((long)result
);
20064 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20065 PyObject
*resultobj
;
20066 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20067 wxTimeSpan
*arg2
= 0 ;
20069 PyObject
* obj0
= 0 ;
20070 PyObject
* obj1
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self",(char *) "ts", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20078 if (arg2
== NULL
) {
20079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= PyInt_FromLong((long)result
);
20095 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20098 wxTimeSpan
*arg2
= 0 ;
20100 PyObject
* obj0
= 0 ;
20101 PyObject
* obj1
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self",(char *) "ts", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20109 if (arg2
== NULL
) {
20110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= PyInt_FromLong((long)result
);
20126 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20129 wxTimeSpan
*arg2
= 0 ;
20131 PyObject
* obj0
= 0 ;
20132 PyObject
* obj1
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self",(char *) "t", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20140 if (arg2
== NULL
) {
20141 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= PyInt_FromLong((long)result
);
20157 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20159 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20161 PyObject
* obj0
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20172 wxPyEndAllowThreads(__tstate
);
20173 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= PyInt_FromLong((long)result
);
20182 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 char *kwnames
[] = {
20188 (char *) "self", NULL
20191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20195 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20197 wxPyEndAllowThreads(__tstate
);
20198 if (PyErr_Occurred()) SWIG_fail
;
20200 resultobj
= PyInt_FromLong((long)result
);
20207 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= PyInt_FromLong((long)result
);
20232 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20236 PyObject
* obj0
= 0 ;
20237 char *kwnames
[] = {
20238 (char *) "self", NULL
20241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20250 resultobj
= PyInt_FromLong((long)result
);
20257 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20258 PyObject
*resultobj
;
20259 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20261 PyObject
* obj0
= 0 ;
20262 char *kwnames
[] = {
20263 (char *) "self", NULL
20266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20276 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20277 hi
= PyLong_FromLong( (&result
)->GetHi() );
20278 lo
= PyLong_FromLong( (&result
)->GetLo() );
20279 shifter
= PyLong_FromLong(32);
20280 shifted
= PyNumber_Lshift(hi
, shifter
);
20281 resultobj
= PyNumber_Or(shifted
, lo
);
20284 Py_DECREF(shifter
);
20285 Py_DECREF(shifted
);
20293 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20297 PyObject
* obj0
= 0 ;
20298 char *kwnames
[] = {
20299 (char *) "self", NULL
20302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20312 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20313 hi
= PyLong_FromLong( (&result
)->GetHi() );
20314 lo
= PyLong_FromLong( (&result
)->GetLo() );
20315 shifter
= PyLong_FromLong(32);
20316 shifted
= PyNumber_Lshift(hi
, shifter
);
20317 resultobj
= PyNumber_Or(shifted
, lo
);
20320 Py_DECREF(shifter
);
20321 Py_DECREF(shifted
);
20329 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20332 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20333 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20335 bool temp2
= false ;
20336 PyObject
* obj0
= 0 ;
20337 PyObject
* obj1
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self",(char *) "format", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20346 arg2
= wxString_in_helper(obj1
);
20347 if (arg2
== NULL
) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20360 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20362 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20379 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20382 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20384 return Py_BuildValue((char *)"");
20386 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20387 PyObject
*resultobj
;
20388 int arg1
= (int) 0 ;
20389 int arg2
= (int) 0 ;
20390 int arg3
= (int) 0 ;
20391 int arg4
= (int) 0 ;
20392 wxDateSpan
*result
;
20393 char *kwnames
[] = {
20394 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20412 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 wxPyEndAllowThreads(__tstate
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 Py_INCREF(Py_None
); resultobj
= Py_None
;
20436 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20437 PyObject
*resultobj
;
20440 char *kwnames
[] = {
20441 (char *) "days", NULL
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= wxDateSpan::Days(arg1
);
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20453 wxDateSpan
* resultptr
;
20454 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20463 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20466 char *kwnames
[] = {
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 result
= wxDateSpan::Day();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20479 wxDateSpan
* resultptr
;
20480 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20481 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20489 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20490 PyObject
*resultobj
;
20493 char *kwnames
[] = {
20494 (char *) "weeks", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= wxDateSpan::Weeks(arg1
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20506 wxDateSpan
* resultptr
;
20507 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20508 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20516 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20517 PyObject
*resultobj
;
20519 char *kwnames
[] = {
20523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= wxDateSpan::Week();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20532 wxDateSpan
* resultptr
;
20533 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20542 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20543 PyObject
*resultobj
;
20546 char *kwnames
[] = {
20547 (char *) "mon", NULL
20550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 result
= wxDateSpan::Months(arg1
);
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20559 wxDateSpan
* resultptr
;
20560 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20561 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20569 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20572 char *kwnames
[] = {
20576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= wxDateSpan::Month();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20585 wxDateSpan
* resultptr
;
20586 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20587 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20595 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20599 char *kwnames
[] = {
20600 (char *) "years", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= wxDateSpan::Years(arg1
);
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20612 wxDateSpan
* resultptr
;
20613 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20614 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20622 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20623 PyObject
*resultobj
;
20625 char *kwnames
[] = {
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= wxDateSpan::Year();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20638 wxDateSpan
* resultptr
;
20639 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20648 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20649 PyObject
*resultobj
;
20650 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20652 wxDateSpan
*result
;
20653 PyObject
* obj0
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "self",(char *) "n", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20664 result
= (wxDateSpan
*) &_result_ref
;
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20677 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20681 wxDateSpan
*result
;
20682 PyObject
* obj0
= 0 ;
20683 char *kwnames
[] = {
20684 (char *) "self",(char *) "n", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20693 result
= (wxDateSpan
*) &_result_ref
;
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20706 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20710 wxDateSpan
*result
;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self",(char *) "n", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20722 result
= (wxDateSpan
*) &_result_ref
;
20725 wxPyEndAllowThreads(__tstate
);
20726 if (PyErr_Occurred()) SWIG_fail
;
20728 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20735 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20736 PyObject
*resultobj
;
20737 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20739 wxDateSpan
*result
;
20740 PyObject
* obj0
= 0 ;
20741 char *kwnames
[] = {
20742 (char *) "self",(char *) "n", NULL
20745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20751 result
= (wxDateSpan
*) &_result_ref
;
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20764 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20768 PyObject
* obj0
= 0 ;
20769 char *kwnames
[] = {
20770 (char *) "self", NULL
20773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20777 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20779 wxPyEndAllowThreads(__tstate
);
20780 if (PyErr_Occurred()) SWIG_fail
;
20782 resultobj
= PyInt_FromLong((long)result
);
20789 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20790 PyObject
*resultobj
;
20791 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20793 PyObject
* obj0
= 0 ;
20794 char *kwnames
[] = {
20795 (char *) "self", NULL
20798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= PyInt_FromLong((long)result
);
20814 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20827 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20829 wxPyEndAllowThreads(__tstate
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= PyInt_FromLong((long)result
);
20839 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20840 PyObject
*resultobj
;
20841 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20843 PyObject
* obj0
= 0 ;
20844 char *kwnames
[] = {
20845 (char *) "self", NULL
20848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20852 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20854 wxPyEndAllowThreads(__tstate
);
20855 if (PyErr_Occurred()) SWIG_fail
;
20857 resultobj
= PyInt_FromLong((long)result
);
20864 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20865 PyObject
*resultobj
;
20866 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 char *kwnames
[] = {
20870 (char *) "self", NULL
20873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
20874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= PyInt_FromLong((long)result
);
20889 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20892 wxDateSpan
*arg2
= 0 ;
20893 wxDateSpan
*result
;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "other", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 if (arg2
== NULL
) {
20904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20910 result
= (wxDateSpan
*) &_result_ref
;
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20923 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20926 wxDateSpan
*arg2
= 0 ;
20927 wxDateSpan
*result
;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "other", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20937 if (arg2
== NULL
) {
20938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20944 result
= (wxDateSpan
*) &_result_ref
;
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20957 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20960 wxDateSpan
*result
;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 wxDateSpan
&_result_ref
= (arg1
)->Neg();
20972 result
= (wxDateSpan
*) &_result_ref
;
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20985 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20989 wxDateSpan
*result
;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "factor", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21001 result
= (wxDateSpan
*) &_result_ref
;
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21014 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21017 wxDateSpan
*arg2
= 0 ;
21018 wxDateSpan
*result
;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "other", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 if (arg2
== NULL
) {
21029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21034 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
21035 result
= (wxDateSpan
*) &_result_ref
;
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21048 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21051 wxDateSpan
*arg2
= 0 ;
21052 wxDateSpan
*result
;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "other", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 if (arg2
== NULL
) {
21063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
21069 result
= (wxDateSpan
*) &_result_ref
;
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21082 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21085 wxDateSpan
*result
;
21086 PyObject
* obj0
= 0 ;
21087 char *kwnames
[] = {
21088 (char *) "self", NULL
21091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
21092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 wxDateSpan
&_result_ref
= (arg1
)->operator -();
21097 result
= (wxDateSpan
*) &_result_ref
;
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21110 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21111 PyObject
*resultobj
;
21112 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21114 wxDateSpan
*result
;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self",(char *) "factor", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21126 result
= (wxDateSpan
*) &_result_ref
;
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21139 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21142 wxDateSpan
*arg2
= 0 ;
21144 PyObject
* obj0
= 0 ;
21145 PyObject
* obj1
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self",(char *) "other", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21153 if (arg2
== NULL
) {
21154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21164 wxDateSpan
* resultptr
;
21165 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21166 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21174 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21177 wxDateSpan
*arg2
= 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "other", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21188 if (arg2
== NULL
) {
21189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21199 wxDateSpan
* resultptr
;
21200 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21209 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21214 PyObject
* obj0
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "n", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= wxDateSpan___mul__(arg1
,arg2
);
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21229 wxDateSpan
* resultptr
;
21230 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21231 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21239 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21240 PyObject
*resultobj
;
21241 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self",(char *) "n", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= wxDateSpan___rmul__(arg1
,arg2
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 wxDateSpan
* resultptr
;
21260 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21261 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21269 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21272 wxDateSpan
*arg2
= 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "other", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21283 if (arg2
== NULL
) {
21284 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21293 resultobj
= PyInt_FromLong((long)result
);
21300 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21301 PyObject
*resultobj
;
21302 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21303 wxDateSpan
*arg2
= 0 ;
21305 PyObject
* obj0
= 0 ;
21306 PyObject
* obj1
= 0 ;
21307 char *kwnames
[] = {
21308 (char *) "self",(char *) "other", NULL
21311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21313 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21314 if (arg2
== NULL
) {
21315 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21324 resultobj
= PyInt_FromLong((long)result
);
21331 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21334 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21336 return Py_BuildValue((char *)"");
21338 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21341 char *kwnames
[] = {
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= (long)wxGetLocalTime();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= PyInt_FromLong((long)result
);
21360 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21363 char *kwnames
[] = {
21367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21370 result
= (long)wxGetUTCTime();
21372 wxPyEndAllowThreads(__tstate
);
21373 if (PyErr_Occurred()) SWIG_fail
;
21375 resultobj
= PyInt_FromLong((long)result
);
21382 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21383 PyObject
*resultobj
;
21385 char *kwnames
[] = {
21389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (long)wxGetCurrentTime();
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= PyInt_FromLong((long)result
);
21404 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21405 PyObject
*resultobj
;
21407 char *kwnames
[] = {
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 result
= wxGetLocalTimeMillis();
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21420 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21421 hi
= PyLong_FromLong( (&result
)->GetHi() );
21422 lo
= PyLong_FromLong( (&result
)->GetLo() );
21423 shifter
= PyLong_FromLong(32);
21424 shifted
= PyNumber_Lshift(hi
, shifter
);
21425 resultobj
= PyNumber_Or(shifted
, lo
);
21428 Py_DECREF(shifter
);
21429 Py_DECREF(shifted
);
21437 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21440 wxDataFormat
*result
;
21441 char *kwnames
[] = {
21442 (char *) "type", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21460 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21461 PyObject
*resultobj
;
21462 wxString
*arg1
= 0 ;
21463 wxDataFormat
*result
;
21464 bool temp1
= false ;
21465 PyObject
* obj0
= 0 ;
21466 char *kwnames
[] = {
21467 (char *) "format", NULL
21470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21472 arg1
= wxString_in_helper(obj0
);
21473 if (arg1
== NULL
) SWIG_fail
;
21477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21478 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21480 wxPyEndAllowThreads(__tstate
);
21481 if (PyErr_Occurred()) SWIG_fail
;
21483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21498 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 Py_INCREF(Py_None
); resultobj
= Py_None
;
21522 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21523 PyObject
*resultobj
;
21524 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21529 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= PyInt_FromLong((long)result
);
21545 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21546 PyObject
*resultobj
;
21547 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21550 PyObject
* obj0
= 0 ;
21552 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 resultobj
= PyInt_FromLong((long)result
);
21568 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21569 PyObject
*resultobj
;
21570 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21571 wxDataFormat
*arg2
= 0 ;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21576 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 if (arg2
== NULL
) {
21580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= PyInt_FromLong((long)result
);
21596 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21601 argc
= PyObject_Length(args
);
21602 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21603 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21609 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21619 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21627 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21635 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21644 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21647 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21652 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21657 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21658 PyObject
*resultobj
;
21659 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21660 wxDataFormat
*arg2
= 0 ;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21665 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21667 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21668 if (arg2
== NULL
) {
21669 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= PyInt_FromLong((long)result
);
21685 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21690 argc
= PyObject_Length(args
);
21691 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21692 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21698 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21708 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21716 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21724 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21733 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21736 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21741 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21746 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "format", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 (arg1
)->SetType((wxDataFormatId
)arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21772 PyObject
*resultobj
;
21773 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21775 PyObject
* obj0
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= PyInt_FromLong((long)result
);
21796 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21809 result
= ((wxDataFormat
const *)arg1
)->GetId();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21816 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21818 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21827 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
;
21829 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21830 wxString
*arg2
= 0 ;
21831 bool temp2
= false ;
21832 PyObject
* obj0
= 0 ;
21833 PyObject
* obj1
= 0 ;
21834 char *kwnames
[] = {
21835 (char *) "self",(char *) "format", NULL
21838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21841 arg2
= wxString_in_helper(obj1
);
21842 if (arg2
== NULL
) SWIG_fail
;
21846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21847 (arg1
)->SetId((wxString
const &)*arg2
);
21849 wxPyEndAllowThreads(__tstate
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21852 Py_INCREF(Py_None
); resultobj
= Py_None
;
21867 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
21869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21870 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
21872 return Py_BuildValue((char *)"");
21874 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
21875 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
21880 static PyObject
*_wrap_FormatInvalid_get() {
21883 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
21888 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
;
21890 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21891 PyObject
* obj0
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 Py_INCREF(Py_None
); resultobj
= Py_None
;
21912 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21915 int arg2
= (int) wxDataObject::Get
;
21916 SwigValueWrapper
< wxDataFormat
> result
;
21917 PyObject
* obj0
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "dir", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 wxDataFormat
* resultptr
;
21933 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
21934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
21942 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21945 int arg2
= (int) wxDataObject::Get
;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "dir", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= PyInt_FromLong((long)result
);
21968 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21971 wxDataFormat
*arg2
= 0 ;
21972 int arg3
= (int) wxDataObject::Get
;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self",(char *) "format",(char *) "dir", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21983 if (arg2
== NULL
) {
21984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
21990 wxPyEndAllowThreads(__tstate
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= PyInt_FromLong((long)result
);
22000 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22001 PyObject
*resultobj
;
22002 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22003 wxDataFormat
*arg2
= 0 ;
22005 PyObject
* obj0
= 0 ;
22006 PyObject
* obj1
= 0 ;
22007 char *kwnames
[] = {
22008 (char *) "self",(char *) "format", NULL
22011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22014 if (arg2
== NULL
) {
22015 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 resultobj
= PyInt_FromLong((long)result
);
22031 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22034 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
22035 int arg3
= (int) wxDataObject::Get
;
22036 PyObject
* obj0
= 0 ;
22037 PyObject
* obj1
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self",(char *) "formats",(char *) "dir", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
22049 wxPyEndAllowThreads(__tstate
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 Py_INCREF(Py_None
); resultobj
= Py_None
;
22059 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22060 PyObject
*resultobj
;
22061 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22062 wxDataFormat
*arg2
= 0 ;
22063 void *arg3
= (void *) 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 char *kwnames
[] = {
22069 (char *) "self",(char *) "format",(char *) "buf", NULL
22072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22075 if (arg2
== NULL
) {
22076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22078 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= PyInt_FromLong((long)result
);
22093 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22094 PyObject
*resultobj
;
22095 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22096 wxDataFormat
*arg2
= 0 ;
22098 void *arg4
= (void *) 0 ;
22100 PyObject
* obj0
= 0 ;
22101 PyObject
* obj1
= 0 ;
22102 PyObject
* obj2
= 0 ;
22103 PyObject
* obj3
= 0 ;
22104 char *kwnames
[] = {
22105 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22111 if (arg2
== NULL
) {
22112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22114 arg3
= (size_t) PyInt_AsLong(obj2
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22116 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 resultobj
= PyInt_FromLong((long)result
);
22131 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22133 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22134 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22136 return Py_BuildValue((char *)"");
22138 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22141 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22142 wxDataObjectSimple
*result
;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "format", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 if (arg1
== NULL
) {
22152 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22169 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22172 wxDataFormat
*result
;
22173 PyObject
* obj0
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22184 result
= (wxDataFormat
*) &_result_ref
;
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22197 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22200 wxDataFormat
*arg2
= 0 ;
22201 PyObject
* obj0
= 0 ;
22202 PyObject
* obj1
= 0 ;
22203 char *kwnames
[] = {
22204 (char *) "self",(char *) "format", NULL
22207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22210 if (arg2
== NULL
) {
22211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 Py_INCREF(Py_None
); resultobj
= Py_None
;
22227 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22230 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22232 return Py_BuildValue((char *)"");
22234 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22237 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22238 wxPyDataObjectSimple
*result
;
22239 PyObject
* obj0
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "format", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22247 if (arg1
== NULL
) {
22248 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22265 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22268 PyObject
*arg2
= (PyObject
*) 0 ;
22269 PyObject
*arg3
= (PyObject
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 PyObject
* obj1
= 0 ;
22272 PyObject
* obj2
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self",(char *) "self",(char *) "_class", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22288 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22298 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22300 return Py_BuildValue((char *)"");
22302 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxDataObjectComposite
*result
;
22305 char *kwnames
[] = {
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22324 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22327 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22328 int arg3
= (int) FALSE
;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 char *kwnames
[] = {
22332 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22337 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->Add(arg2
,arg3
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22355 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22357 return Py_BuildValue((char *)"");
22359 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22362 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22363 wxTextDataObject
*result
;
22364 bool temp1
= false ;
22365 PyObject
* obj0
= 0 ;
22366 char *kwnames
[] = {
22367 (char *) "text", NULL
22370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22373 arg1
= wxString_in_helper(obj0
);
22374 if (arg1
== NULL
) SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22400 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22413 result
= (size_t)(arg1
)->GetTextLength();
22415 wxPyEndAllowThreads(__tstate
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22418 resultobj
= PyInt_FromLong((long)result
);
22425 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
;
22427 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (arg1
)->GetText();
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22456 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22459 wxString
*arg2
= 0 ;
22460 bool temp2
= false ;
22461 PyObject
* obj0
= 0 ;
22462 PyObject
* obj1
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self",(char *) "text", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 arg2
= wxString_in_helper(obj1
);
22471 if (arg2
== NULL
) SWIG_fail
;
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 (arg1
)->SetText((wxString
const &)*arg2
);
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22498 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22499 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22501 return Py_BuildValue((char *)"");
22503 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
;
22505 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22506 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22507 wxPyTextDataObject
*result
;
22508 bool temp1
= false ;
22509 PyObject
* obj0
= 0 ;
22510 char *kwnames
[] = {
22511 (char *) "text", NULL
22514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22517 arg1
= wxString_in_helper(obj0
);
22518 if (arg1
== NULL
) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22544 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22547 PyObject
*arg2
= (PyObject
*) 0 ;
22548 PyObject
*arg3
= (PyObject
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 PyObject
* obj2
= 0 ;
22552 char *kwnames
[] = {
22553 (char *) "self",(char *) "self",(char *) "_class", NULL
22556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 Py_INCREF(Py_None
); resultobj
= Py_None
;
22574 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22577 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22579 return Py_BuildValue((char *)"");
22581 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22582 PyObject
*resultobj
;
22583 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22584 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22585 wxBitmapDataObject
*result
;
22586 PyObject
* obj0
= 0 ;
22587 char *kwnames
[] = {
22588 (char *) "bitmap", NULL
22591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22594 if (arg1
== NULL
) {
22595 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22612 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22625 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22627 wxPyEndAllowThreads(__tstate
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22631 wxBitmap
* resultptr
;
22632 resultptr
= new wxBitmap((wxBitmap
&) result
);
22633 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22641 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22644 wxBitmap
*arg2
= 0 ;
22645 PyObject
* obj0
= 0 ;
22646 PyObject
* obj1
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self",(char *) "bitmap", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22654 if (arg2
== NULL
) {
22655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22664 Py_INCREF(Py_None
); resultobj
= Py_None
;
22671 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22674 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22676 return Py_BuildValue((char *)"");
22678 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22681 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22682 wxPyBitmapDataObject
*result
;
22683 PyObject
* obj0
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "bitmap", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22691 if (arg1
== NULL
) {
22692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22709 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22712 PyObject
*arg2
= (PyObject
*) 0 ;
22713 PyObject
*arg3
= (PyObject
*) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 PyObject
* obj2
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self",(char *) "self",(char *) "_class", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 Py_INCREF(Py_None
); resultobj
= Py_None
;
22739 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22742 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22744 return Py_BuildValue((char *)"");
22746 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22747 PyObject
*resultobj
;
22748 wxFileDataObject
*result
;
22749 char *kwnames
[] = {
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 result
= (wxFileDataObject
*)new wxFileDataObject();
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22768 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22771 wxArrayString
*result
;
22772 PyObject
* obj0
= 0 ;
22773 char *kwnames
[] = {
22774 (char *) "self", NULL
22777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22783 result
= (wxArrayString
*) &_result_ref
;
22786 wxPyEndAllowThreads(__tstate
);
22787 if (PyErr_Occurred()) SWIG_fail
;
22790 resultobj
= wxArrayString2PyList_helper(*result
);
22798 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22801 wxString
*arg2
= 0 ;
22802 bool temp2
= false ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char *kwnames
[] = {
22806 (char *) "self",(char *) "filename", NULL
22809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
22810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22812 arg2
= wxString_in_helper(obj1
);
22813 if (arg2
== NULL
) SWIG_fail
;
22817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22818 (arg1
)->AddFile((wxString
const &)*arg2
);
22820 wxPyEndAllowThreads(__tstate
);
22821 if (PyErr_Occurred()) SWIG_fail
;
22823 Py_INCREF(Py_None
); resultobj
= Py_None
;
22838 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22841 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22843 return Py_BuildValue((char *)"");
22845 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22848 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22849 wxCustomDataObject
*result
;
22850 PyObject
* obj0
= 0 ;
22851 char *kwnames
[] = {
22852 (char *) "format", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22858 if (arg1
== NULL
) {
22859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22876 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22879 PyObject
*arg2
= (PyObject
*) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self",(char *) "data", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22891 wxCustomDataObject_TakeData(arg1
,arg2
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 Py_INCREF(Py_None
); resultobj
= Py_None
;
22903 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22906 PyObject
*arg2
= (PyObject
*) 0 ;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "data", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
22921 wxPyEndAllowThreads(__tstate
);
22922 if (PyErr_Occurred()) SWIG_fail
;
22924 resultobj
= PyInt_FromLong((long)result
);
22931 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22932 PyObject
*resultobj
;
22933 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22935 PyObject
* obj0
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 result
= (size_t)(arg1
)->GetSize();
22946 wxPyEndAllowThreads(__tstate
);
22947 if (PyErr_Occurred()) SWIG_fail
;
22949 resultobj
= PyInt_FromLong((long)result
);
22956 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22957 PyObject
*resultobj
;
22958 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22960 PyObject
* obj0
= 0 ;
22961 char *kwnames
[] = {
22962 (char *) "self", NULL
22965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
22966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22969 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
22971 wxPyEndAllowThreads(__tstate
);
22972 if (PyErr_Occurred()) SWIG_fail
;
22974 resultobj
= result
;
22981 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22984 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
22986 return Py_BuildValue((char *)"");
22988 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxURLDataObject
*result
;
22991 char *kwnames
[] = {
22995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (wxURLDataObject
*)new wxURLDataObject();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
23010 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (arg1
)->GetURL();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23041 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23044 wxString
*arg2
= 0 ;
23045 bool temp2
= false ;
23046 PyObject
* obj0
= 0 ;
23047 PyObject
* obj1
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self",(char *) "url", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23055 arg2
= wxString_in_helper(obj1
);
23056 if (arg2
== NULL
) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 (arg1
)->SetURL((wxString
const &)*arg2
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 Py_INCREF(Py_None
); resultobj
= Py_None
;
23081 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23084 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
23086 return Py_BuildValue((char *)"");
23088 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23089 PyObject
*resultobj
;
23090 wxMetafileDataObject
*result
;
23091 char *kwnames
[] = {
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
23110 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
23113 wxMetafile
*arg2
= 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "metafile", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23123 if (arg2
== NULL
) {
23124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
23144 PyObject
* obj0
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 wxMetafile
* resultptr
;
23160 resultptr
= new wxMetafile((wxMetafile
&) result
);
23161 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
23169 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23172 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
23174 return Py_BuildValue((char *)"");
23176 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23180 char *kwnames
[] = {
23181 (char *) "res", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= PyInt_FromLong((long)result
);
23199 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxWindow
*arg1
= (wxWindow
*) NULL
;
23202 wxCursor
const &arg2_defvalue
= wxNullCursor
;
23203 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
23204 wxCursor
const &arg3_defvalue
= wxNullCursor
;
23205 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
23206 wxCursor
const &arg4_defvalue
= wxNullCursor
;
23207 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
23208 wxPyDropSource
*result
;
23209 PyObject
* obj0
= 0 ;
23210 PyObject
* obj1
= 0 ;
23211 PyObject
* obj2
= 0 ;
23212 PyObject
* obj3
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23222 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23223 if (arg2
== NULL
) {
23224 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23228 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23229 if (arg3
== NULL
) {
23230 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23234 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23235 if (arg4
== NULL
) {
23236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23241 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23253 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23254 PyObject
*resultobj
;
23255 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23256 PyObject
*arg2
= (PyObject
*) 0 ;
23257 PyObject
*arg3
= (PyObject
*) 0 ;
23259 PyObject
* obj0
= 0 ;
23260 PyObject
* obj1
= 0 ;
23261 PyObject
* obj2
= 0 ;
23262 char *kwnames
[] = {
23263 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 Py_INCREF(Py_None
); resultobj
= Py_None
;
23284 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
;
23286 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 Py_INCREF(Py_None
); resultobj
= Py_None
;
23308 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
;
23310 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23311 wxDataObject
*arg2
= 0 ;
23312 PyObject
* obj0
= 0 ;
23313 PyObject
* obj1
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self",(char *) "data", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23321 if (arg2
== NULL
) {
23322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 (arg1
)->SetData(*arg2
);
23328 wxPyEndAllowThreads(__tstate
);
23329 if (PyErr_Occurred()) SWIG_fail
;
23331 Py_INCREF(Py_None
); resultobj
= Py_None
;
23338 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23341 wxDataObject
*result
;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23363 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23367 wxCursor
*arg3
= 0 ;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj2
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "res",(char *) "cursor", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23376 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23377 if (arg3
== NULL
) {
23378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 Py_INCREF(Py_None
); resultobj
= Py_None
;
23394 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
;
23396 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23397 int arg2
= (int) wxDrag_CopyOnly
;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "flags", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (int)(arg1
)->DoDragDrop(arg2
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= PyInt_FromLong((long)result
);
23420 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "effect", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= PyInt_FromLong((long)result
);
23446 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23449 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23451 return Py_BuildValue((char *)"");
23453 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23454 PyObject
*resultobj
;
23455 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23456 wxPyDropTarget
*result
;
23457 PyObject
* obj0
= 0 ;
23458 char *kwnames
[] = {
23459 (char *) "dataObject", NULL
23462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23468 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23480 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23483 PyObject
*arg2
= (PyObject
*) 0 ;
23484 PyObject
*arg3
= (PyObject
*) 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 PyObject
* obj2
= 0 ;
23488 char *kwnames
[] = {
23489 (char *) "self",(char *) "self",(char *) "_class", NULL
23492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 Py_INCREF(Py_None
); resultobj
= Py_None
;
23510 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 char *kwnames
[] = {
23515 (char *) "self", NULL
23518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 wxPyEndAllowThreads(__tstate
);
23525 if (PyErr_Occurred()) SWIG_fail
;
23527 Py_INCREF(Py_None
); resultobj
= Py_None
;
23534 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
;
23536 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23537 wxDataObject
*result
;
23538 PyObject
* obj0
= 0 ;
23539 char *kwnames
[] = {
23540 (char *) "self", NULL
23543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23559 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23562 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 PyObject
* obj1
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self",(char *) "dataObject", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23574 (arg1
)->SetDataObject(arg2
);
23576 wxPyEndAllowThreads(__tstate
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 Py_INCREF(Py_None
); resultobj
= Py_None
;
23586 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= PyInt_FromLong((long)result
);
23614 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= PyInt_FromLong((long)result
);
23642 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23654 (arg1
)->base_OnLeave();
23656 wxPyEndAllowThreads(__tstate
);
23657 if (PyErr_Occurred()) SWIG_fail
;
23659 Py_INCREF(Py_None
); resultobj
= Py_None
;
23666 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23667 PyObject
*resultobj
;
23668 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23672 PyObject
* obj0
= 0 ;
23673 char *kwnames
[] = {
23674 (char *) "self",(char *) "x",(char *) "y", NULL
23677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= PyInt_FromLong((long)result
);
23693 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 char *kwnames
[] = {
23699 (char *) "self", NULL
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (bool)(arg1
)->GetData();
23708 wxPyEndAllowThreads(__tstate
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= PyInt_FromLong((long)result
);
23718 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23721 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23723 return Py_BuildValue((char *)"");
23725 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxPyTextDropTarget
*result
;
23728 char *kwnames
[] = {
23732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23747 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23750 PyObject
*arg2
= (PyObject
*) 0 ;
23751 PyObject
*arg3
= (PyObject
*) 0 ;
23752 PyObject
* obj0
= 0 ;
23753 PyObject
* obj1
= 0 ;
23754 PyObject
* obj2
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "self",(char *) "_class", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23770 Py_INCREF(Py_None
); resultobj
= Py_None
;
23777 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23784 PyObject
* obj0
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= PyInt_FromLong((long)result
);
23805 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= PyInt_FromLong((long)result
);
23833 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
;
23835 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->base_OnLeave();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23857 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self",(char *) "x",(char *) "y", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= PyInt_FromLong((long)result
);
23884 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= PyInt_FromLong((long)result
);
23912 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23915 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23917 return Py_BuildValue((char *)"");
23919 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxPyFileDropTarget
*result
;
23922 char *kwnames
[] = {
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23941 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23944 PyObject
*arg2
= (PyObject
*) 0 ;
23945 PyObject
*arg3
= (PyObject
*) 0 ;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 PyObject
* obj2
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self",(char *) "self",(char *) "_class", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23959 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 Py_INCREF(Py_None
); resultobj
= Py_None
;
23971 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
;
23973 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= PyInt_FromLong((long)result
);
23999 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= PyInt_FromLong((long)result
);
24027 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 (arg1
)->base_OnLeave();
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24044 Py_INCREF(Py_None
); resultobj
= Py_None
;
24051 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24052 PyObject
*resultobj
;
24053 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24057 PyObject
* obj0
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self",(char *) "x",(char *) "y", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24066 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
24068 wxPyEndAllowThreads(__tstate
);
24069 if (PyErr_Occurred()) SWIG_fail
;
24071 resultobj
= PyInt_FromLong((long)result
);
24078 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= PyInt_FromLong((long)result
);
24106 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24109 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
24111 return Py_BuildValue((char *)"");
24113 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24115 wxClipboard
*result
;
24116 char *kwnames
[] = {
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (wxClipboard
*)new wxClipboard();
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
24135 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
24144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 Py_INCREF(Py_None
); resultobj
= Py_None
;
24159 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (bool)(arg1
)->Open();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= PyInt_FromLong((long)result
);
24184 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24187 PyObject
* obj0
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24201 Py_INCREF(Py_None
); resultobj
= Py_None
;
24208 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24212 PyObject
* obj0
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= PyInt_FromLong((long)result
);
24233 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24236 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "data", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (bool)(arg1
)->AddData(arg2
);
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= PyInt_FromLong((long)result
);
24261 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24264 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "data", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (bool)(arg1
)->SetData(arg2
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= PyInt_FromLong((long)result
);
24289 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24292 wxDataFormat
*arg2
= 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "format", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24303 if (arg2
== NULL
) {
24304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= PyInt_FromLong((long)result
);
24320 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24323 wxDataObject
*arg2
= 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self",(char *) "data", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24333 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24334 if (arg2
== NULL
) {
24335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)(arg1
)->GetData(*arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= PyInt_FromLong((long)result
);
24351 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24354 PyObject
* obj0
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 Py_INCREF(Py_None
); resultobj
= Py_None
;
24375 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
;
24377 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24388 result
= (bool)(arg1
)->Flush();
24390 wxPyEndAllowThreads(__tstate
);
24391 if (PyErr_Occurred()) SWIG_fail
;
24393 resultobj
= PyInt_FromLong((long)result
);
24400 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24401 PyObject
*resultobj
;
24402 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24403 bool arg2
= (bool) FALSE
;
24404 PyObject
* obj0
= 0 ;
24405 PyObject
* obj1
= 0 ;
24406 char *kwnames
[] = {
24407 (char *) "self",(char *) "primary", NULL
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24413 arg2
= PyInt_AsLong(obj1
) ? true : false;
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24418 (arg1
)->UsePrimarySelection(arg2
);
24420 wxPyEndAllowThreads(__tstate
);
24421 if (PyErr_Occurred()) SWIG_fail
;
24423 Py_INCREF(Py_None
); resultobj
= Py_None
;
24430 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24433 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24435 return Py_BuildValue((char *)"");
24437 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24438 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24443 static PyObject
*_wrap_TheClipboard_get() {
24446 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24451 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24454 wxClipboardLocker
*result
;
24455 PyObject
* obj0
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "clipboard", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24466 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24468 wxPyEndAllowThreads(__tstate
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24478 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24479 PyObject
*resultobj
;
24480 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24481 PyObject
* obj0
= 0 ;
24482 char *kwnames
[] = {
24483 (char *) "self", NULL
24486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 resultobj
= PyInt_FromLong((long)result
);
24527 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24530 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24532 return Py_BuildValue((char *)"");
24534 static PyMethodDef SwigMethods
[] = {
24535 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24542 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24549 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24608 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24616 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24632 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24637 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24640 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24643 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24649 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24663 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24669 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24675 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24678 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24690 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24693 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24694 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24697 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24724 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24726 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24728 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24730 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24737 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24743 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"LogTrace", (PyCFunction
) _wrap_LogTrace
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"LogTraceMask", (PyCFunction
) _wrap_LogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24762 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24765 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24782 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24790 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24836 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24864 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24870 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24886 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24902 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24916 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24925 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24968 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
24972 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
24975 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
24978 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
25070 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
25071 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
25072 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
25073 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
25074 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
25075 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
25076 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
25077 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
25078 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
25079 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
25090 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
25135 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
25169 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
25177 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
25178 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
25183 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
25192 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
25196 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
25199 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
25202 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25207 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25210 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25214 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25217 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25221 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25227 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25231 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25235 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25245 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25256 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25264 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25272 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25285 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25293 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25295 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25298 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25299 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25301 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25302 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25304 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25305 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25307 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25308 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25310 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25311 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25313 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25314 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25316 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25317 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25319 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25320 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25322 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25323 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25325 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25328 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25329 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25331 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25332 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25334 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25335 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25337 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25338 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25340 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25341 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25343 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25344 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25346 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25347 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25349 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25350 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25352 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25353 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25355 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25356 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25358 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25359 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25361 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25362 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25364 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25365 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25367 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25368 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25370 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25371 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25373 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25374 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25376 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25377 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25379 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25380 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25382 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25383 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25385 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25386 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25388 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25389 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25391 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25392 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25394 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25397 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25398 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25400 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25401 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25403 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25404 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25406 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25407 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25409 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25410 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25412 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25413 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25415 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25416 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25418 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25419 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25421 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25422 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25424 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25425 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25427 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25428 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25430 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25431 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25433 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25434 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25436 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25437 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25439 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25440 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25442 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25443 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25445 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25446 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25448 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25449 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25451 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25452 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25454 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25455 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25457 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25458 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25460 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25461 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25463 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25464 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25466 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25467 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25469 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25470 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25472 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25473 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25475 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25476 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25478 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25479 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25481 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25482 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25484 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25485 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25487 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25490 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25491 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25493 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25494 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25496 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25497 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25499 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25500 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25502 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25503 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25505 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25506 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25508 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25509 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25511 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25512 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25514 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25517 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25520 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25523 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25526 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25529 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25532 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25535 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) ((wxSizer
*) x
));
25538 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25541 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25544 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25547 static void *_p_wxEventTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) ((wxEvent
*) x
));
25550 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25553 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25556 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25559 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25562 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25565 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25568 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25571 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25574 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25577 static void *_p_wxControlTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25580 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25583 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25586 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25589 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25592 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25595 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25598 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25601 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25604 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25607 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25610 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25613 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25616 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25619 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25622 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25625 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25628 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25631 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25634 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25637 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25640 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25643 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25646 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25649 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25652 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25655 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25658 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25661 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25664 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25667 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25670 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25673 static void *_p_wxImageTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) ((wxImage
*) x
));
25676 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25677 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25679 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25680 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25682 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25683 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25685 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25688 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25689 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25691 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25692 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25694 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25695 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25697 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25700 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25703 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25704 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25706 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25707 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25709 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25710 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25712 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25713 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25715 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25716 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25718 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25719 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25721 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25722 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25724 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25725 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25727 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25728 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25730 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25733 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25736 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25739 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25742 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25745 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25748 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25751 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25754 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25757 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25760 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25761 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25763 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25764 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25766 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25767 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25769 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25770 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25772 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25773 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25775 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25776 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25778 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25779 return (void *)((wxWindow
*) ((wxControl
*) x
));
25781 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25782 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25784 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25785 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25787 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25788 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25790 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25791 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25793 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25794 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25795 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25796 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25797 static swig_type_info _swigt__p_wxLog
[] = {{"_p_wxLog", 0, "wxLog *", 0},{"_p_wxLogStderr", _p_wxLogStderrTo_p_wxLog
},{"_p_wxLogTextCtrl", _p_wxLogTextCtrlTo_p_wxLog
},{"_p_wxLogWindow", _p_wxLogWindowTo_p_wxLog
},{"_p_wxLogChain", _p_wxLogChainTo_p_wxLog
},{"_p_wxLogGui", _p_wxLogGuiTo_p_wxLog
},{"_p_wxPyLog", _p_wxPyLogTo_p_wxLog
},{"_p_wxLog"},{0}};
25798 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25799 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25800 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxEvent
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxEvent
},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxEvent
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
},{0}};
25801 static swig_type_info _swigt__p_wxConfigBase
[] = {{"_p_wxConfigBase", 0, "wxConfigBase *", 0},{"_p_wxFileConfig", _p_wxFileConfigTo_p_wxConfigBase
},{"_p_wxConfigBase"},{"_p_wxConfig", _p_wxConfigTo_p_wxConfigBase
},{0}};
25802 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25803 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25804 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25805 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25806 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25807 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25808 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25809 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25810 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25811 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25812 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25813 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25814 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25815 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25816 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25817 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25818 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25819 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25820 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25821 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25822 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25823 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25824 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25825 static swig_type_info _swigt__p_wxDataObject
[] = {{"_p_wxDataObject", 0, "wxDataObject *", 0},{"_p_wxDataObjectSimple", _p_wxDataObjectSimpleTo_p_wxDataObject
},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObject
},{"_p_wxDataObjectComposite", _p_wxDataObjectCompositeTo_p_wxDataObject
},{"_p_wxDataObject"},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObject
},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObject
},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObject
},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObject
},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObject
},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObject
},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObject
},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObject
},{0}};
25826 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25827 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25828 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25829 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25830 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25831 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25832 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25833 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25834 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25835 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25836 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25837 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25838 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25839 static swig_type_info _swigt__p_wxDataObjectSimple
[] = {{"_p_wxDataObjectSimple", 0, "wxDataObjectSimple *", 0},{"_p_wxDataObjectSimple"},{"_p_wxPyDataObjectSimple", _p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple
},{"_p_wxTextDataObject", _p_wxTextDataObjectTo_p_wxDataObjectSimple
},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxDataObjectSimple
},{"_p_wxBitmapDataObject", _p_wxBitmapDataObjectTo_p_wxDataObjectSimple
},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple
},{"_p_wxFileDataObject", _p_wxFileDataObjectTo_p_wxDataObjectSimple
},{"_p_wxCustomDataObject", _p_wxCustomDataObjectTo_p_wxDataObjectSimple
},{"_p_wxMetafileDataObject", _p_wxMetafileDataObjectTo_p_wxDataObjectSimple
},{0}};
25840 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxEvtHandler
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxEvtHandler
},{0}};
25841 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25842 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25843 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25844 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25845 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25846 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25847 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25848 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25849 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25850 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25851 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25852 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25853 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25854 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25855 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxFileHistory", _p_wxFileHistoryTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxTimerEvent", _p_wxTimerEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxClipboard", _p_wxClipboardTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxToolTip", _p_wxToolTipTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxSystemOptions", _p_wxSystemOptionsTo_p_wxObject
},{"_p_wxJoystickEvent", _p_wxJoystickEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxPyProcess", _p_wxPyProcessTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxBusyInfo", _p_wxBusyInfoTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxProcessEvent", _p_wxProcessEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{"_p_wxPyTimer", _p_wxPyTimerTo_p_wxObject
},{0}};
25856 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25857 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25858 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25859 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
},{0}};
25860 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25861 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25862 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25863 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25864 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25865 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25866 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{"_p_wxPyTextDropTarget", _p_wxPyTextDropTargetTo_p_wxPyDropTarget
},{"_p_wxPyFileDropTarget", _p_wxPyFileDropTargetTo_p_wxPyDropTarget
},{0}};
25867 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25868 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25869 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25870 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25871 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25872 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25873 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25874 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25875 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25877 static swig_type_info
*swig_types_initial
[] = {
25878 _swigt__p_wxLogChain
,
25879 _swigt__p_wxMutexGuiLocker
,
25880 _swigt__p_wxMetafile
,
25881 _swigt__p_wxFileHistory
,
25883 _swigt__p_wxDateTime__TimeZone
,
25886 _swigt__p_wxConfigBase
,
25888 _swigt__p_wxFileType
,
25889 _swigt__p_wxLogGui
,
25891 _swigt__p_wxDataFormat
,
25892 _swigt__p_wxTimerEvent
,
25896 _swigt__p_wxClipboard
,
25897 _swigt__p_wxStopWatch
,
25899 _swigt__p_wxClipboardLocker
,
25901 _swigt__p_wxLogStderr
,
25902 _swigt__p_wxLogTextCtrl
,
25903 _swigt__p_wxTextCtrl
,
25904 _swigt__p_wxBusyCursor
,
25905 _swigt__p_wxFileDataObject
,
25906 _swigt__p_wxPyBitmapDataObject
,
25907 _swigt__p_wxPyTextDataObject
,
25908 _swigt__p_wxBitmapDataObject
,
25909 _swigt__p_wxTextDataObject
,
25910 _swigt__p_wxDataObject
,
25911 _swigt__p_wxCustomDataObject
,
25912 _swigt__p_wxURLDataObject
,
25913 _swigt__p_wxMetafileDataObject
,
25914 _swigt__p_wxTimerRunner
,
25915 _swigt__p_wxLogWindow
,
25916 _swigt__p_wxTimeSpan
,
25917 _swigt__p_wxArrayString
,
25918 _swigt__p_wxWindowDisabler
,
25919 _swigt__p_wxToolTip
,
25920 _swigt__p_wxDataObjectComposite
,
25921 _swigt__p_wxFileConfig
,
25922 _swigt__p_wxSystemSettings
,
25923 _swigt__p_wxPyDataObjectSimple
,
25924 _swigt__p_wxDataObjectSimple
,
25925 _swigt__p_wxEvtHandler
,
25927 _swigt__p_wxSingleInstanceChecker
,
25928 _swigt__p_wxFileTypeInfo
,
25931 _swigt__p_wxMimeTypesManager
,
25932 _swigt__p_wxPyArtProvider
,
25933 _swigt__p_wxPyTipProvider
,
25934 _swigt__p_wxTipProvider
,
25935 _swigt__p_wxJoystick
,
25936 _swigt__p_wxSystemOptions
,
25938 _swigt__p_wxJoystickEvent
,
25939 _swigt__p_wxCursor
,
25940 _swigt__p_wxObject
,
25941 _swigt__p_wxOutputStream
,
25942 _swigt__p_wxDateTime
,
25943 _swigt__p_wxPyDropSource
,
25944 _swigt__p_wxWindow
,
25945 _swigt__p_wxString
,
25946 _swigt__p_wxPyProcess
,
25947 _swigt__p_wxBitmap
,
25948 _swigt__p_wxConfig
,
25950 _swigt__p_wxBusyInfo
,
25951 _swigt__p_wxPyDropTarget
,
25952 _swigt__p_wxPyTextDropTarget
,
25953 _swigt__p_wxPyFileDropTarget
,
25954 _swigt__p_wxProcessEvent
,
25956 _swigt__p_wxLogNull
,
25957 _swigt__p_wxColour
,
25958 _swigt__p_wxConfigPathChanger
,
25959 _swigt__p_wxPyTimer
,
25960 _swigt__p_wxDateSpan
,
25965 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25967 static swig_const_info swig_const_table
[] = {
25968 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25969 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25970 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25971 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25972 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
25973 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
25974 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
25975 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
25976 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
25977 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
25978 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
25979 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
25980 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
25981 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
25982 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
25983 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
25984 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
25985 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
25986 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
25987 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
25988 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
25989 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
25990 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
25991 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
25992 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
25993 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
25994 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
25995 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
26075 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26076 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26077 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26078 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26079 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26080 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
26102 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
26103 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
26104 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
26105 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
26106 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
26107 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
26117 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
26118 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
26119 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
26120 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
26121 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
26122 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
26123 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
26124 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
26125 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
26126 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
26127 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
26128 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
26129 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
26130 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
26131 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
26132 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
26133 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
26134 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
26135 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
26136 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
26137 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
26138 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
26139 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
26140 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
26141 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
26142 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
26143 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
26144 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
26145 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
26146 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
26147 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
26148 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
26149 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
26150 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
26151 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
26152 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
26153 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
26154 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
26155 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
26156 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
26157 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
26158 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
26159 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
26160 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
26161 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
26162 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
26163 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
26164 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
26165 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
26166 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
26167 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
26168 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
26169 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
26170 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
26171 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
26172 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
26173 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
26174 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
26175 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
26176 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
26177 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
26178 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
26179 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
26180 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
26181 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
26182 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
26183 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
26184 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
26185 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
26186 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
26187 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
26188 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
26189 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
26190 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
26191 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
26192 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
26193 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
26194 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
26195 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
26196 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
26197 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
26198 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
26199 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
26200 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
26201 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
26202 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
26203 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
26204 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
26205 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
26206 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
26207 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
26208 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26209 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26210 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26211 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26212 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26213 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26214 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26215 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26216 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26217 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26218 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26219 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26220 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26221 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26222 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26223 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26224 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26225 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26226 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26227 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26228 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26229 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26230 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26231 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26232 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26233 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26234 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26235 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26236 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26237 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26238 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26239 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26240 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26241 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26242 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26243 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26244 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26245 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26246 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26247 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26248 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26249 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26250 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26251 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26252 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26253 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26254 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26255 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26256 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26257 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26258 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26259 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26260 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26261 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26262 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26263 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26264 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26265 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26266 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26267 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26268 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26269 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26270 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26271 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26272 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26273 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26274 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26275 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26276 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26277 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26278 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26279 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26280 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26281 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26282 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26283 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26284 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26285 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26286 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26287 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26288 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26289 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26290 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26291 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26292 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26293 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26294 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26295 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26296 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26297 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26298 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26299 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26300 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26301 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26302 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26303 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26304 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26305 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26306 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26307 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26308 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26309 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26310 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26311 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26312 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26313 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26314 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26315 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26316 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26317 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26318 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26319 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26320 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26321 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26322 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26323 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26324 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26325 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26335 SWIGEXPORT(void) SWIG_init(void) {
26336 static PyObject
*SWIG_globals
= 0;
26337 static int typeinit
= 0;
26340 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26341 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26342 d
= PyModule_GetDict(m
);
26345 for (i
= 0; swig_types_initial
[i
]; i
++) {
26346 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26350 SWIG_InstallConstants(d
,swig_const_table
);
26352 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26353 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26355 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26357 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26358 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26359 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26360 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26361 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26362 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26363 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26364 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26365 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26366 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26367 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26368 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26369 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26370 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26371 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26372 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26373 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26374 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26375 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26376 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26377 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26378 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26379 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26380 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26381 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26382 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26383 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26384 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26385 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26386 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26387 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26388 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26389 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26390 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26391 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26392 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26393 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26394 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26395 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26396 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26397 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26398 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26399 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26400 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26402 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26404 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26406 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26407 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26408 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26409 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26411 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);