1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
51 /***********************************************************************
52 * common.swg for wxPython
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 ************************************************************************/
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 # 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 *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLogChain swig_types[0]
212 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
213 #define SWIGTYPE_p_wxFileHistory swig_types[2]
214 #define SWIGTYPE_p_wxLog swig_types[3]
215 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
216 #define SWIGTYPE_p_wxMenu swig_types[5]
217 #define SWIGTYPE_p_wxEvent swig_types[6]
218 #define SWIGTYPE_p_wxConfigBase swig_types[7]
219 #define SWIGTYPE_p_wxWave swig_types[8]
220 #define SWIGTYPE_p_wxFileType swig_types[9]
221 #define SWIGTYPE_p_wxLogGui swig_types[10]
222 #define SWIGTYPE_p_wxFont swig_types[11]
223 #define SWIGTYPE_p_wxDataFormat swig_types[12]
224 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
225 #define SWIGTYPE_p_wxCaret swig_types[14]
226 #define SWIGTYPE_p_int swig_types[15]
227 #define SWIGTYPE_p_wxSize swig_types[16]
228 #define SWIGTYPE_p_wxClipboard swig_types[17]
229 #define SWIGTYPE_p_wxStopWatch swig_types[18]
230 #define SWIGTYPE_p_wxDC swig_types[19]
231 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
232 #define SWIGTYPE_p_wxIcon swig_types[21]
233 #define SWIGTYPE_p_wxLogStderr swig_types[22]
234 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
235 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
236 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
237 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
238 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
239 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
240 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
241 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
242 #define SWIGTYPE_p_wxDataObject swig_types[31]
243 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
244 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
245 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
247 #define SWIGTYPE_p_wxLogWindow swig_types[36]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
249 #define SWIGTYPE_p_wxArrayString swig_types[38]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
251 #define SWIGTYPE_p_wxToolTip swig_types[40]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
253 #define SWIGTYPE_p_wxFileConfig swig_types[42]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
258 #define SWIGTYPE_p_wxRect swig_types[47]
259 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
260 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
261 #define SWIGTYPE_p_wxFrame swig_types[50]
262 #define SWIGTYPE_p_wxTimer swig_types[51]
263 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
264 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
265 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
266 #define SWIGTYPE_p_wxTipProvider swig_types[55]
267 #define SWIGTYPE_p_wxJoystick swig_types[56]
268 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
269 #define SWIGTYPE_p_wxPoint swig_types[58]
270 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
271 #define SWIGTYPE_p_wxCursor swig_types[60]
272 #define SWIGTYPE_p_wxObject swig_types[61]
273 #define SWIGTYPE_p_wxOutputStream swig_types[62]
274 #define SWIGTYPE_p_wxDateTime swig_types[63]
275 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
276 #define SWIGTYPE_p_wxWindow swig_types[65]
277 #define SWIGTYPE_p_wxString swig_types[66]
278 #define SWIGTYPE_p_wxPyProcess swig_types[67]
279 #define SWIGTYPE_p_wxBitmap swig_types[68]
280 #define SWIGTYPE_p_wxConfig swig_types[69]
281 #define SWIGTYPE_p_wxChar swig_types[70]
282 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
283 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
284 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
285 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
286 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
287 #define SWIGTYPE_p_wxPyLog swig_types[76]
288 #define SWIGTYPE_p_wxLogNull swig_types[77]
289 #define SWIGTYPE_p_wxColour swig_types[78]
290 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
291 #define SWIGTYPE_p_wxPyTimer swig_types[80]
292 #define SWIGTYPE_p_wxDateSpan swig_types[81]
293 static swig_type_info
*swig_types
[83];
295 /* -------- TYPES TABLE (END) -------- */
298 /*-----------------------------------------------
300 ------------------------------------------------*/
301 #define SWIG_init init_misc
303 #define SWIG_name "_misc"
305 #include "wx/wxPython/wxPython.h"
306 #include "wx/wxPython/pyclasses.h"
307 #include "wx/wxPython/pyistream.h"
309 DECLARE_DEF_STRING(EmptyString
);
315 DECLARE_DEF_STRING(FileSelectorPromptStr
);
316 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
317 DECLARE_DEF_STRING(DirSelectorPromptStr
);
320 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
326 } else if (target
== Py_None
) {
330 if (!PyTuple_Check(target
)) {
332 target
= PyTuple_New(1);
333 PyTuple_SetItem(target
, 0, o2
);
336 PyTuple_SetItem(o3
, 0, o
);
339 target
= PySequence_Concat(o2
, o3
);
347 long wxGetFreeMemory()
348 { PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
351 void wxWakeUpMainThread() {}
354 bool wxThread_IsMain() {
355 #ifdef WXP_WITH_THREAD
356 return wxThread::IsMain();
363 int wxCaret_GetBlinkTime() {
364 return wxCaret::GetBlinkTime();
367 void wxCaret_SetBlinkTime(int milliseconds
) {
368 wxCaret::SetBlinkTime(milliseconds
);
372 #include <wx/snglinst.h>
376 #include <wx/msw/private.h>
377 #include <wx/dynload.h>
382 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
389 // This one only partially works. Appears to be an undocumented
390 // "standard" convention that not all widgets adhear to. For
391 // example, for some widgets backgrounds or non-client areas may
393 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
397 // This one works much better, except for on XP. On Win2k nearly
398 // all widgets and their children are captured correctly[**]. On
399 // XP with Themes activated most native widgets draw only
400 // partially, if at all. Without themes it works just like on
403 // ** For example the radio buttons in a wxRadioBox are not its
404 // children by default, but you can capture it via the panel
405 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
406 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
407 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
408 PRF_ERASEBKGND
| PRF_OWNED
);
412 // This one is only defined in the latest SDK and is only
413 // available on XP. MSDN says it is similar to sending WM_PRINT
414 // so I expect that it will work similar to the above. Since it
415 // is avaialble only on XP, it can't be compiled like this and
416 // will have to be loaded dynamically.
417 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
422 // Use PrintWindow if available, or fallback to WM_PRINT
423 // otherwise. Unfortunately using PrintWindow is even worse than
424 // WM_PRINT. For most native widgets nothing is drawn to the dc
425 // at all, with or without Themes.
426 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
427 static bool s_triedToLoad
= False
;
428 static PrintWindow_t pfnPrintWindow
= NULL
;
429 if ( !s_triedToLoad
)
432 s_triedToLoad
= True
;
433 wxDynamicLibrary
dllUser32(_T("user32.dll"));
434 if ( dllUser32
.IsLoaded() )
436 wxLogNull nolog
; // Don't report errors here
437 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
442 printf("Using PrintWindow\n");
443 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
447 printf("Using WM_PRINT\n");
448 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
449 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
457 #include <wx/tipdlg.h>
460 class wxPyTipProvider
: public wxTipProvider
{
462 wxPyTipProvider(size_t currentTip
)
463 : wxTipProvider(currentTip
) {}
465 DEC_PYCALLBACK_STRING__pure(GetTip
);
466 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
470 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
471 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
474 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
476 wxString
Log_TimeStamp(){
478 wxLog::TimeStamp(&msg
);
481 void wxLog_Destroy(wxLog
*self
){ delete self
; }
483 // A wxLog class that can be derived from in wxPython
484 class wxPyLog
: public wxLog
{
486 wxPyLog() : wxLog() {}
488 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
490 wxPyBeginBlockThreads();
491 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
492 PyObject
* s
= wx2PyString(szString
);
493 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
496 wxPyEndBlockThreads();
498 wxLog::DoLog(level
, szString
, t
);
501 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
503 wxPyBeginBlockThreads();
504 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
505 PyObject
* s
= wx2PyString(szString
);
506 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
509 wxPyEndBlockThreads();
511 wxLog::DoLogString(szString
, t
);
520 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
523 #include <wx/joystick.h>
526 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
527 // A C++ stub class for wxJoystick for platforms that don't have it.
528 class wxJoystick
: public wxObject
{
530 wxJoystick(int joystick
= wxJOYSTICK1
) {
531 wxPyBeginBlockThreads();
532 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
533 wxPyEndBlockThreads();
535 wxPoint
GetPosition() { return wxPoint(-1,-1); }
536 int GetZPosition() { return -1; }
537 int GetButtonState() { return -1; }
538 int GetPOVPosition() { return -1; }
539 int GetPOVCTSPosition() { return -1; }
540 int GetRudderPosition() { return -1; }
541 int GetUPosition() { return -1; }
542 int GetVPosition() { return -1; }
543 int GetMovementThreshold() { return -1; }
544 void SetMovementThreshold(int threshold
) {}
546 bool IsOk(void) { return False
; }
547 int GetNumberJoysticks() { return -1; }
548 int GetManufacturerId() { return -1; }
549 int GetProductId() { return -1; }
550 wxString
GetProductName() { return ""; }
551 int GetXMin() { return -1; }
552 int GetYMin() { return -1; }
553 int GetZMin() { return -1; }
554 int GetXMax() { return -1; }
555 int GetYMax() { return -1; }
556 int GetZMax() { return -1; }
557 int GetNumberButtons() { return -1; }
558 int GetNumberAxes() { return -1; }
559 int GetMaxButtons() { return -1; }
560 int GetMaxAxes() { return -1; }
561 int GetPollingMin() { return -1; }
562 int GetPollingMax() { return -1; }
563 int GetRudderMin() { return -1; }
564 int GetRudderMax() { return -1; }
565 int GetUMin() { return -1; }
566 int GetUMax() { return -1; }
567 int GetVMin() { return -1; }
568 int GetVMax() { return -1; }
570 bool HasRudder() { return False
; }
571 bool HasZ() { return False
; }
572 bool HasU() { return False
; }
573 bool HasV() { return False
; }
574 bool HasPOV() { return False
; }
575 bool HasPOV4Dir() { return False
; }
576 bool HasPOVCTS() { return False
; }
578 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
579 bool ReleaseCapture() { return False
; }
588 // A C++ stub class for wxWave for platforms that don't have it.
589 class wxWave
: public wxObject
592 wxWave(const wxString
& fileName
, bool isResource
= False
) {
593 wxPyBeginBlockThreads();
594 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
595 wxPyEndBlockThreads();
597 wxWave(int size
, const wxByte
* data
) {
598 wxPyBeginBlockThreads();
599 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
600 wxPyEndBlockThreads();
605 bool IsOk() const { return False
; }
606 bool Play(bool async
= True
, bool looped
= False
) const { return False
; }
611 wxWave
*new_wxWave(wxString
const &data
){
612 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
615 #include <wx/mimetype.h>
617 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
619 if (self
->GetMimeType(&str
))
620 return wx2PyString(str
);
624 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
626 if (self
->GetMimeTypes(arr
))
627 return wxArrayString2PyList_helper(arr
);
631 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
633 if (self
->GetExtensions(arr
))
634 return wxArrayString2PyList_helper(arr
);
638 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
640 if (self
->GetIcon(&loc
))
641 return new wxIcon(loc
);
645 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
647 if (self
->GetIcon(&loc
)) {
648 wxString iconFile
= loc
.GetFileName();
653 // Make a tuple and put the values in it
654 wxPyBeginBlockThreads();
655 PyObject
* tuple
= PyTuple_New(3);
656 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
657 wxT("wxIcon"), True
));
658 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
659 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
660 wxPyEndBlockThreads();
666 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
668 if (self
->GetDescription(&str
))
669 return wx2PyString(str
);
673 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
675 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
676 return wx2PyString(str
);
680 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
682 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
683 return wx2PyString(str
);
687 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
689 wxArrayString commands
;
690 if (self
->GetAllCommands(&verbs
, &commands
,
691 wxFileType::MessageParameters(filename
, mimetype
))) {
692 wxPyBeginBlockThreads();
693 PyObject
* tuple
= PyTuple_New(2);
694 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
695 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
696 wxPyEndBlockThreads();
702 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
703 return wxFileType::ExpandCommand(command
,
704 wxFileType::MessageParameters(filename
, mimetype
));
706 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
708 self
->EnumAllFileTypes(arr
);
709 return wxArrayString2PyList_helper(arr
);
712 #include <wx/artprov.h>
714 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
715 static const wxString
wxPyART_MENU(wxART_MENU
);
716 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
717 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
718 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
719 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
720 static const wxString
wxPyART_OTHER(wxART_OTHER
);
721 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
722 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
723 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
724 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
725 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
726 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
727 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
728 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
729 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
730 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
731 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
732 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
733 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
734 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
735 static const wxString
wxPyART_PRINT(wxART_PRINT
);
736 static const wxString
wxPyART_HELP(wxART_HELP
);
737 static const wxString
wxPyART_TIP(wxART_TIP
);
738 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
739 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
740 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
741 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
742 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
743 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
744 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
745 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
746 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
747 static const wxString
wxPyART_ERROR(wxART_ERROR
);
748 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
749 static const wxString
wxPyART_WARNING(wxART_WARNING
);
750 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
751 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
752 // Python aware wxArtProvider
753 class wxPyArtProvider
: public wxArtProvider
{
756 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
757 const wxArtClient
& client
,
758 const wxSize
& size
) {
759 wxBitmap rval
= wxNullBitmap
;
760 wxPyBeginBlockThreads();
761 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
762 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
766 s1
= wx2PyString(id
);
767 s2
= wx2PyString(client
);
768 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
773 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
778 wxPyEndBlockThreads();
785 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
789 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
790 PyObject
* ret
= PyTuple_New(3);
792 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
793 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
794 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
799 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
804 cont
= self
->GetFirstGroup(value
, index
);
805 return __EnumerationHelper(cont
, value
, index
);
807 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
811 cont
= self
->GetNextGroup(value
, index
);
812 return __EnumerationHelper(cont
, value
, index
);
814 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
819 cont
= self
->GetFirstEntry(value
, index
);
820 return __EnumerationHelper(cont
, value
, index
);
822 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
826 cont
= self
->GetNextEntry(value
, index
);
827 return __EnumerationHelper(cont
, value
, index
);
829 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
831 self
->Read(key
, &rv
, defaultVal
);
834 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
836 self
->Read(key
, &rv
, defaultVal
);
839 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
841 self
->Read(key
, &rv
, defaultVal
);
845 #include <wx/datetime.h>
847 DECLARE_DEF_STRING2(DateFormatStr
, wxT("%c"));
848 DECLARE_DEF_STRING2(TimeSpanFormatStr
, wxT("%H:%M:%S"));
852 #define LOCAL_TZ wxDateTime::Local
854 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
855 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
856 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
857 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
858 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
859 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
860 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
861 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
862 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
863 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
864 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
865 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
867 const wxChar
* _date
= date
;
868 rv
= self
->ParseRfc822Date(_date
);
869 if (rv
== NULL
) return -1;
872 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
874 const wxChar
* _date
= date
;
875 rv
= self
->ParseFormat(_date
, format
, dateDef
);
876 if (rv
== NULL
) return -1;
879 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
881 const wxChar
* _datetime
= datetime
;
882 rv
= self
->ParseDateTime(_datetime
);
883 if (rv
== NULL
) return -1;
884 return rv
- _datetime
;
886 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
888 const wxChar
* _date
= date
;
889 rv
= self
->ParseDate(_date
);
890 if (rv
== NULL
) return -1;
893 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
895 const wxChar
* _time
= time
;
896 rv
= self
->ParseTime(_time
);
897 if (rv
== NULL
) return -1;
900 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
901 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
902 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
903 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
904 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
905 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
906 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
907 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
908 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
909 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
910 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
911 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
912 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
913 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
914 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
915 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
917 #include <wx/dataobj.h>
919 // Create a new class for wxPython to use
920 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
922 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
923 : wxDataObjectSimple(format
) {}
925 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
926 bool GetDataHere(void *buf
) const;
927 bool SetData(size_t len
, const void *buf
) const;
931 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
933 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
934 // We need to get the data for this object and write it to buf. I think
935 // the best way to do this for wxPython is to have the Python method
936 // return either a string or None and then act appropriately with the
940 wxPyBeginBlockThreads();
941 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
943 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
945 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
947 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
951 wxPyEndBlockThreads();
955 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
956 // For this one we simply need to make a string from buf and len
957 // and send it to the Python method.
959 wxPyBeginBlockThreads();
960 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
961 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
962 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
965 wxPyEndBlockThreads();
969 // Create a new class for wxPython to use
970 class wxPyTextDataObject
: public wxTextDataObject
{
972 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
973 : wxTextDataObject(text
) {}
975 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
976 DEC_PYCALLBACK_STRING__const(GetText
);
977 DEC_PYCALLBACK__STRING(SetText
);
981 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
982 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
983 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
986 // Create a new class for wxPython to use
987 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
989 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
990 : wxBitmapDataObject(bitmap
) {}
992 wxBitmap
GetBitmap() const;
993 void SetBitmap(const wxBitmap
& bitmap
);
997 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
998 wxBitmap
* rval
= &wxNullBitmap
;
999 wxPyBeginBlockThreads();
1000 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1003 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1005 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1010 wxPyEndBlockThreads();
1014 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1015 wxPyBeginBlockThreads();
1016 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1017 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1018 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1021 wxPyEndBlockThreads();
1024 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1025 if (PyString_Check(data
)) {
1026 // for Python we just call SetData here since we always need it to make a copy.
1027 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1030 // raise a TypeError if not a string
1031 PyErr_SetString(PyExc_TypeError
, "String expected.");
1034 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1035 if (PyString_Check(data
)) {
1036 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1039 // raise a TypeError if not a string
1040 PyErr_SetString(PyExc_TypeError
, "String expected.");
1044 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1045 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1048 class wxMetafileDataObject
: public wxDataObjectSimple
1051 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError
); }
1057 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1060 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1061 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1062 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1063 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1064 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1067 class wxPyTextDropTarget
: public wxTextDropTarget
{
1069 wxPyTextDropTarget() {}
1071 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1073 DEC_PYCALLBACK__(OnLeave
);
1074 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1075 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1076 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1077 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1082 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1083 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1084 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1085 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1086 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1087 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1091 class wxPyFileDropTarget
: public wxFileDropTarget
{
1093 wxPyFileDropTarget() {}
1095 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1097 DEC_PYCALLBACK__(OnLeave
);
1098 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1099 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1100 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1101 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1106 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1107 const wxArrayString
& filenames
) {
1109 wxPyBeginBlockThreads();
1110 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1111 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1112 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1115 wxPyEndBlockThreads();
1121 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1122 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1123 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1124 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1125 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1130 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1134 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1135 PyObject
*resultobj
;
1139 (char *) "index", NULL
1142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1145 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1147 wxPyEndAllowThreads(__tstate
);
1148 if (PyErr_Occurred()) SWIG_fail
;
1151 wxColour
* resultptr
;
1152 resultptr
= new wxColour((wxColour
&) result
);
1153 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1161 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1162 PyObject
*resultobj
;
1166 (char *) "index", NULL
1169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1172 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1174 wxPyEndAllowThreads(__tstate
);
1175 if (PyErr_Occurred()) SWIG_fail
;
1179 resultptr
= new wxFont((wxFont
&) result
);
1180 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1188 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1189 PyObject
*resultobj
;
1193 (char *) "index", NULL
1196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1199 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1201 wxPyEndAllowThreads(__tstate
);
1202 if (PyErr_Occurred()) SWIG_fail
;
1204 resultobj
= PyInt_FromLong((long)result
);
1211 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1212 PyObject
*resultobj
;
1216 (char *) "index", NULL
1219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1222 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1224 wxPyEndAllowThreads(__tstate
);
1225 if (PyErr_Occurred()) SWIG_fail
;
1227 resultobj
= PyInt_FromLong((long)result
);
1234 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1235 PyObject
*resultobj
;
1241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1244 result
= (int)wxSystemSettings::GetScreenType();
1246 wxPyEndAllowThreads(__tstate
);
1247 if (PyErr_Occurred()) SWIG_fail
;
1249 resultobj
= PyInt_FromLong((long)result
);
1256 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1257 PyObject
*resultobj
;
1260 (char *) "screen", NULL
1263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1266 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1268 wxPyEndAllowThreads(__tstate
);
1269 if (PyErr_Occurred()) SWIG_fail
;
1271 Py_INCREF(Py_None
); resultobj
= Py_None
;
1278 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1281 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1283 return Py_BuildValue((char *)"");
1285 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1287 wxSystemOptions
*result
;
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= (wxSystemOptions
*)new wxSystemOptions();
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1307 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxString
*arg1
= 0 ;
1310 wxString
*arg2
= 0 ;
1311 bool temp1
= False
;
1312 bool temp2
= False
;
1313 PyObject
* obj0
= 0 ;
1314 PyObject
* obj1
= 0 ;
1316 (char *) "name",(char *) "value", NULL
1319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1321 arg1
= wxString_in_helper(obj0
);
1322 if (arg1
== NULL
) SWIG_fail
;
1326 arg2
= wxString_in_helper(obj1
);
1327 if (arg2
== NULL
) SWIG_fail
;
1331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1332 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1334 wxPyEndAllowThreads(__tstate
);
1335 if (PyErr_Occurred()) SWIG_fail
;
1337 Py_INCREF(Py_None
); resultobj
= Py_None
;
1360 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1361 PyObject
*resultobj
;
1362 wxString
*arg1
= 0 ;
1364 bool temp1
= False
;
1365 PyObject
* obj0
= 0 ;
1367 (char *) "name",(char *) "value", NULL
1370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1372 arg1
= wxString_in_helper(obj0
);
1373 if (arg1
== NULL
) SWIG_fail
;
1377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1378 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1380 wxPyEndAllowThreads(__tstate
);
1381 if (PyErr_Occurred()) SWIG_fail
;
1383 Py_INCREF(Py_None
); resultobj
= Py_None
;
1398 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxString
*arg1
= 0 ;
1402 bool temp1
= False
;
1403 PyObject
* obj0
= 0 ;
1405 (char *) "name", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1410 arg1
= wxString_in_helper(obj0
);
1411 if (arg1
== NULL
) SWIG_fail
;
1415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1416 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1418 wxPyEndAllowThreads(__tstate
);
1419 if (PyErr_Occurred()) SWIG_fail
;
1423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1442 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1444 wxString
*arg1
= 0 ;
1446 bool temp1
= False
;
1447 PyObject
* obj0
= 0 ;
1449 (char *) "name", NULL
1452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1454 arg1
= wxString_in_helper(obj0
);
1455 if (arg1
== NULL
) SWIG_fail
;
1459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1460 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1462 wxPyEndAllowThreads(__tstate
);
1463 if (PyErr_Occurred()) SWIG_fail
;
1465 resultobj
= PyInt_FromLong((long)result
);
1480 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1481 PyObject
*resultobj
;
1482 wxString
*arg1
= 0 ;
1484 bool temp1
= False
;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "name", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1492 arg1
= wxString_in_helper(obj0
);
1493 if (arg1
== NULL
) SWIG_fail
;
1497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1498 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1500 wxPyEndAllowThreads(__tstate
);
1501 if (PyErr_Occurred()) SWIG_fail
;
1503 resultobj
= PyInt_FromLong((long)result
);
1518 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1521 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1523 return Py_BuildValue((char *)"");
1525 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (long)wxNewId();
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 resultobj
= PyInt_FromLong((long)result
);
1547 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 wxPyEndAllowThreads(__tstate
);
1560 if (PyErr_Occurred()) SWIG_fail
;
1562 Py_INCREF(Py_None
); resultobj
= Py_None
;
1569 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1570 PyObject
*resultobj
;
1576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1579 result
= (long)wxGetCurrentId();
1581 wxPyEndAllowThreads(__tstate
);
1582 if (PyErr_Occurred()) SWIG_fail
;
1584 resultobj
= PyInt_FromLong((long)result
);
1591 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1592 PyObject
*resultobj
;
1597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 Py_INCREF(Py_None
); resultobj
= Py_None
;
1612 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 Py_INCREF(Py_None
); resultobj
= Py_None
;
1633 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1635 bool arg1
= (bool) True
;
1637 PyObject
* obj0
= 0 ;
1639 (char *) "resetTimer", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1644 arg1
= PyInt_AsLong(obj0
) ? true : false;
1645 if (PyErr_Occurred()) SWIG_fail
;
1648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1649 result
= (long)wxGetElapsedTime(arg1
);
1651 wxPyEndAllowThreads(__tstate
);
1652 if (PyErr_Occurred()) SWIG_fail
;
1654 resultobj
= PyInt_FromLong((long)result
);
1661 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1662 PyObject
*resultobj
;
1663 int *arg1
= (int *) 0 ;
1664 int *arg2
= (int *) 0 ;
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1676 wxGetMousePosition(arg1
,arg2
);
1678 wxPyEndAllowThreads(__tstate
);
1679 if (PyErr_Occurred()) SWIG_fail
;
1681 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1684 resultobj
= t_output_helper(resultobj
,o
);
1687 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1688 resultobj
= t_output_helper(resultobj
,o
);
1696 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1697 PyObject
*resultobj
;
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1706 result
= (bool)wxIsBusy();
1708 wxPyEndAllowThreads(__tstate
);
1709 if (PyErr_Occurred()) SWIG_fail
;
1711 resultobj
= PyInt_FromLong((long)result
);
1718 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1719 PyObject
*resultobj
;
1725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1746 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1748 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1749 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1751 bool temp1
= False
;
1752 PyObject
* obj0
= 0 ;
1754 (char *) "command", NULL
1757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1760 arg1
= wxString_in_helper(obj0
);
1761 if (arg1
== NULL
) SWIG_fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 result
= (bool)wxShell((wxString
const &)*arg1
);
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 resultobj
= PyInt_FromLong((long)result
);
1787 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1788 PyObject
*resultobj
;
1793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1798 wxPyEndAllowThreads(__tstate
);
1799 if (PyErr_Occurred()) SWIG_fail
;
1801 Py_INCREF(Py_None
); resultobj
= Py_None
;
1808 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 int *arg1
= (int *) 0 ;
1811 int *arg2
= (int *) 0 ;
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (int)wxGetOsVersion(arg1
,arg2
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= PyInt_FromLong((long)result
);
1831 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1832 resultobj
= t_output_helper(resultobj
,o
);
1835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1836 resultobj
= t_output_helper(resultobj
,o
);
1844 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1845 PyObject
*resultobj
;
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= wxGetOsDescription();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1861 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1863 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1872 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1882 result
= (long)wxGetFreeMemory();
1884 wxPyEndAllowThreads(__tstate
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 resultobj
= PyInt_FromLong((long)result
);
1894 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1899 (char *) "wFlags", NULL
1902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1905 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1907 wxPyEndAllowThreads(__tstate
);
1908 if (PyErr_Occurred()) SWIG_fail
;
1910 resultobj
= PyInt_FromLong((long)result
);
1917 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1918 PyObject
*resultobj
;
1921 (char *) "secs", NULL
1924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1929 wxPyEndAllowThreads(__tstate
);
1930 if (PyErr_Occurred()) SWIG_fail
;
1932 Py_INCREF(Py_None
); resultobj
= Py_None
;
1939 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1940 PyObject
*resultobj
;
1941 unsigned long arg1
;
1942 PyObject
* obj0
= 0 ;
1944 (char *) "milliseconds", NULL
1947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
1948 arg1
= (unsigned long) PyInt_AsLong(obj0
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 Py_INCREF(Py_None
); resultobj
= Py_None
;
1964 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1967 PyObject
* obj0
= 0 ;
1969 (char *) "enable", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
1973 arg1
= PyInt_AsLong(obj0
) ? true : false;
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 wxEnableTopLevelWindows(arg1
);
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxString
*arg1
= 0 ;
1993 bool temp1
= False
;
1994 PyObject
* obj0
= 0 ;
1999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2001 arg1
= wxString_in_helper(obj0
);
2002 if (arg1
== NULL
) SWIG_fail
;
2006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2007 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2009 wxPyEndAllowThreads(__tstate
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2016 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2033 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 result
= wxGetEmailAddress();
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2061 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2062 PyObject
*resultobj
;
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= wxGetHostName();
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2089 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2090 PyObject
*resultobj
;
2096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2099 result
= wxGetFullHostName();
2101 wxPyEndAllowThreads(__tstate
);
2102 if (PyErr_Occurred()) SWIG_fail
;
2106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2117 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 result
= wxGetUserId();
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2145 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2146 PyObject
*resultobj
;
2152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2155 result
= wxGetUserName();
2157 wxPyEndAllowThreads(__tstate
);
2158 if (PyErr_Occurred()) SWIG_fail
;
2162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2173 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2174 PyObject
*resultobj
;
2180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 result
= wxGetHomeDir();
2185 wxPyEndAllowThreads(__tstate
);
2186 if (PyErr_Occurred()) SWIG_fail
;
2190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2201 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2202 PyObject
*resultobj
;
2203 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2204 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2206 bool temp1
= False
;
2207 PyObject
* obj0
= 0 ;
2209 (char *) "user", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2215 arg1
= wxString_in_helper(obj0
);
2216 if (arg1
== NULL
) SWIG_fail
;
2221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2222 result
= wxGetUserHome((wxString
const &)*arg1
);
2224 wxPyEndAllowThreads(__tstate
);
2225 if (PyErr_Occurred()) SWIG_fail
;
2229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2248 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2250 unsigned long result
;
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2258 result
= (unsigned long)wxGetProcessId();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2263 resultobj
= PyInt_FromLong((long)result
);
2270 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2281 wxPyEndAllowThreads(__tstate
);
2282 if (PyErr_Occurred()) SWIG_fail
;
2284 Py_INCREF(Py_None
); resultobj
= Py_None
;
2291 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2292 PyObject
*resultobj
;
2293 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2294 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2295 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2296 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2297 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2301 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2302 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2303 int arg6
= (int) 0 ;
2304 wxWindow
*arg7
= (wxWindow
*) NULL
;
2305 int arg8
= (int) -1 ;
2306 int arg9
= (int) -1 ;
2308 bool temp1
= False
;
2309 bool temp2
= False
;
2310 bool temp3
= False
;
2311 bool temp4
= False
;
2312 bool temp5
= False
;
2313 PyObject
* obj0
= 0 ;
2314 PyObject
* obj1
= 0 ;
2315 PyObject
* obj2
= 0 ;
2316 PyObject
* obj3
= 0 ;
2317 PyObject
* obj4
= 0 ;
2318 PyObject
* obj6
= 0 ;
2320 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2326 arg1
= wxString_in_helper(obj0
);
2327 if (arg1
== NULL
) SWIG_fail
;
2333 arg2
= wxString_in_helper(obj1
);
2334 if (arg2
== NULL
) SWIG_fail
;
2340 arg3
= wxString_in_helper(obj2
);
2341 if (arg3
== NULL
) SWIG_fail
;
2347 arg4
= wxString_in_helper(obj3
);
2348 if (arg4
== NULL
) SWIG_fail
;
2354 arg5
= wxString_in_helper(obj4
);
2355 if (arg5
== NULL
) SWIG_fail
;
2360 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2371 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2373 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2422 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxString
*arg1
= 0 ;
2425 wxString
*arg2
= 0 ;
2426 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2427 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2428 wxWindow
*arg4
= (wxWindow
*) NULL
;
2430 bool temp1
= False
;
2431 bool temp2
= False
;
2432 bool temp3
= False
;
2433 PyObject
* obj0
= 0 ;
2434 PyObject
* obj1
= 0 ;
2435 PyObject
* obj2
= 0 ;
2436 PyObject
* obj3
= 0 ;
2438 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2443 arg1
= wxString_in_helper(obj0
);
2444 if (arg1
== NULL
) SWIG_fail
;
2448 arg2
= wxString_in_helper(obj1
);
2449 if (arg2
== NULL
) SWIG_fail
;
2454 arg3
= wxString_in_helper(obj2
);
2455 if (arg3
== NULL
) SWIG_fail
;
2460 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2471 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2473 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2506 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxString
*arg1
= 0 ;
2509 wxString
*arg2
= 0 ;
2510 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2511 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2512 wxWindow
*arg4
= (wxWindow
*) NULL
;
2514 bool temp1
= False
;
2515 bool temp2
= False
;
2516 bool temp3
= False
;
2517 PyObject
* obj0
= 0 ;
2518 PyObject
* obj1
= 0 ;
2519 PyObject
* obj2
= 0 ;
2520 PyObject
* obj3
= 0 ;
2522 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2527 arg1
= wxString_in_helper(obj0
);
2528 if (arg1
== NULL
) SWIG_fail
;
2532 arg2
= wxString_in_helper(obj1
);
2533 if (arg2
== NULL
) SWIG_fail
;
2538 arg3
= wxString_in_helper(obj2
);
2539 if (arg3
== NULL
) SWIG_fail
;
2544 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2557 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2590 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2591 PyObject
*resultobj
;
2592 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2593 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2594 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2595 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2596 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2597 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2598 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2599 wxWindow
*arg5
= (wxWindow
*) NULL
;
2601 bool temp1
= False
;
2602 bool temp2
= False
;
2604 PyObject
* obj0
= 0 ;
2605 PyObject
* obj1
= 0 ;
2606 PyObject
* obj3
= 0 ;
2607 PyObject
* obj4
= 0 ;
2609 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2615 arg1
= wxString_in_helper(obj0
);
2616 if (arg1
== NULL
) SWIG_fail
;
2622 arg2
= wxString_in_helper(obj1
);
2623 if (arg2
== NULL
) SWIG_fail
;
2630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2634 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2672 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2674 wxString
*arg1
= 0 ;
2675 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2676 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2677 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2678 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2679 wxWindow
*arg4
= (wxWindow
*) NULL
;
2680 int arg5
= (int) -1 ;
2681 int arg6
= (int) -1 ;
2682 bool arg7
= (bool) True
;
2684 bool temp1
= False
;
2685 bool temp2
= False
;
2686 bool temp3
= False
;
2687 PyObject
* obj0
= 0 ;
2688 PyObject
* obj1
= 0 ;
2689 PyObject
* obj2
= 0 ;
2690 PyObject
* obj3
= 0 ;
2691 PyObject
* obj6
= 0 ;
2693 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2698 arg1
= wxString_in_helper(obj0
);
2699 if (arg1
== NULL
) SWIG_fail
;
2704 arg2
= wxString_in_helper(obj1
);
2705 if (arg2
== NULL
) SWIG_fail
;
2711 arg3
= wxString_in_helper(obj2
);
2712 if (arg3
== NULL
) SWIG_fail
;
2717 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 arg7
= PyInt_AsLong(obj6
) ? true : false;
2721 if (PyErr_Occurred()) SWIG_fail
;
2724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2725 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2727 wxPyEndAllowThreads(__tstate
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2767 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2768 PyObject
*resultobj
;
2769 wxString
*arg1
= 0 ;
2770 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2771 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2772 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2773 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2774 wxWindow
*arg4
= (wxWindow
*) NULL
;
2776 bool temp1
= False
;
2777 bool temp2
= False
;
2778 bool temp3
= False
;
2779 PyObject
* obj0
= 0 ;
2780 PyObject
* obj1
= 0 ;
2781 PyObject
* obj2
= 0 ;
2782 PyObject
* obj3
= 0 ;
2784 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2789 arg1
= wxString_in_helper(obj0
);
2790 if (arg1
== NULL
) SWIG_fail
;
2795 arg2
= wxString_in_helper(obj1
);
2796 if (arg2
== NULL
) SWIG_fail
;
2802 arg3
= wxString_in_helper(obj2
);
2803 if (arg3
== NULL
) SWIG_fail
;
2808 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2821 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2854 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
;
2856 wxString
*arg1
= 0 ;
2857 wxString
*arg2
= 0 ;
2859 wxString
*arg4
= (wxString
*) 0 ;
2860 wxWindow
*arg5
= (wxWindow
*) NULL
;
2861 int arg6
= (int) -1 ;
2862 int arg7
= (int) -1 ;
2863 bool arg8
= (bool) True
;
2864 int arg9
= (int) 150 ;
2865 int arg10
= (int) 200 ;
2867 bool temp1
= False
;
2868 bool temp2
= False
;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2871 PyObject
* obj2
= 0 ;
2872 PyObject
* obj3
= 0 ;
2873 PyObject
* obj6
= 0 ;
2875 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2880 arg1
= wxString_in_helper(obj0
);
2881 if (arg1
== NULL
) SWIG_fail
;
2885 arg2
= wxString_in_helper(obj1
);
2886 if (arg2
== NULL
) SWIG_fail
;
2890 arg3
= PyList_Size(obj2
);
2891 arg4
= wxString_LIST_helper(obj2
);
2892 if (arg4
== NULL
) SWIG_fail
;
2895 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2898 arg8
= PyInt_AsLong(obj6
) ? true : false;
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2924 if (arg4
) delete [] arg4
;
2937 if (arg4
) delete [] arg4
;
2943 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxString
*arg1
= 0 ;
2946 wxString
*arg2
= 0 ;
2948 wxString
*arg4
= (wxString
*) 0 ;
2949 wxWindow
*arg5
= (wxWindow
*) NULL
;
2950 int arg6
= (int) -1 ;
2951 int arg7
= (int) -1 ;
2952 bool arg8
= (bool) True
;
2953 int arg9
= (int) 150 ;
2954 int arg10
= (int) 200 ;
2956 bool temp1
= False
;
2957 bool temp2
= False
;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2960 PyObject
* obj2
= 0 ;
2961 PyObject
* obj3
= 0 ;
2962 PyObject
* obj6
= 0 ;
2964 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2969 arg1
= wxString_in_helper(obj0
);
2970 if (arg1
== NULL
) SWIG_fail
;
2974 arg2
= wxString_in_helper(obj1
);
2975 if (arg2
== NULL
) SWIG_fail
;
2979 arg3
= PyList_Size(obj2
);
2980 arg4
= wxString_LIST_helper(obj2
);
2981 if (arg4
== NULL
) SWIG_fail
;
2984 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2987 arg8
= PyInt_AsLong(obj6
) ? true : false;
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 resultobj
= PyInt_FromLong((long)result
);
3007 if (arg4
) delete [] arg4
;
3020 if (arg4
) delete [] arg4
;
3026 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxString
*arg1
= 0 ;
3029 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3030 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3031 int arg3
= (int) wxOK
|wxCENTRE
;
3032 wxWindow
*arg4
= (wxWindow
*) NULL
;
3033 int arg5
= (int) -1 ;
3034 int arg6
= (int) -1 ;
3036 bool temp1
= False
;
3037 bool temp2
= False
;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3040 PyObject
* obj3
= 0 ;
3042 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3047 arg1
= wxString_in_helper(obj0
);
3048 if (arg1
== NULL
) SWIG_fail
;
3053 arg2
= wxString_in_helper(obj1
);
3054 if (arg2
== NULL
) SWIG_fail
;
3059 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3063 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= PyInt_FromLong((long)result
);
3091 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxString
*arg1
= 0 ;
3094 wxString
*arg2
= 0 ;
3095 wxString
*arg3
= 0 ;
3097 long arg5
= (long) 0 ;
3098 long arg6
= (long) 100 ;
3099 wxWindow
*arg7
= (wxWindow
*) NULL
;
3100 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3101 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3103 bool temp1
= False
;
3104 bool temp2
= False
;
3105 bool temp3
= False
;
3107 PyObject
* obj0
= 0 ;
3108 PyObject
* obj1
= 0 ;
3109 PyObject
* obj2
= 0 ;
3110 PyObject
* obj6
= 0 ;
3111 PyObject
* obj7
= 0 ;
3113 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3118 arg1
= wxString_in_helper(obj0
);
3119 if (arg1
== NULL
) SWIG_fail
;
3123 arg2
= wxString_in_helper(obj1
);
3124 if (arg2
== NULL
) SWIG_fail
;
3128 arg3
= wxString_in_helper(obj2
);
3129 if (arg3
== NULL
) SWIG_fail
;
3133 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3138 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3143 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3145 wxPyEndAllowThreads(__tstate
);
3146 if (PyErr_Occurred()) SWIG_fail
;
3148 resultobj
= PyInt_FromLong((long)result
);
3179 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3180 PyObject
*resultobj
;
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (bool)wxColourDisplay();
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= PyInt_FromLong((long)result
);
3201 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= (int)wxDisplayDepth();
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= PyInt_FromLong((long)result
);
3223 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 result
= (int)wxGetDisplayDepth();
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= PyInt_FromLong((long)result
);
3245 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 int *arg1
= (int *) 0 ;
3248 int *arg2
= (int *) 0 ;
3257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 wxDisplaySize(arg1
,arg2
);
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 Py_INCREF(Py_None
); resultobj
= Py_None
;
3267 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3268 resultobj
= t_output_helper(resultobj
,o
);
3271 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3272 resultobj
= t_output_helper(resultobj
,o
);
3280 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3281 PyObject
*resultobj
;
3287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 result
= wxGetDisplaySize();
3292 wxPyEndAllowThreads(__tstate
);
3293 if (PyErr_Occurred()) SWIG_fail
;
3297 resultptr
= new wxSize((wxSize
&) result
);
3298 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3306 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 int *arg1
= (int *) 0 ;
3309 int *arg2
= (int *) 0 ;
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxDisplaySizeMM(arg1
,arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3329 resultobj
= t_output_helper(resultobj
,o
);
3332 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3333 resultobj
= t_output_helper(resultobj
,o
);
3341 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 result
= wxGetDisplaySizeMM();
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3358 resultptr
= new wxSize((wxSize
&) result
);
3359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3367 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 int *arg1
= (int *) 0 ;
3370 int *arg2
= (int *) 0 ;
3371 int *arg3
= (int *) 0 ;
3372 int *arg4
= (int *) 0 ;
3385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3393 Py_INCREF(Py_None
); resultobj
= Py_None
;
3395 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3396 resultobj
= t_output_helper(resultobj
,o
);
3399 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3400 resultobj
= t_output_helper(resultobj
,o
);
3403 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3404 resultobj
= t_output_helper(resultobj
,o
);
3407 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3408 resultobj
= t_output_helper(resultobj
,o
);
3416 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3426 result
= wxGetClientDisplayRect();
3428 wxPyEndAllowThreads(__tstate
);
3429 if (PyErr_Occurred()) SWIG_fail
;
3433 resultptr
= new wxRect((wxRect
&) result
);
3434 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3442 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxCursor
*arg1
= 0 ;
3445 PyObject
* obj0
= 0 ;
3447 (char *) "cursor", NULL
3450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3453 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 wxPyEndAllowThreads(__tstate
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3462 Py_INCREF(Py_None
); resultobj
= Py_None
;
3469 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3470 PyObject
*resultobj
;
3471 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3472 PyObject
* obj0
= 0 ;
3474 (char *) "cursor", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3483 wxBeginBusyCursor(arg1
);
3485 wxPyEndAllowThreads(__tstate
);
3486 if (PyErr_Occurred()) SWIG_fail
;
3488 Py_INCREF(Py_None
); resultobj
= Py_None
;
3495 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3496 PyObject
*resultobj
;
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxWindow
*)wxGetActiveWindow();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3511 resultobj
= wxPyMake_wxObject(result
);
3519 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3524 PyObject
* obj0
= 0 ;
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3532 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3538 wxPyEndAllowThreads(__tstate
);
3539 if (PyErr_Occurred()) SWIG_fail
;
3542 resultobj
= wxPyMake_wxObject(result
);
3550 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3555 PyObject
* obj0
= 0 ;
3560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3563 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3567 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3569 wxPyEndAllowThreads(__tstate
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 resultobj
= wxPyMake_wxObject(result
);
3581 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxWindow
*arg1
= (wxWindow
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3587 (char *) "win", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= wxPyMake_wxObject(result
);
3608 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 wxWakeUpMainThread();
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3622 Py_INCREF(Py_None
); resultobj
= Py_None
;
3629 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3661 wxPyEndAllowThreads(__tstate
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 Py_INCREF(Py_None
); resultobj
= Py_None
;
3671 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3672 PyObject
*resultobj
;
3673 wxMutexGuiLocker
*result
;
3678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3681 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3683 wxPyEndAllowThreads(__tstate
);
3684 if (PyErr_Occurred()) SWIG_fail
;
3686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3693 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3694 PyObject
*resultobj
;
3695 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3698 (char *) "self", NULL
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 wxPyEndAllowThreads(__tstate
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3710 Py_INCREF(Py_None
); resultobj
= Py_None
;
3717 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3720 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3722 return Py_BuildValue((char *)"");
3724 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 result
= (bool)wxThread_IsMain();
3736 wxPyEndAllowThreads(__tstate
);
3737 if (PyErr_Occurred()) SWIG_fail
;
3739 resultobj
= PyInt_FromLong((long)result
);
3746 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxString
*arg1
= 0 ;
3750 bool temp1
= False
;
3751 PyObject
* obj0
= 0 ;
3753 (char *) "tip", NULL
3756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3758 arg1
= wxString_in_helper(obj0
);
3759 if (arg1
== NULL
) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3770 resultobj
= wxPyMake_wxObject(result
);
3786 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3788 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3789 wxString
*arg2
= 0 ;
3790 bool temp2
= False
;
3791 PyObject
* obj0
= 0 ;
3792 PyObject
* obj1
= 0 ;
3794 (char *) "self",(char *) "tip", NULL
3797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3800 arg2
= wxString_in_helper(obj1
);
3801 if (arg2
== NULL
) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 (arg1
)->SetTip((wxString
const &)*arg2
);
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 Py_INCREF(Py_None
); resultobj
= Py_None
;
3826 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3839 result
= (arg1
)->GetTip();
3841 wxPyEndAllowThreads(__tstate
);
3842 if (PyErr_Occurred()) SWIG_fail
;
3846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3857 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3861 PyObject
* obj0
= 0 ;
3863 (char *) "self", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3870 result
= (wxWindow
*)(arg1
)->GetWindow();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3876 resultobj
= wxPyMake_wxObject(result
);
3884 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3885 PyObject
*resultobj
;
3887 PyObject
* obj0
= 0 ;
3889 (char *) "flag", NULL
3892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3893 arg1
= PyInt_AsLong(obj0
) ? true : false;
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3897 wxToolTip::Enable(arg1
);
3899 wxPyEndAllowThreads(__tstate
);
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 Py_INCREF(Py_None
); resultobj
= Py_None
;
3909 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3913 (char *) "milliseconds", NULL
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 wxToolTip::SetDelay(arg1
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
3933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3934 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
3936 return Py_BuildValue((char *)"");
3938 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3940 wxWindow
*arg1
= (wxWindow
*) 0 ;
3944 PyObject
* obj0
= 0 ;
3945 PyObject
* obj1
= 0 ;
3947 (char *) "window",(char *) "size", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3954 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
3970 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxCaret
*arg1
= (wxCaret
*) 0 ;
3973 PyObject
* obj0
= 0 ;
3975 (char *) "self", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxCaret
*arg1
= (wxCaret
*) 0 ;
3998 PyObject
* obj0
= 0 ;
4000 (char *) "self", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4007 result
= (bool)(arg1
)->IsOk();
4009 wxPyEndAllowThreads(__tstate
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4012 resultobj
= PyInt_FromLong((long)result
);
4019 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4020 PyObject
*resultobj
;
4021 wxCaret
*arg1
= (wxCaret
*) 0 ;
4023 PyObject
* obj0
= 0 ;
4025 (char *) "self", NULL
4028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 result
= (bool)(arg1
)->IsVisible();
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= PyInt_FromLong((long)result
);
4044 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4046 wxCaret
*arg1
= (wxCaret
*) 0 ;
4048 PyObject
* obj0
= 0 ;
4050 (char *) "self", NULL
4053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 result
= (arg1
)->GetPosition();
4059 wxPyEndAllowThreads(__tstate
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4063 wxPoint
* resultptr
;
4064 resultptr
= new wxPoint((wxPoint
&) result
);
4065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4073 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxCaret
*arg1
= (wxCaret
*) 0 ;
4076 int *arg2
= (int *) 0 ;
4077 int *arg3
= (int *) 0 ;
4080 PyObject
* obj0
= 0 ;
4082 (char *) "self", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 (arg1
)->GetPosition(arg2
,arg3
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 Py_INCREF(Py_None
); resultobj
= Py_None
;
4098 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4099 resultobj
= t_output_helper(resultobj
,o
);
4102 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4103 resultobj
= t_output_helper(resultobj
,o
);
4111 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxCaret
*arg1
= (wxCaret
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4117 (char *) "self", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 result
= (arg1
)->GetSize();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4131 resultptr
= new wxSize((wxSize
&) result
);
4132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4140 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxCaret
*arg1
= (wxCaret
*) 0 ;
4143 int *arg2
= (int *) 0 ;
4144 int *arg3
= (int *) 0 ;
4147 PyObject
* obj0
= 0 ;
4149 (char *) "self", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 (arg1
)->GetSize(arg2
,arg3
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4163 Py_INCREF(Py_None
); resultobj
= Py_None
;
4165 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4166 resultobj
= t_output_helper(resultobj
,o
);
4169 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4170 resultobj
= t_output_helper(resultobj
,o
);
4178 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4179 PyObject
*resultobj
;
4180 wxCaret
*arg1
= (wxCaret
*) 0 ;
4182 PyObject
* obj0
= 0 ;
4184 (char *) "self", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 result
= (wxWindow
*)(arg1
)->GetWindow();
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= wxPyMake_wxObject(result
);
4205 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxCaret
*arg1
= (wxCaret
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self",(char *) "x",(char *) "y", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 (arg1
)->Move(arg2
,arg3
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4231 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxCaret
*arg1
= (wxCaret
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "pt", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4246 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4250 (arg1
)->Move((wxPoint
const &)*arg2
);
4252 wxPyEndAllowThreads(__tstate
);
4253 if (PyErr_Occurred()) SWIG_fail
;
4255 Py_INCREF(Py_None
); resultobj
= Py_None
;
4262 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
;
4264 wxCaret
*arg1
= (wxCaret
*) 0 ;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "self",(char *) "width",(char *) "height", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",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
)->SetSize(arg2
,arg3
);
4278 wxPyEndAllowThreads(__tstate
);
4279 if (PyErr_Occurred()) SWIG_fail
;
4281 Py_INCREF(Py_None
); resultobj
= Py_None
;
4288 static PyObject
*_wrap_Caret_SetSize(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 *) "size", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4303 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetSize((wxSize
const &)*arg2
);
4309 wxPyEndAllowThreads(__tstate
);
4310 if (PyErr_Occurred()) SWIG_fail
;
4312 Py_INCREF(Py_None
); resultobj
= Py_None
;
4319 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4320 PyObject
*resultobj
;
4321 wxCaret
*arg1
= (wxCaret
*) 0 ;
4322 int arg2
= (int) True
;
4323 PyObject
* obj0
= 0 ;
4325 (char *) "self",(char *) "show", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxCaret
*arg1
= (wxCaret
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4349 (char *) "self", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 Py_INCREF(Py_None
); resultobj
= Py_None
;
4368 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4371 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4373 return Py_BuildValue((char *)"");
4375 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (int)wxCaret_GetBlinkTime();
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= PyInt_FromLong((long)result
);
4397 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4401 (char *) "milliseconds", NULL
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxCaret_SetBlinkTime(arg1
);
4409 wxPyEndAllowThreads(__tstate
);
4410 if (PyErr_Occurred()) SWIG_fail
;
4412 Py_INCREF(Py_None
); resultobj
= Py_None
;
4419 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4422 wxBusyCursor
*result
;
4423 PyObject
* obj0
= 0 ;
4425 (char *) "cursor", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4434 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4446 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4448 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4451 (char *) "self", NULL
4454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 Py_INCREF(Py_None
); resultobj
= Py_None
;
4470 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4473 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4475 return Py_BuildValue((char *)"");
4477 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
;
4479 wxWindow
*arg1
= (wxWindow
*) NULL
;
4480 wxWindowDisabler
*result
;
4481 PyObject
* obj0
= 0 ;
4483 (char *) "winToSkip", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4492 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4494 wxPyEndAllowThreads(__tstate
);
4495 if (PyErr_Occurred()) SWIG_fail
;
4497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4504 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4518 wxPyEndAllowThreads(__tstate
);
4519 if (PyErr_Occurred()) SWIG_fail
;
4521 Py_INCREF(Py_None
); resultobj
= Py_None
;
4528 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4530 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4531 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4533 return Py_BuildValue((char *)"");
4535 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4536 PyObject
*resultobj
;
4537 wxString
*arg1
= 0 ;
4539 bool temp1
= False
;
4540 PyObject
* obj0
= 0 ;
4542 (char *) "message", NULL
4545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4547 arg1
= wxString_in_helper(obj0
);
4548 if (arg1
== NULL
) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4573 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4575 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "self", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4587 wxPyEndAllowThreads(__tstate
);
4588 if (PyErr_Occurred()) SWIG_fail
;
4590 Py_INCREF(Py_None
); resultobj
= Py_None
;
4597 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4600 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4602 return Py_BuildValue((char *)"");
4604 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4605 PyObject
*resultobj
;
4606 wxStopWatch
*result
;
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (wxStopWatch
*)new wxStopWatch();
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4626 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4627 PyObject
*resultobj
;
4628 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4629 long arg2
= (long) 0 ;
4630 PyObject
* obj0
= 0 ;
4632 (char *) "self",(char *) "t0", NULL
4635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 (arg1
)->Start(arg2
);
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4644 Py_INCREF(Py_None
); resultobj
= Py_None
;
4651 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4654 PyObject
* obj0
= 0 ;
4656 (char *) "self", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 wxPyEndAllowThreads(__tstate
);
4666 if (PyErr_Occurred()) SWIG_fail
;
4668 Py_INCREF(Py_None
); resultobj
= Py_None
;
4675 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4678 PyObject
* obj0
= 0 ;
4680 (char *) "self", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 Py_INCREF(Py_None
); resultobj
= Py_None
;
4699 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 resultobj
= PyInt_FromLong((long)result
);
4724 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4727 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4729 return Py_BuildValue((char *)"");
4731 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4732 PyObject
*resultobj
;
4733 int arg1
= (int) 9 ;
4734 wxFileHistory
*result
;
4736 (char *) "maxFiles", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4754 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4757 PyObject
* obj0
= 0 ;
4759 (char *) "self", NULL
4762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 wxPyEndAllowThreads(__tstate
);
4769 if (PyErr_Occurred()) SWIG_fail
;
4771 Py_INCREF(Py_None
); resultobj
= Py_None
;
4778 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4781 wxString
*arg2
= 0 ;
4782 bool temp2
= False
;
4783 PyObject
* obj0
= 0 ;
4784 PyObject
* obj1
= 0 ;
4786 (char *) "self",(char *) "file", NULL
4789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4792 arg2
= wxString_in_helper(obj1
);
4793 if (arg2
== NULL
) SWIG_fail
;
4797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4798 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 Py_INCREF(Py_None
); resultobj
= Py_None
;
4818 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4822 PyObject
* obj0
= 0 ;
4824 (char *) "self",(char *) "i", NULL
4827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 (arg1
)->RemoveFileFromHistory(arg2
);
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4836 Py_INCREF(Py_None
); resultobj
= Py_None
;
4843 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4847 PyObject
* obj0
= 0 ;
4849 (char *) "self", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4856 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4858 wxPyEndAllowThreads(__tstate
);
4859 if (PyErr_Occurred()) SWIG_fail
;
4861 resultobj
= PyInt_FromLong((long)result
);
4868 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4871 wxMenu
*arg2
= (wxMenu
*) 0 ;
4872 PyObject
* obj0
= 0 ;
4873 PyObject
* obj1
= 0 ;
4875 (char *) "self",(char *) "menu", NULL
4878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4880 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4883 (arg1
)->UseMenu(arg2
);
4885 wxPyEndAllowThreads(__tstate
);
4886 if (PyErr_Occurred()) SWIG_fail
;
4888 Py_INCREF(Py_None
); resultobj
= Py_None
;
4895 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4896 PyObject
*resultobj
;
4897 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4898 wxMenu
*arg2
= (wxMenu
*) 0 ;
4899 PyObject
* obj0
= 0 ;
4900 PyObject
* obj1
= 0 ;
4902 (char *) "self",(char *) "menu", NULL
4905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4910 (arg1
)->RemoveMenu(arg2
);
4912 wxPyEndAllowThreads(__tstate
);
4913 if (PyErr_Occurred()) SWIG_fail
;
4915 Py_INCREF(Py_None
); resultobj
= Py_None
;
4922 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4923 PyObject
*resultobj
;
4924 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4925 wxConfigBase
*arg2
= 0 ;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4929 (char *) "self",(char *) "config", NULL
4932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
4933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->Load(*arg2
);
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 Py_INCREF(Py_None
); resultobj
= Py_None
;
4952 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4953 PyObject
*resultobj
;
4954 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4955 wxConfigBase
*arg2
= 0 ;
4956 PyObject
* obj0
= 0 ;
4957 PyObject
* obj1
= 0 ;
4959 (char *) "self",(char *) "config", NULL
4962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",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_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4966 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->Save(*arg2
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4985 PyObject
* obj0
= 0 ;
4987 (char *) "self", NULL
4990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
4991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4994 (arg1
)->AddFilesToMenu();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5009 wxMenu
*arg2
= (wxMenu
*) 0 ;
5010 PyObject
* obj0
= 0 ;
5011 PyObject
* obj1
= 0 ;
5013 (char *) "self",(char *) "menu", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 (arg1
)->AddFilesToMenu(arg2
);
5023 wxPyEndAllowThreads(__tstate
);
5024 if (PyErr_Occurred()) SWIG_fail
;
5026 Py_INCREF(Py_None
); resultobj
= Py_None
;
5033 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5040 (char *) "self",(char *) "i", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5047 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5049 wxPyEndAllowThreads(__tstate
);
5050 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5065 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5066 PyObject
*resultobj
;
5067 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5071 (char *) "self", NULL
5074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= PyInt_FromLong((long)result
);
5090 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5093 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5095 return Py_BuildValue((char *)"");
5097 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5098 PyObject
*resultobj
;
5099 wxString
*arg1
= 0 ;
5100 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5101 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5102 wxSingleInstanceChecker
*result
;
5103 bool temp1
= False
;
5104 bool temp2
= False
;
5105 PyObject
* obj0
= 0 ;
5106 PyObject
* obj1
= 0 ;
5108 (char *) "name",(char *) "path", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5113 arg1
= wxString_in_helper(obj0
);
5114 if (arg1
== NULL
) SWIG_fail
;
5119 arg2
= wxString_in_helper(obj1
);
5120 if (arg2
== NULL
) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5126 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5154 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxSingleInstanceChecker
*result
;
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5176 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5177 PyObject
*resultobj
;
5178 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5179 PyObject
* obj0
= 0 ;
5181 (char *) "self", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5190 wxPyEndAllowThreads(__tstate
);
5191 if (PyErr_Occurred()) SWIG_fail
;
5193 Py_INCREF(Py_None
); resultobj
= Py_None
;
5200 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5201 PyObject
*resultobj
;
5202 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5203 wxString
*arg2
= 0 ;
5204 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5205 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5207 bool temp2
= False
;
5208 bool temp3
= False
;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5211 PyObject
* obj2
= 0 ;
5213 (char *) "self",(char *) "name",(char *) "path", NULL
5216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5219 arg2
= wxString_in_helper(obj1
);
5220 if (arg2
== NULL
) SWIG_fail
;
5225 arg3
= wxString_in_helper(obj2
);
5226 if (arg3
== NULL
) SWIG_fail
;
5231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5232 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5234 wxPyEndAllowThreads(__tstate
);
5235 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= PyInt_FromLong((long)result
);
5260 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5264 PyObject
* obj0
= 0 ;
5266 (char *) "self", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= PyInt_FromLong((long)result
);
5285 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5288 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5290 return Py_BuildValue((char *)"");
5292 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxWindow
*arg1
= (wxWindow
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5298 PyObject
* obj1
= 0 ;
5300 (char *) "window",(char *) "dc",(char *) "method", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5305 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5307 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 Py_INCREF(Py_None
); resultobj
= Py_None
;
5323 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5328 (char *) "self", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5347 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (arg1
)->GetTip();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5367 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5369 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5378 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5384 (char *) "self", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (size_t)(arg1
)->GetCurrentTip();
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= PyInt_FromLong((long)result
);
5403 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5406 wxString
*arg2
= 0 ;
5408 bool temp2
= False
;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "tip", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5418 arg2
= wxString_in_helper(obj1
);
5419 if (arg2
== NULL
) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5450 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5453 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5455 return Py_BuildValue((char *)"");
5457 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5460 wxPyTipProvider
*result
;
5461 PyObject
* obj0
= 0 ;
5463 (char *) "currentTip", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5467 arg1
= (size_t) PyInt_AsLong(obj0
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5483 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5486 PyObject
*arg2
= (PyObject
*) 0 ;
5487 PyObject
*arg3
= (PyObject
*) 0 ;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 PyObject
* obj2
= 0 ;
5492 (char *) "self",(char *) "self",(char *) "_class", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 Py_INCREF(Py_None
); resultobj
= Py_None
;
5513 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5516 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5518 return Py_BuildValue((char *)"");
5520 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxWindow
*arg1
= (wxWindow
*) 0 ;
5523 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5524 bool arg3
= (bool) True
;
5526 PyObject
* obj0
= 0 ;
5527 PyObject
* obj1
= 0 ;
5528 PyObject
* obj2
= 0 ;
5530 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5535 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5537 arg3
= PyInt_AsLong(obj2
) ? true : false;
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= PyInt_FromLong((long)result
);
5554 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxString
*arg1
= 0 ;
5558 wxTipProvider
*result
;
5559 bool temp1
= False
;
5560 PyObject
* obj0
= 0 ;
5561 PyObject
* obj1
= 0 ;
5563 (char *) "filename",(char *) "currentTip", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5568 arg1
= wxString_in_helper(obj0
);
5569 if (arg1
== NULL
) SWIG_fail
;
5572 arg2
= (size_t) PyInt_AsLong(obj1
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5576 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5596 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5599 int arg2
= (int) -1 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "owner",(char *) "id", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5614 wxPyEndAllowThreads(__tstate
);
5615 if (PyErr_Occurred()) SWIG_fail
;
5617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5624 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5625 PyObject
*resultobj
;
5626 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5629 (char *) "self", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5641 Py_INCREF(Py_None
); resultobj
= Py_None
;
5648 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5649 PyObject
*resultobj
;
5650 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5651 PyObject
*arg2
= (PyObject
*) 0 ;
5652 PyObject
*arg3
= (PyObject
*) 0 ;
5653 PyObject
* obj0
= 0 ;
5654 PyObject
* obj1
= 0 ;
5655 PyObject
* obj2
= 0 ;
5657 (char *) "self",(char *) "self",(char *) "_class", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5666 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5668 wxPyEndAllowThreads(__tstate
);
5669 if (PyErr_Occurred()) SWIG_fail
;
5671 Py_INCREF(Py_None
); resultobj
= Py_None
;
5678 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5679 PyObject
*resultobj
;
5680 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5681 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5682 int arg3
= (int) -1 ;
5683 PyObject
* obj0
= 0 ;
5684 PyObject
* obj1
= 0 ;
5686 (char *) "self",(char *) "owner",(char *) "id", NULL
5689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 (arg1
)->SetOwner(arg2
,arg3
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5699 Py_INCREF(Py_None
); resultobj
= Py_None
;
5706 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5709 int arg2
= (int) -1 ;
5710 bool arg3
= (bool) False
;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj2
= 0 ;
5715 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5721 arg3
= PyInt_AsLong(obj2
) ? true : false;
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= PyInt_FromLong((long)result
);
5738 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5741 PyObject
* obj0
= 0 ;
5743 (char *) "self", NULL
5746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 Py_INCREF(Py_None
); resultobj
= Py_None
;
5762 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= PyInt_FromLong((long)result
);
5787 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5788 PyObject
*resultobj
;
5789 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5791 PyObject
* obj0
= 0 ;
5793 (char *) "self", NULL
5796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5800 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5805 resultobj
= PyInt_FromLong((long)result
);
5812 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5814 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5816 PyObject
* obj0
= 0 ;
5818 (char *) "self", NULL
5821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5827 wxPyEndAllowThreads(__tstate
);
5828 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= PyInt_FromLong((long)result
);
5837 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
;
5839 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5843 (char *) "self", NULL
5846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
5847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5850 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5855 resultobj
= PyInt_FromLong((long)result
);
5862 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5865 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5867 return Py_BuildValue((char *)"");
5869 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
;
5871 int arg1
= (int) 0 ;
5872 int arg2
= (int) 0 ;
5873 wxTimerEvent
*result
;
5875 (char *) "timerid",(char *) "interval", NULL
5878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5893 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5899 (char *) "self", NULL
5902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= PyInt_FromLong((long)result
);
5918 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5921 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5923 return Py_BuildValue((char *)"");
5925 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5926 PyObject
*resultobj
;
5928 wxTimerRunner
*result
;
5929 PyObject
* obj0
= 0 ;
5931 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
5932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5934 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5950 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
5951 PyObject
*resultobj
;
5954 bool arg3
= (bool) False
;
5955 wxTimerRunner
*result
;
5956 PyObject
* obj0
= 0 ;
5957 PyObject
* obj2
= 0 ;
5959 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5962 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5965 arg3
= PyInt_AsLong(obj2
) ? true : false;
5966 if (PyErr_Occurred()) SWIG_fail
;
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
5972 wxPyEndAllowThreads(__tstate
);
5973 if (PyErr_Occurred()) SWIG_fail
;
5975 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5982 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
5987 argc
= PyObject_Length(args
);
5988 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5989 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5995 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6003 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6006 if ((argc
>= 2) && (argc
<= 3)) {
6010 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6019 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6023 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6026 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6029 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6035 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6040 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6043 PyObject
* obj0
= 0 ;
6045 (char *) "self", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
;
6066 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6068 bool arg3
= (bool) False
;
6069 PyObject
* obj0
= 0 ;
6070 PyObject
* obj2
= 0 ;
6072 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6078 arg3
= PyInt_AsLong(obj2
) ? true : false;
6079 if (PyErr_Occurred()) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6083 (arg1
)->Start(arg2
,arg3
);
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 Py_INCREF(Py_None
); resultobj
= Py_None
;
6095 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6098 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6100 return Py_BuildValue((char *)"");
6102 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 result
= (wxLog
*)new wxLog();
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6124 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (bool)wxLog::IsEnabled();
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= PyInt_FromLong((long)result
);
6146 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6147 PyObject
*resultobj
;
6148 bool arg1
= (bool) True
;
6150 PyObject
* obj0
= 0 ;
6152 (char *) "doIt", NULL
6155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6157 arg1
= PyInt_AsLong(obj0
) ? true : false;
6158 if (PyErr_Occurred()) SWIG_fail
;
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6162 result
= (bool)wxLog::EnableLogging(arg1
);
6164 wxPyEndAllowThreads(__tstate
);
6165 if (PyErr_Occurred()) SWIG_fail
;
6167 resultobj
= PyInt_FromLong((long)result
);
6174 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6175 PyObject
*resultobj
;
6177 wxChar
*arg2
= (wxChar
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6181 PyObject
* obj2
= 0 ;
6183 (char *) "level",(char *) "szString",(char *) "t", NULL
6186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6187 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6190 arg3
= (time_t) PyInt_AsLong(obj2
);
6191 if (PyErr_Occurred()) SWIG_fail
;
6193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6194 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6199 Py_INCREF(Py_None
); resultobj
= Py_None
;
6206 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6207 PyObject
*resultobj
;
6208 wxLog
*arg1
= (wxLog
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 Py_INCREF(Py_None
); resultobj
= Py_None
;
6230 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6231 PyObject
*resultobj
;
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxLog::FlushActive();
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 Py_INCREF(Py_None
); resultobj
= Py_None
;
6251 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 result
= (wxLog
*)wxLog::GetActiveTarget();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6273 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxLog
*arg1
= (wxLog
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "pLogger", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6286 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6288 wxPyEndAllowThreads(__tstate
);
6289 if (PyErr_Occurred()) SWIG_fail
;
6291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6298 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
;
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 Py_INCREF(Py_None
); resultobj
= Py_None
;
6319 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 wxPyEndAllowThreads(__tstate
);
6331 if (PyErr_Occurred()) SWIG_fail
;
6333 Py_INCREF(Py_None
); resultobj
= Py_None
;
6340 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 bool arg1
= (bool) True
;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "bVerbose", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6350 arg1
= PyInt_AsLong(obj0
) ? true : false;
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 wxLog::SetVerbose(arg1
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6367 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6370 PyObject
* obj0
= 0 ;
6372 (char *) "logLevel", NULL
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6376 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 wxLog::SetLogLevel(arg1
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 Py_INCREF(Py_None
); resultobj
= Py_None
;
6392 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxLog::DontCreateOnDemand();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "ulMask", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6422 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 wxLog::SetTraceMask(arg1
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxString
*arg1
= 0 ;
6441 bool temp1
= False
;
6442 PyObject
* obj0
= 0 ;
6444 (char *) "str", NULL
6447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6449 arg1
= wxString_in_helper(obj0
);
6450 if (arg1
== NULL
) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 wxLog::AddTraceMask((wxString
const &)*arg1
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6460 Py_INCREF(Py_None
); resultobj
= Py_None
;
6475 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxString
*arg1
= 0 ;
6478 bool temp1
= False
;
6479 PyObject
* obj0
= 0 ;
6481 (char *) "str", NULL
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6486 arg1
= wxString_in_helper(obj0
);
6487 if (arg1
== NULL
) SWIG_fail
;
6491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6492 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 Py_INCREF(Py_None
); resultobj
= Py_None
;
6512 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6513 PyObject
*resultobj
;
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxLog::ClearTraceMasks();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 Py_INCREF(Py_None
); resultobj
= Py_None
;
6533 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6534 PyObject
*resultobj
;
6535 wxArrayString
*result
;
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6544 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6545 result
= (wxArrayString
*) &_result_ref
;
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6552 resultobj
= wxArrayString2PyList_helper(*result
);
6560 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxChar
*arg1
= (wxChar
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6572 wxLog::SetTimestamp((wxChar
const *)arg1
);
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6577 Py_INCREF(Py_None
); resultobj
= Py_None
;
6584 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6585 PyObject
*resultobj
;
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 result
= (bool)wxLog::GetVerbose();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 resultobj
= PyInt_FromLong((long)result
);
6606 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (wxTraceMask
)wxLog::GetTraceMask();
6618 wxPyEndAllowThreads(__tstate
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= PyInt_FromLong((long)result
);
6628 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6629 PyObject
*resultobj
;
6630 wxChar
*arg1
= (wxChar
*) 0 ;
6632 PyObject
* obj0
= 0 ;
6634 (char *) "mask", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6646 resultobj
= PyInt_FromLong((long)result
);
6653 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6663 result
= (wxLogLevel
)wxLog::GetLogLevel();
6665 wxPyEndAllowThreads(__tstate
);
6666 if (PyErr_Occurred()) SWIG_fail
;
6668 resultobj
= PyInt_FromLong((long)result
);
6675 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6685 result
= (wxChar
*)wxLog::GetTimestamp();
6687 wxPyEndAllowThreads(__tstate
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6697 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= Log_TimeStamp();
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6725 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
;
6727 wxLog
*arg1
= (wxLog
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6730 (char *) "self", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 wxLog_Destroy(arg1
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6742 Py_INCREF(Py_None
); resultobj
= Py_None
;
6749 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6752 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6754 return Py_BuildValue((char *)"");
6756 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxLogStderr
*result
;
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6766 result
= (wxLogStderr
*)new wxLogStderr();
6768 wxPyEndAllowThreads(__tstate
);
6769 if (PyErr_Occurred()) SWIG_fail
;
6771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6778 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6781 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6783 return Py_BuildValue((char *)"");
6785 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6788 wxLogTextCtrl
*result
;
6789 PyObject
* obj0
= 0 ;
6791 (char *) "pTextCtrl", NULL
6794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6798 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6800 wxPyEndAllowThreads(__tstate
);
6801 if (PyErr_Occurred()) SWIG_fail
;
6803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6810 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6813 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6815 return Py_BuildValue((char *)"");
6817 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (wxLogGui
*)new wxLogGui();
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6839 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6842 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6844 return Py_BuildValue((char *)"");
6846 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6847 PyObject
*resultobj
;
6848 wxFrame
*arg1
= (wxFrame
*) 0 ;
6849 wxString
*arg2
= 0 ;
6850 bool arg3
= (bool) True
;
6851 bool arg4
= (bool) True
;
6852 wxLogWindow
*result
;
6853 bool temp2
= False
;
6854 PyObject
* obj0
= 0 ;
6855 PyObject
* obj1
= 0 ;
6856 PyObject
* obj2
= 0 ;
6857 PyObject
* obj3
= 0 ;
6859 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 arg2
= wxString_in_helper(obj1
);
6866 if (arg2
== NULL
) SWIG_fail
;
6870 arg3
= PyInt_AsLong(obj2
) ? true : false;
6871 if (PyErr_Occurred()) SWIG_fail
;
6874 arg4
= PyInt_AsLong(obj3
) ? true : false;
6875 if (PyErr_Occurred()) SWIG_fail
;
6878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6879 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6881 wxPyEndAllowThreads(__tstate
);
6882 if (PyErr_Occurred()) SWIG_fail
;
6884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6899 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6902 bool arg2
= (bool) True
;
6903 PyObject
* obj0
= 0 ;
6904 PyObject
* obj1
= 0 ;
6906 (char *) "self",(char *) "bShow", NULL
6909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6912 arg2
= PyInt_AsLong(obj1
) ? true : false;
6913 if (PyErr_Occurred()) SWIG_fail
;
6916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6919 wxPyEndAllowThreads(__tstate
);
6920 if (PyErr_Occurred()) SWIG_fail
;
6922 Py_INCREF(Py_None
); resultobj
= Py_None
;
6929 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6933 PyObject
* obj0
= 0 ;
6935 (char *) "self", NULL
6938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
6939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6948 resultobj
= wxPyMake_wxObject(result
);
6956 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6957 PyObject
*resultobj
;
6958 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6960 PyObject
* obj0
= 0 ;
6962 (char *) "self", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6981 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6985 PyObject
* obj0
= 0 ;
6987 (char *) "self", NULL
6990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
6991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
6996 wxPyEndAllowThreads(__tstate
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= PyInt_FromLong((long)result
);
7006 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7010 PyObject
* obj0
= 0 ;
7011 PyObject
* obj1
= 0 ;
7013 (char *) "self",(char *) "bDoPass", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7018 arg2
= PyInt_AsLong(obj1
) ? true : false;
7019 if (PyErr_Occurred()) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 (arg1
)->PassMessages(arg2
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 Py_INCREF(Py_None
); resultobj
= Py_None
;
7034 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7037 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7039 return Py_BuildValue((char *)"");
7041 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7042 PyObject
*resultobj
;
7043 wxLog
*arg1
= (wxLog
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7047 (char *) "logger", NULL
7050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7054 result
= (wxLogChain
*)new wxLogChain(arg1
);
7056 wxPyEndAllowThreads(__tstate
);
7057 if (PyErr_Occurred()) SWIG_fail
;
7059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7066 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7067 PyObject
*resultobj
;
7068 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7069 wxLog
*arg2
= (wxLog
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7073 (char *) "self",(char *) "logger", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 (arg1
)->SetLog(arg2
);
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 Py_INCREF(Py_None
); resultobj
= Py_None
;
7093 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "bDoPass", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7105 arg2
= PyInt_AsLong(obj1
) ? true : false;
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 (arg1
)->PassMessages(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7125 PyObject
* obj0
= 0 ;
7127 (char *) "self", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7134 result
= (bool)(arg1
)->IsPassingMessages();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= PyInt_FromLong((long)result
);
7146 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7147 PyObject
*resultobj
;
7148 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7150 PyObject
* obj0
= 0 ;
7152 (char *) "self", NULL
7155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 result
= (wxLog
*)(arg1
)->GetOldLog();
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7171 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7174 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7176 return Py_BuildValue((char *)"");
7178 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 unsigned long result
;
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (unsigned long)wxSysErrorCode();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= PyInt_FromLong((long)result
);
7200 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 unsigned long arg1
= (unsigned long) 0 ;
7204 PyObject
* obj0
= 0 ;
7206 (char *) "nErrCode", NULL
7209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7211 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 result
= wxSysErrorMsg(arg1
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7234 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 wxString
*arg1
= 0 ;
7237 bool temp1
= False
;
7238 PyObject
* obj0
= 0 ;
7240 (char *) "msg", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7245 arg1
= wxString_in_helper(obj0
);
7246 if (arg1
== NULL
) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 wxLogFatalError((wxString
const &)*arg1
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxString
*arg1
= 0 ;
7274 bool temp1
= False
;
7275 PyObject
* obj0
= 0 ;
7277 (char *) "msg", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7282 arg1
= wxString_in_helper(obj0
);
7283 if (arg1
== NULL
) SWIG_fail
;
7287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7288 wxLogError((wxString
const &)*arg1
);
7290 wxPyEndAllowThreads(__tstate
);
7291 if (PyErr_Occurred()) SWIG_fail
;
7293 Py_INCREF(Py_None
); resultobj
= Py_None
;
7308 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7309 PyObject
*resultobj
;
7310 wxString
*arg1
= 0 ;
7311 bool temp1
= False
;
7312 PyObject
* obj0
= 0 ;
7314 (char *) "msg", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7319 arg1
= wxString_in_helper(obj0
);
7320 if (arg1
== NULL
) SWIG_fail
;
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 wxLogWarning((wxString
const &)*arg1
);
7327 wxPyEndAllowThreads(__tstate
);
7328 if (PyErr_Occurred()) SWIG_fail
;
7330 Py_INCREF(Py_None
); resultobj
= Py_None
;
7345 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7346 PyObject
*resultobj
;
7347 wxString
*arg1
= 0 ;
7348 bool temp1
= False
;
7349 PyObject
* obj0
= 0 ;
7351 (char *) "msg", NULL
7354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7356 arg1
= wxString_in_helper(obj0
);
7357 if (arg1
== NULL
) SWIG_fail
;
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 wxLogMessage((wxString
const &)*arg1
);
7364 wxPyEndAllowThreads(__tstate
);
7365 if (PyErr_Occurred()) SWIG_fail
;
7367 Py_INCREF(Py_None
); resultobj
= Py_None
;
7382 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7383 PyObject
*resultobj
;
7384 wxString
*arg1
= 0 ;
7385 bool temp1
= False
;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "msg", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7393 arg1
= wxString_in_helper(obj0
);
7394 if (arg1
== NULL
) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 wxLogInfo((wxString
const &)*arg1
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 Py_INCREF(Py_None
); resultobj
= Py_None
;
7419 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxString
*arg1
= 0 ;
7422 bool temp1
= False
;
7423 PyObject
* obj0
= 0 ;
7425 (char *) "msg", NULL
7428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7430 arg1
= wxString_in_helper(obj0
);
7431 if (arg1
== NULL
) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 wxLogDebug((wxString
const &)*arg1
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 Py_INCREF(Py_None
); resultobj
= Py_None
;
7456 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7457 PyObject
*resultobj
;
7458 wxString
*arg1
= 0 ;
7459 bool temp1
= False
;
7460 PyObject
* obj0
= 0 ;
7462 (char *) "msg", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7467 arg1
= wxString_in_helper(obj0
);
7468 if (arg1
== NULL
) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 wxLogVerbose((wxString
const &)*arg1
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7478 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxString
*arg1
= 0 ;
7496 bool temp1
= False
;
7497 PyObject
* obj0
= 0 ;
7499 (char *) "msg", NULL
7502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7504 arg1
= wxString_in_helper(obj0
);
7505 if (arg1
== NULL
) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 wxLogStatus((wxString
const &)*arg1
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 Py_INCREF(Py_None
); resultobj
= Py_None
;
7530 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxFrame
*arg1
= (wxFrame
*) 0 ;
7533 wxString
*arg2
= 0 ;
7534 bool temp2
= False
;
7535 PyObject
* obj0
= 0 ;
7536 PyObject
* obj1
= 0 ;
7538 (char *) "pFrame",(char *) "msg", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7544 arg2
= wxString_in_helper(obj1
);
7545 if (arg2
== NULL
) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7555 Py_INCREF(Py_None
); resultobj
= Py_None
;
7570 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxString
*arg1
= 0 ;
7573 bool temp1
= False
;
7574 PyObject
* obj0
= 0 ;
7576 (char *) "msg", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7581 arg1
= wxString_in_helper(obj0
);
7582 if (arg1
== NULL
) SWIG_fail
;
7586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7587 wxLogSysError((wxString
const &)*arg1
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 Py_INCREF(Py_None
); resultobj
= Py_None
;
7607 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
7608 PyObject
*resultobj
;
7609 unsigned long arg1
;
7610 wxString
*arg2
= 0 ;
7611 bool temp2
= False
;
7612 PyObject
* obj0
= 0 ;
7613 PyObject
* obj1
= 0 ;
7615 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7616 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 arg2
= wxString_in_helper(obj1
);
7620 if (arg2
== NULL
) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 wxLogTrace(arg1
,(wxString
const &)*arg2
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 Py_INCREF(Py_None
); resultobj
= Py_None
;
7645 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
7646 PyObject
*resultobj
;
7647 wxString
*arg1
= 0 ;
7648 wxString
*arg2
= 0 ;
7649 bool temp1
= False
;
7650 bool temp2
= False
;
7651 PyObject
* obj0
= 0 ;
7652 PyObject
* obj1
= 0 ;
7654 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7656 arg1
= wxString_in_helper(obj0
);
7657 if (arg1
== NULL
) SWIG_fail
;
7661 arg2
= wxString_in_helper(obj1
);
7662 if (arg2
== NULL
) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 Py_INCREF(Py_None
); resultobj
= Py_None
;
7695 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
7700 argc
= PyObject_Length(args
);
7701 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
7702 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7708 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7718 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7726 return _wrap_LogTrace__SWIG_1(self
,args
);
7733 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7738 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7746 return _wrap_LogTrace__SWIG_0(self
,args
);
7751 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
7756 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 unsigned long arg1
;
7759 wxString
*arg2
= 0 ;
7760 bool temp2
= False
;
7761 PyObject
* obj0
= 0 ;
7762 PyObject
* obj1
= 0 ;
7764 (char *) "level",(char *) "msg", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7768 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 arg2
= wxString_in_helper(obj1
);
7772 if (arg2
== NULL
) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7782 Py_INCREF(Py_None
); resultobj
= Py_None
;
7797 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7798 PyObject
*resultobj
;
7799 wxString
*arg1
= 0 ;
7800 wxString
*arg2
= 0 ;
7801 bool temp1
= False
;
7802 bool temp2
= False
;
7803 PyObject
* obj0
= 0 ;
7804 PyObject
* obj1
= 0 ;
7806 (char *) "title",(char *) "text", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7811 arg1
= wxString_in_helper(obj0
);
7812 if (arg1
== NULL
) SWIG_fail
;
7816 arg2
= wxString_in_helper(obj1
);
7817 if (arg2
== NULL
) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 Py_INCREF(Py_None
); resultobj
= Py_None
;
7850 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 result
= (wxLogNull
*)new wxLogNull();
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7872 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7875 PyObject
* obj0
= 0 ;
7877 (char *) "self", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 Py_INCREF(Py_None
); resultobj
= Py_None
;
7896 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7899 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7901 return Py_BuildValue((char *)"");
7903 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (wxPyLog
*)new wxPyLog();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7918 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7925 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7926 PyObject
*resultobj
;
7927 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7928 PyObject
*arg2
= (PyObject
*) 0 ;
7929 PyObject
*arg3
= (PyObject
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7931 PyObject
* obj1
= 0 ;
7932 PyObject
* obj2
= 0 ;
7934 (char *) "self",(char *) "self",(char *) "_class", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
7957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7958 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
7960 return Py_BuildValue((char *)"");
7962 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7963 PyObject
*resultobj
;
7965 int arg2
= (int) wxSIGTERM
;
7968 (char *) "pid",(char *) "sig", NULL
7971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= PyInt_FromLong((long)result
);
7986 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7991 (char *) "pid", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (bool)wxPyProcess::Exists(arg1
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= PyInt_FromLong((long)result
);
8009 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxString
*arg1
= 0 ;
8012 int arg2
= (int) wxEXEC_ASYNC
;
8013 wxPyProcess
*result
;
8014 bool temp1
= False
;
8015 PyObject
* obj0
= 0 ;
8017 (char *) "cmd",(char *) "flags", NULL
8020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
8022 arg1
= wxString_in_helper(obj0
);
8023 if (arg1
== NULL
) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8048 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8049 PyObject
*resultobj
;
8050 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8051 int arg2
= (int) -1 ;
8052 wxPyProcess
*result
;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "parent",(char *) "id", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8076 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8077 PyObject
*resultobj
;
8078 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8079 PyObject
*arg2
= (PyObject
*) 0 ;
8080 PyObject
*arg3
= (PyObject
*) 0 ;
8081 PyObject
* obj0
= 0 ;
8082 PyObject
* obj1
= 0 ;
8083 PyObject
* obj2
= 0 ;
8085 (char *) "self",(char *) "self",(char *) "_class", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 Py_INCREF(Py_None
); resultobj
= Py_None
;
8106 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8107 PyObject
*resultobj
;
8108 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8111 PyObject
* obj0
= 0 ;
8113 (char *) "self",(char *) "pid",(char *) "status", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 (arg1
)->base_OnTerminate(arg2
,arg3
);
8122 wxPyEndAllowThreads(__tstate
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8125 Py_INCREF(Py_None
); resultobj
= Py_None
;
8132 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8135 PyObject
* obj0
= 0 ;
8137 (char *) "self", NULL
8140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 Py_INCREF(Py_None
); resultobj
= Py_None
;
8156 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (bool)(arg1
)->IsRedirected();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 resultobj
= PyInt_FromLong((long)result
);
8181 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8182 PyObject
*resultobj
;
8183 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8208 wxInputStream
*result
;
8209 PyObject
* obj0
= 0 ;
8211 (char *) "self", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8218 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8220 wxPyEndAllowThreads(__tstate
);
8221 if (PyErr_Occurred()) SWIG_fail
;
8224 wxPyInputStream
* _ptr
= NULL
;
8227 _ptr
= new wxPyInputStream(result
);
8229 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8237 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
;
8239 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8240 wxInputStream
*result
;
8241 PyObject
* obj0
= 0 ;
8243 (char *) "self", NULL
8246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8256 wxPyInputStream
* _ptr
= NULL
;
8259 _ptr
= new wxPyInputStream(result
);
8261 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8269 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8270 PyObject
*resultobj
;
8271 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8272 wxOutputStream
*result
;
8273 PyObject
* obj0
= 0 ;
8275 (char *) "self", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8284 wxPyEndAllowThreads(__tstate
);
8285 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8294 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8295 PyObject
*resultobj
;
8296 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8297 PyObject
* obj0
= 0 ;
8299 (char *) "self", NULL
8302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 (arg1
)->CloseOutput();
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8311 Py_INCREF(Py_None
); resultobj
= Py_None
;
8318 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8319 PyObject
*resultobj
;
8320 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8322 PyObject
* obj0
= 0 ;
8324 (char *) "self", NULL
8327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyInt_FromLong((long)result
);
8343 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8347 PyObject
* obj0
= 0 ;
8349 (char *) "self", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8356 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8358 wxPyEndAllowThreads(__tstate
);
8359 if (PyErr_Occurred()) SWIG_fail
;
8361 resultobj
= PyInt_FromLong((long)result
);
8368 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8372 PyObject
* obj0
= 0 ;
8374 (char *) "self", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8381 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8383 wxPyEndAllowThreads(__tstate
);
8384 if (PyErr_Occurred()) SWIG_fail
;
8386 resultobj
= PyInt_FromLong((long)result
);
8393 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8396 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8398 return Py_BuildValue((char *)"");
8400 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8401 PyObject
*resultobj
;
8402 int arg1
= (int) 0 ;
8403 int arg2
= (int) 0 ;
8404 int arg3
= (int) 0 ;
8405 wxProcessEvent
*result
;
8407 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8413 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8415 wxPyEndAllowThreads(__tstate
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8418 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8425 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8426 PyObject
*resultobj
;
8427 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8429 PyObject
* obj0
= 0 ;
8431 (char *) "self", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (int)(arg1
)->GetPid();
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= PyInt_FromLong((long)result
);
8450 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8451 PyObject
*resultobj
;
8452 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8454 PyObject
* obj0
= 0 ;
8456 (char *) "self", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8463 result
= (int)(arg1
)->GetExitCode();
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 resultobj
= PyInt_FromLong((long)result
);
8475 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8476 PyObject
*resultobj
;
8477 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8479 PyObject
* obj0
= 0 ;
8481 (char *) "self",(char *) "m_pid", NULL
8484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8486 if (arg1
) (arg1
)->m_pid
= arg2
;
8488 Py_INCREF(Py_None
); resultobj
= Py_None
;
8495 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8496 PyObject
*resultobj
;
8497 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8499 PyObject
* obj0
= 0 ;
8501 (char *) "self", NULL
8504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8506 result
= (int) ((arg1
)->m_pid
);
8508 resultobj
= PyInt_FromLong((long)result
);
8515 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8521 (char *) "self",(char *) "m_exitcode", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8526 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8528 Py_INCREF(Py_None
); resultobj
= Py_None
;
8535 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8536 PyObject
*resultobj
;
8537 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8539 PyObject
* obj0
= 0 ;
8541 (char *) "self", NULL
8544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8546 result
= (int) ((arg1
)->m_exitcode
);
8548 resultobj
= PyInt_FromLong((long)result
);
8555 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8558 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8560 return Py_BuildValue((char *)"");
8562 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxString
*arg1
= 0 ;
8565 int arg2
= (int) wxEXEC_ASYNC
;
8566 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8568 bool temp1
= False
;
8569 PyObject
* obj0
= 0 ;
8570 PyObject
* obj2
= 0 ;
8572 (char *) "command",(char *) "flags",(char *) "process", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8577 arg1
= wxString_in_helper(obj0
);
8578 if (arg1
== NULL
) SWIG_fail
;
8582 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= PyInt_FromLong((long)result
);
8606 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 int arg1
= (int) wxJOYSTICK1
;
8611 (char *) "joystick", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (wxJoystick
*)new wxJoystick(arg1
);
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8629 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8632 PyObject
* obj0
= 0 ;
8634 (char *) "self", NULL
8637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 Py_INCREF(Py_None
); resultobj
= Py_None
;
8653 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "self", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (arg1
)->GetPosition();
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8672 wxPoint
* resultptr
;
8673 resultptr
= new wxPoint((wxPoint
&) result
);
8674 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8682 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8683 PyObject
*resultobj
;
8684 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8686 PyObject
* obj0
= 0 ;
8688 (char *) "self", NULL
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (int)(arg1
)->GetZPosition();
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= PyInt_FromLong((long)result
);
8707 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "self", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (int)(arg1
)->GetButtonState();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= PyInt_FromLong((long)result
);
8732 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (int)(arg1
)->GetPOVPosition();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= PyInt_FromLong((long)result
);
8757 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (int)(arg1
)->GetPOVCTSPosition();
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= PyInt_FromLong((long)result
);
8782 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8786 PyObject
* obj0
= 0 ;
8788 (char *) "self", NULL
8791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8795 result
= (int)(arg1
)->GetRudderPosition();
8797 wxPyEndAllowThreads(__tstate
);
8798 if (PyErr_Occurred()) SWIG_fail
;
8800 resultobj
= PyInt_FromLong((long)result
);
8807 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8808 PyObject
*resultobj
;
8809 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8811 PyObject
* obj0
= 0 ;
8813 (char *) "self", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8820 result
= (int)(arg1
)->GetUPosition();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= PyInt_FromLong((long)result
);
8832 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
;
8834 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8836 PyObject
* obj0
= 0 ;
8838 (char *) "self", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8845 result
= (int)(arg1
)->GetVPosition();
8847 wxPyEndAllowThreads(__tstate
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= PyInt_FromLong((long)result
);
8857 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8861 PyObject
* obj0
= 0 ;
8863 (char *) "self", NULL
8866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8870 result
= (int)(arg1
)->GetMovementThreshold();
8872 wxPyEndAllowThreads(__tstate
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8875 resultobj
= PyInt_FromLong((long)result
);
8882 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8883 PyObject
*resultobj
;
8884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8886 PyObject
* obj0
= 0 ;
8888 (char *) "self",(char *) "threshold", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 (arg1
)->SetMovementThreshold(arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "self", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (bool)(arg1
)->IsOk();
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= PyInt_FromLong((long)result
);
8932 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (int)(arg1
)->GetNumberJoysticks();
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= PyInt_FromLong((long)result
);
8957 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8963 (char *) "self", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (int)(arg1
)->GetManufacturerId();
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= PyInt_FromLong((long)result
);
8982 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8986 PyObject
* obj0
= 0 ;
8988 (char *) "self", NULL
8991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
8992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8995 result
= (int)(arg1
)->GetProductId();
8997 wxPyEndAllowThreads(__tstate
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 resultobj
= PyInt_FromLong((long)result
);
9007 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9008 PyObject
*resultobj
;
9009 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9013 (char *) "self", NULL
9016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 result
= (arg1
)->GetProductName();
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9038 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9039 PyObject
*resultobj
;
9040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9042 PyObject
* obj0
= 0 ;
9044 (char *) "self", NULL
9047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9051 result
= (int)(arg1
)->GetXMin();
9053 wxPyEndAllowThreads(__tstate
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9056 resultobj
= PyInt_FromLong((long)result
);
9063 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9064 PyObject
*resultobj
;
9065 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9069 (char *) "self", NULL
9072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 result
= (int)(arg1
)->GetYMin();
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 resultobj
= PyInt_FromLong((long)result
);
9088 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9092 PyObject
* obj0
= 0 ;
9094 (char *) "self", NULL
9097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (int)(arg1
)->GetZMin();
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= PyInt_FromLong((long)result
);
9113 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9117 PyObject
* obj0
= 0 ;
9119 (char *) "self", NULL
9122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 result
= (int)(arg1
)->GetXMax();
9128 wxPyEndAllowThreads(__tstate
);
9129 if (PyErr_Occurred()) SWIG_fail
;
9131 resultobj
= PyInt_FromLong((long)result
);
9138 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9139 PyObject
*resultobj
;
9140 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9142 PyObject
* obj0
= 0 ;
9144 (char *) "self", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (int)(arg1
)->GetYMax();
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= PyInt_FromLong((long)result
);
9163 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9167 PyObject
* obj0
= 0 ;
9169 (char *) "self", NULL
9172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (int)(arg1
)->GetZMax();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= PyInt_FromLong((long)result
);
9188 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9192 PyObject
* obj0
= 0 ;
9194 (char *) "self", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (int)(arg1
)->GetNumberButtons();
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= PyInt_FromLong((long)result
);
9213 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
;
9215 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9217 PyObject
* obj0
= 0 ;
9219 (char *) "self", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (int)(arg1
)->GetNumberAxes();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9231 resultobj
= PyInt_FromLong((long)result
);
9238 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9242 PyObject
* obj0
= 0 ;
9244 (char *) "self", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 result
= (int)(arg1
)->GetMaxButtons();
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9256 resultobj
= PyInt_FromLong((long)result
);
9263 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9267 PyObject
* obj0
= 0 ;
9269 (char *) "self", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (int)(arg1
)->GetMaxAxes();
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= PyInt_FromLong((long)result
);
9288 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9301 result
= (int)(arg1
)->GetPollingMin();
9303 wxPyEndAllowThreads(__tstate
);
9304 if (PyErr_Occurred()) SWIG_fail
;
9306 resultobj
= PyInt_FromLong((long)result
);
9313 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9317 PyObject
* obj0
= 0 ;
9319 (char *) "self", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (int)(arg1
)->GetPollingMax();
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9331 resultobj
= PyInt_FromLong((long)result
);
9338 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9342 PyObject
* obj0
= 0 ;
9344 (char *) "self", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (int)(arg1
)->GetRudderMin();
9353 wxPyEndAllowThreads(__tstate
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= PyInt_FromLong((long)result
);
9363 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9364 PyObject
*resultobj
;
9365 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "self", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (int)(arg1
)->GetRudderMax();
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= PyInt_FromLong((long)result
);
9388 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9392 PyObject
* obj0
= 0 ;
9394 (char *) "self", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (int)(arg1
)->GetUMin();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 resultobj
= PyInt_FromLong((long)result
);
9413 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9414 PyObject
*resultobj
;
9415 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9417 PyObject
* obj0
= 0 ;
9419 (char *) "self", NULL
9422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)(arg1
)->GetUMax();
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= PyInt_FromLong((long)result
);
9438 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9451 result
= (int)(arg1
)->GetVMin();
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= PyInt_FromLong((long)result
);
9463 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9476 result
= (int)(arg1
)->GetVMax();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9481 resultobj
= PyInt_FromLong((long)result
);
9488 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9494 (char *) "self", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (bool)(arg1
)->HasRudder();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= PyInt_FromLong((long)result
);
9513 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "self", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)(arg1
)->HasZ();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= PyInt_FromLong((long)result
);
9538 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
;
9540 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9542 PyObject
* obj0
= 0 ;
9544 (char *) "self", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 result
= (bool)(arg1
)->HasU();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= PyInt_FromLong((long)result
);
9563 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)(arg1
)->HasV();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= PyInt_FromLong((long)result
);
9588 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9589 PyObject
*resultobj
;
9590 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9592 PyObject
* obj0
= 0 ;
9594 (char *) "self", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9601 result
= (bool)(arg1
)->HasPOV();
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9606 resultobj
= PyInt_FromLong((long)result
);
9613 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9614 PyObject
*resultobj
;
9615 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9617 PyObject
* obj0
= 0 ;
9619 (char *) "self", NULL
9622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (bool)(arg1
)->HasPOV4Dir();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= PyInt_FromLong((long)result
);
9638 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9644 (char *) "self", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (bool)(arg1
)->HasPOVCTS();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= PyInt_FromLong((long)result
);
9663 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9666 wxWindow
*arg2
= (wxWindow
*) 0 ;
9667 int arg3
= (int) 0 ;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9672 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9680 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9682 wxPyEndAllowThreads(__tstate
);
9683 if (PyErr_Occurred()) SWIG_fail
;
9685 resultobj
= PyInt_FromLong((long)result
);
9692 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9693 PyObject
*resultobj
;
9694 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9696 PyObject
* obj0
= 0 ;
9698 (char *) "self", NULL
9701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (bool)(arg1
)->ReleaseCapture();
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= PyInt_FromLong((long)result
);
9717 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9720 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9722 return Py_BuildValue((char *)"");
9724 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9725 PyObject
*resultobj
;
9726 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9727 wxPoint
*arg2
= (wxPoint
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9731 (char *) "self",(char *) "m_pos", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9736 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9737 if (arg1
) (arg1
)->m_pos
= *arg2
;
9739 Py_INCREF(Py_None
); resultobj
= Py_None
;
9746 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9747 PyObject
*resultobj
;
9748 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9757 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9766 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
;
9768 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9770 PyObject
* obj0
= 0 ;
9772 (char *) "self",(char *) "m_zPosition", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9777 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9779 Py_INCREF(Py_None
); resultobj
= Py_None
;
9786 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9790 PyObject
* obj0
= 0 ;
9792 (char *) "self", NULL
9795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9797 result
= (int) ((arg1
)->m_zPosition
);
9799 resultobj
= PyInt_FromLong((long)result
);
9806 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9807 PyObject
*resultobj
;
9808 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9810 PyObject
* obj0
= 0 ;
9812 (char *) "self",(char *) "m_buttonChange", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9817 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9819 Py_INCREF(Py_None
); resultobj
= Py_None
;
9826 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9827 PyObject
*resultobj
;
9828 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9830 PyObject
* obj0
= 0 ;
9832 (char *) "self", NULL
9835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9837 result
= (int) ((arg1
)->m_buttonChange
);
9839 resultobj
= PyInt_FromLong((long)result
);
9846 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9847 PyObject
*resultobj
;
9848 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9850 PyObject
* obj0
= 0 ;
9852 (char *) "self",(char *) "m_buttonState", NULL
9855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9857 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9859 Py_INCREF(Py_None
); resultobj
= Py_None
;
9866 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9872 (char *) "self", NULL
9875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9877 result
= (int) ((arg1
)->m_buttonState
);
9879 resultobj
= PyInt_FromLong((long)result
);
9886 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9887 PyObject
*resultobj
;
9888 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9890 PyObject
* obj0
= 0 ;
9892 (char *) "self",(char *) "m_joyStick", NULL
9895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9897 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9899 Py_INCREF(Py_None
); resultobj
= Py_None
;
9906 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9917 result
= (int) ((arg1
)->m_joyStick
);
9919 resultobj
= PyInt_FromLong((long)result
);
9926 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
;
9928 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9929 int arg2
= (int) 0 ;
9930 int arg3
= (int) wxJOYSTICK1
;
9931 int arg4
= (int) 0 ;
9932 wxJoystickEvent
*result
;
9934 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9940 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
9942 wxPyEndAllowThreads(__tstate
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
9952 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9971 wxPoint
* resultptr
;
9972 resultptr
= new wxPoint((wxPoint
&) result
);
9973 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9981 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9982 PyObject
*resultobj
;
9983 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9985 PyObject
* obj0
= 0 ;
9987 (char *) "self", NULL
9990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
9991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= PyInt_FromLong((long)result
);
10006 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10007 PyObject
*resultobj
;
10008 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10010 PyObject
* obj0
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 resultobj
= PyInt_FromLong((long)result
);
10031 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10044 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10046 wxPyEndAllowThreads(__tstate
);
10047 if (PyErr_Occurred()) SWIG_fail
;
10049 resultobj
= PyInt_FromLong((long)result
);
10056 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10057 PyObject
*resultobj
;
10058 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10060 PyObject
* obj0
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10074 resultobj
= PyInt_FromLong((long)result
);
10081 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10082 PyObject
*resultobj
;
10083 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10085 PyObject
* obj0
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "stick", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10094 (arg1
)->SetJoystick(arg2
);
10096 wxPyEndAllowThreads(__tstate
);
10097 if (PyErr_Occurred()) SWIG_fail
;
10099 Py_INCREF(Py_None
); resultobj
= Py_None
;
10106 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10107 PyObject
*resultobj
;
10108 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10110 PyObject
* obj0
= 0 ;
10111 char *kwnames
[] = {
10112 (char *) "self",(char *) "state", NULL
10115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 (arg1
)->SetButtonState(arg2
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 Py_INCREF(Py_None
); resultobj
= Py_None
;
10131 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 char *kwnames
[] = {
10137 (char *) "self",(char *) "change", NULL
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 (arg1
)->SetButtonChange(arg2
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 Py_INCREF(Py_None
); resultobj
= Py_None
;
10156 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10159 wxPoint
*arg2
= 0 ;
10161 PyObject
* obj0
= 0 ;
10162 PyObject
* obj1
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self",(char *) "pos", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10177 wxPyEndAllowThreads(__tstate
);
10178 if (PyErr_Occurred()) SWIG_fail
;
10180 Py_INCREF(Py_None
); resultobj
= Py_None
;
10187 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10191 PyObject
* obj0
= 0 ;
10192 char *kwnames
[] = {
10193 (char *) "self",(char *) "zPos", NULL
10196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 (arg1
)->SetZPosition(arg2
);
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 Py_INCREF(Py_None
); resultobj
= Py_None
;
10212 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10213 PyObject
*resultobj
;
10214 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10216 PyObject
* obj0
= 0 ;
10217 char *kwnames
[] = {
10218 (char *) "self", NULL
10221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= PyInt_FromLong((long)result
);
10237 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= PyInt_FromLong((long)result
);
10262 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= PyInt_FromLong((long)result
);
10287 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10290 int arg2
= (int) wxJOY_BUTTON_ANY
;
10292 PyObject
* obj0
= 0 ;
10293 char *kwnames
[] = {
10294 (char *) "self",(char *) "but", NULL
10297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10301 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10303 wxPyEndAllowThreads(__tstate
);
10304 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= PyInt_FromLong((long)result
);
10313 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10314 PyObject
*resultobj
;
10315 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10316 int arg2
= (int) wxJOY_BUTTON_ANY
;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self",(char *) "but", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 resultobj
= PyInt_FromLong((long)result
);
10339 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10342 int arg2
= (int) wxJOY_BUTTON_ANY
;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "but", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= PyInt_FromLong((long)result
);
10365 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10368 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10370 return Py_BuildValue((char *)"");
10372 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10373 PyObject
*resultobj
;
10374 wxString
*arg1
= 0 ;
10375 bool arg2
= (bool) False
;
10377 bool temp1
= False
;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "fileName",(char *) "isResource", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10386 arg1
= wxString_in_helper(obj0
);
10387 if (arg1
== NULL
) SWIG_fail
;
10391 arg2
= PyInt_AsLong(obj1
) ? true : false;
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10416 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxString
*arg1
= 0 ;
10420 bool temp1
= False
;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "data", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10428 arg1
= wxString_in_helper(obj0
);
10429 if (arg1
== NULL
) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10454 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxWave
*arg1
= (wxWave
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 wxPyEndAllowThreads(__tstate
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10471 Py_INCREF(Py_None
); resultobj
= Py_None
;
10478 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxWave
*arg1
= (wxWave
*) 0 ;
10482 PyObject
* obj0
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10493 wxPyEndAllowThreads(__tstate
);
10494 if (PyErr_Occurred()) SWIG_fail
;
10496 resultobj
= PyInt_FromLong((long)result
);
10503 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxWave
*arg1
= (wxWave
*) 0 ;
10506 bool arg2
= (bool) True
;
10507 bool arg3
= (bool) False
;
10509 PyObject
* obj0
= 0 ;
10510 PyObject
* obj1
= 0 ;
10511 PyObject
* obj2
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self",(char *) "async",(char *) "looped", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10519 arg2
= PyInt_AsLong(obj1
) ? true : false;
10520 if (PyErr_Occurred()) SWIG_fail
;
10523 arg3
= PyInt_AsLong(obj2
) ? true : false;
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10528 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10530 wxPyEndAllowThreads(__tstate
);
10531 if (PyErr_Occurred()) SWIG_fail
;
10533 resultobj
= PyInt_FromLong((long)result
);
10540 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10543 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10545 return Py_BuildValue((char *)"");
10547 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxString
*arg1
= 0 ;
10550 wxString
*arg2
= 0 ;
10551 wxString
*arg3
= 0 ;
10552 wxString
*arg4
= 0 ;
10553 wxFileTypeInfo
*result
;
10554 bool temp1
= False
;
10555 bool temp2
= False
;
10556 bool temp3
= False
;
10557 bool temp4
= False
;
10558 PyObject
* obj0
= 0 ;
10559 PyObject
* obj1
= 0 ;
10560 PyObject
* obj2
= 0 ;
10561 PyObject
* obj3
= 0 ;
10562 char *kwnames
[] = {
10563 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10568 arg1
= wxString_in_helper(obj0
);
10569 if (arg1
== NULL
) SWIG_fail
;
10573 arg2
= wxString_in_helper(obj1
);
10574 if (arg2
== NULL
) SWIG_fail
;
10578 arg3
= wxString_in_helper(obj2
);
10579 if (arg3
== NULL
) SWIG_fail
;
10583 arg4
= wxString_in_helper(obj3
);
10584 if (arg4
== NULL
) SWIG_fail
;
10588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10589 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10633 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxArrayString
*arg1
= 0 ;
10636 wxFileTypeInfo
*result
;
10637 PyObject
* obj0
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "sArray", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10644 if (! PySequence_Check(obj0
)) {
10645 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10648 arg1
= new wxArrayString
;
10649 int i
, len
=PySequence_Length(obj0
);
10650 for (i
=0; i
<len
; i
++) {
10651 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10653 PyObject
* str
= PyObject_Unicode(item
);
10655 PyObject
* str
= PyObject_Str(item
);
10657 arg1
->Add(Py2wxString(str
));
10663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10664 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10666 wxPyEndAllowThreads(__tstate
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10671 if (arg1
) delete arg1
;
10676 if (arg1
) delete arg1
;
10682 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxFileTypeInfo
*result
;
10685 char *kwnames
[] = {
10689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10704 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10708 PyObject
* obj0
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "self", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10717 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10719 wxPyEndAllowThreads(__tstate
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10722 resultobj
= PyInt_FromLong((long)result
);
10729 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10732 wxString
*arg2
= 0 ;
10733 int arg3
= (int) 0 ;
10734 bool temp2
= False
;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 arg2
= wxString_in_helper(obj1
);
10745 if (arg2
== NULL
) SWIG_fail
;
10749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10750 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10755 Py_INCREF(Py_None
); resultobj
= Py_None
;
10770 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10771 PyObject
*resultobj
;
10772 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10773 wxString
*arg2
= 0 ;
10774 bool temp2
= False
;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 char *kwnames
[] = {
10778 (char *) "self",(char *) "shortDesc", NULL
10781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10784 arg2
= wxString_in_helper(obj1
);
10785 if (arg2
== NULL
) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 Py_INCREF(Py_None
); resultobj
= Py_None
;
10810 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10825 result
= (wxString
*) &_result_ref
;
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10835 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10844 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10859 result
= (wxString
*) &_result_ref
;
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10867 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10869 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10878 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 char *kwnames
[] = {
10884 (char *) "self", NULL
10887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10892 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10893 result
= (wxString
*) &_result_ref
;
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10903 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10912 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10913 PyObject
*resultobj
;
10914 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10916 PyObject
* obj0
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10926 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10927 result
= (wxString
*) &_result_ref
;
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10935 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10937 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10946 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
10961 result
= (wxString
*) &_result_ref
;
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10971 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10980 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10983 wxArrayString
*result
;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
10995 result
= (wxArrayString
*) &_result_ref
;
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= wxArrayString2PyList_helper(*result
);
11010 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11014 PyObject
* obj0
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 resultobj
= PyInt_FromLong((long)result
);
11035 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11039 PyObject
* obj0
= 0 ;
11040 char *kwnames
[] = {
11041 (char *) "self", NULL
11044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
11045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
11050 result
= (wxString
*) &_result_ref
;
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11060 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11069 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11070 PyObject
*resultobj
;
11071 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11073 PyObject
* obj0
= 0 ;
11074 char *kwnames
[] = {
11075 (char *) "self", NULL
11078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11087 resultobj
= PyInt_FromLong((long)result
);
11094 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11097 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11099 return Py_BuildValue((char *)"");
11101 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxFileTypeInfo
*arg1
= 0 ;
11104 wxFileType
*result
;
11105 PyObject
* obj0
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "ftInfo", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11112 if (arg1
== NULL
) {
11113 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11117 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11129 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11130 PyObject
*resultobj
;
11131 wxFileType
*arg1
= (wxFileType
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 Py_INCREF(Py_None
); resultobj
= Py_None
;
11153 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxFileType
*arg1
= (wxFileType
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 resultobj
= result
;
11178 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxFileType
*arg1
= (wxFileType
*) 0 ;
11182 PyObject
* obj0
= 0 ;
11183 char *kwnames
[] = {
11184 (char *) "self", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11191 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11193 wxPyEndAllowThreads(__tstate
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11196 resultobj
= result
;
11203 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11204 PyObject
*resultobj
;
11205 wxFileType
*arg1
= (wxFileType
*) 0 ;
11207 PyObject
* obj0
= 0 ;
11208 char *kwnames
[] = {
11209 (char *) "self", NULL
11212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11218 wxPyEndAllowThreads(__tstate
);
11219 if (PyErr_Occurred()) SWIG_fail
;
11221 resultobj
= result
;
11228 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxFileType
*arg1
= (wxFileType
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11241 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11253 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11254 PyObject
*resultobj
;
11255 wxFileType
*arg1
= (wxFileType
*) 0 ;
11257 PyObject
* obj0
= 0 ;
11258 char *kwnames
[] = {
11259 (char *) "self", NULL
11262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
;
11278 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
;
11280 wxFileType
*arg1
= (wxFileType
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11291 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 resultobj
= result
;
11303 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxFileType
*arg1
= (wxFileType
*) 0 ;
11306 wxString
*arg2
= 0 ;
11307 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11308 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11310 bool temp2
= False
;
11311 bool temp3
= False
;
11312 PyObject
* obj0
= 0 ;
11313 PyObject
* obj1
= 0 ;
11314 PyObject
* obj2
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11322 arg2
= wxString_in_helper(obj1
);
11323 if (arg2
== NULL
) SWIG_fail
;
11328 arg3
= wxString_in_helper(obj2
);
11329 if (arg3
== NULL
) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= result
;
11363 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11364 PyObject
*resultobj
;
11365 wxFileType
*arg1
= (wxFileType
*) 0 ;
11366 wxString
*arg2
= 0 ;
11367 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11368 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11370 bool temp2
= False
;
11371 bool temp3
= False
;
11372 PyObject
* obj0
= 0 ;
11373 PyObject
* obj1
= 0 ;
11374 PyObject
* obj2
= 0 ;
11375 char *kwnames
[] = {
11376 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11382 arg2
= wxString_in_helper(obj1
);
11383 if (arg2
== NULL
) SWIG_fail
;
11388 arg3
= wxString_in_helper(obj2
);
11389 if (arg3
== NULL
) SWIG_fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= result
;
11423 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxFileType
*arg1
= (wxFileType
*) 0 ;
11426 wxString
*arg2
= 0 ;
11427 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11428 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11430 bool temp2
= False
;
11431 bool temp3
= False
;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 PyObject
* obj2
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11442 arg2
= wxString_in_helper(obj1
);
11443 if (arg2
== NULL
) SWIG_fail
;
11448 arg3
= wxString_in_helper(obj2
);
11449 if (arg3
== NULL
) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 resultobj
= result
;
11483 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
;
11485 wxFileType
*arg1
= (wxFileType
*) 0 ;
11486 wxString
*arg2
= 0 ;
11487 wxString
*arg3
= 0 ;
11488 bool arg4
= (bool) True
;
11490 bool temp2
= False
;
11491 bool temp3
= False
;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 PyObject
* obj3
= 0 ;
11496 char *kwnames
[] = {
11497 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11503 arg2
= wxString_in_helper(obj1
);
11504 if (arg2
== NULL
) SWIG_fail
;
11508 arg3
= wxString_in_helper(obj2
);
11509 if (arg3
== NULL
) SWIG_fail
;
11513 arg4
= PyInt_AsLong(obj3
) ? true : false;
11514 if (PyErr_Occurred()) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= PyInt_FromLong((long)result
);
11546 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
;
11548 wxFileType
*arg1
= (wxFileType
*) 0 ;
11549 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11551 int arg3
= (int) 0 ;
11553 bool temp2
= False
;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 char *kwnames
[] = {
11557 (char *) "self",(char *) "cmd",(char *) "index", NULL
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11564 arg2
= wxString_in_helper(obj1
);
11565 if (arg2
== NULL
) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= PyInt_FromLong((long)result
);
11591 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxFileType
*arg1
= (wxFileType
*) 0 ;
11595 PyObject
* obj0
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11604 result
= (bool)(arg1
)->Unassociate();
11606 wxPyEndAllowThreads(__tstate
);
11607 if (PyErr_Occurred()) SWIG_fail
;
11609 resultobj
= PyInt_FromLong((long)result
);
11616 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11617 PyObject
*resultobj
;
11618 wxString
*arg1
= 0 ;
11619 wxString
*arg2
= 0 ;
11620 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11621 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11623 bool temp1
= False
;
11624 bool temp2
= False
;
11625 bool temp3
= False
;
11626 PyObject
* obj0
= 0 ;
11627 PyObject
* obj1
= 0 ;
11628 PyObject
* obj2
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11635 arg1
= wxString_in_helper(obj0
);
11636 if (arg1
== NULL
) SWIG_fail
;
11640 arg2
= wxString_in_helper(obj1
);
11641 if (arg2
== NULL
) SWIG_fail
;
11646 arg3
= wxString_in_helper(obj2
);
11647 if (arg3
== NULL
) SWIG_fail
;
11652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11653 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11695 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11698 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11700 return Py_BuildValue((char *)"");
11702 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11703 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11708 static PyObject
*_wrap_TheMimeTypesManager_get() {
11711 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11716 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxString
*arg1
= 0 ;
11719 wxString
*arg2
= 0 ;
11721 bool temp1
= False
;
11722 bool temp2
= False
;
11723 PyObject
* obj0
= 0 ;
11724 PyObject
* obj1
= 0 ;
11725 char *kwnames
[] = {
11726 (char *) "mimeType",(char *) "wildcard", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 arg1
= wxString_in_helper(obj0
);
11732 if (arg1
== NULL
) SWIG_fail
;
11736 arg2
= wxString_in_helper(obj1
);
11737 if (arg2
== NULL
) SWIG_fail
;
11741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11742 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= PyInt_FromLong((long)result
);
11770 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11771 PyObject
*resultobj
;
11772 wxMimeTypesManager
*result
;
11773 char *kwnames
[] = {
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11792 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11795 int arg2
= (int) wxMAILCAP_ALL
;
11796 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11797 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11798 bool temp3
= False
;
11799 PyObject
* obj0
= 0 ;
11800 PyObject
* obj2
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11809 arg3
= wxString_in_helper(obj2
);
11810 if (arg3
== NULL
) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 Py_INCREF(Py_None
); resultobj
= Py_None
;
11836 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11839 PyObject
* obj0
= 0 ;
11840 char *kwnames
[] = {
11841 (char *) "self", NULL
11844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11848 (arg1
)->ClearData();
11850 wxPyEndAllowThreads(__tstate
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11853 Py_INCREF(Py_None
); resultobj
= Py_None
;
11860 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11861 PyObject
*resultobj
;
11862 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11863 wxString
*arg2
= 0 ;
11864 wxFileType
*result
;
11865 bool temp2
= False
;
11866 PyObject
* obj0
= 0 ;
11867 PyObject
* obj1
= 0 ;
11868 char *kwnames
[] = {
11869 (char *) "self",(char *) "ext", NULL
11872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11875 arg2
= wxString_in_helper(obj1
);
11876 if (arg2
== NULL
) SWIG_fail
;
11880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11881 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11883 wxPyEndAllowThreads(__tstate
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11901 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11904 wxString
*arg2
= 0 ;
11905 wxFileType
*result
;
11906 bool temp2
= False
;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "mimeType", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11916 arg2
= wxString_in_helper(obj1
);
11917 if (arg2
== NULL
) SWIG_fail
;
11921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11922 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11924 wxPyEndAllowThreads(__tstate
);
11925 if (PyErr_Occurred()) SWIG_fail
;
11927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11942 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11945 wxString
*arg2
= 0 ;
11946 bool arg3
= (bool) False
;
11948 bool temp2
= False
;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 PyObject
* obj2
= 0 ;
11952 char *kwnames
[] = {
11953 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11959 arg2
= wxString_in_helper(obj1
);
11960 if (arg2
== NULL
) SWIG_fail
;
11964 arg3
= PyInt_AsLong(obj2
) ? true : false;
11965 if (PyErr_Occurred()) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= PyInt_FromLong((long)result
);
11989 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
;
11991 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11992 wxString
*arg2
= 0 ;
11994 bool temp2
= False
;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char *kwnames
[] = {
11998 (char *) "self",(char *) "filename", NULL
12001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
12002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12004 arg2
= wxString_in_helper(obj1
);
12005 if (arg2
== NULL
) SWIG_fail
;
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
12012 wxPyEndAllowThreads(__tstate
);
12013 if (PyErr_Occurred()) SWIG_fail
;
12015 resultobj
= PyInt_FromLong((long)result
);
12030 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= result
;
12055 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12056 PyObject
*resultobj
;
12057 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12058 wxFileTypeInfo
*arg2
= 0 ;
12059 PyObject
* obj0
= 0 ;
12060 PyObject
* obj1
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self",(char *) "ft", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12068 if (arg2
== NULL
) {
12069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12075 wxPyEndAllowThreads(__tstate
);
12076 if (PyErr_Occurred()) SWIG_fail
;
12078 Py_INCREF(Py_None
); resultobj
= Py_None
;
12085 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12088 wxFileTypeInfo
*arg2
= 0 ;
12089 wxFileType
*result
;
12090 PyObject
* obj0
= 0 ;
12091 PyObject
* obj1
= 0 ;
12092 char *kwnames
[] = {
12093 (char *) "self",(char *) "ftInfo", NULL
12096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12099 if (arg2
== NULL
) {
12100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12106 wxPyEndAllowThreads(__tstate
);
12107 if (PyErr_Occurred()) SWIG_fail
;
12109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12116 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12117 PyObject
*resultobj
;
12118 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12119 wxFileType
*arg2
= (wxFileType
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 PyObject
* obj1
= 0 ;
12123 char *kwnames
[] = {
12124 (char *) "self",(char *) "ft", NULL
12127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 result
= (bool)(arg1
)->Unassociate(arg2
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12137 resultobj
= PyInt_FromLong((long)result
);
12144 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12147 PyObject
* obj0
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12158 wxPyEndAllowThreads(__tstate
);
12159 if (PyErr_Occurred()) SWIG_fail
;
12161 Py_INCREF(Py_None
); resultobj
= Py_None
;
12168 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12171 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12173 return Py_BuildValue((char *)"");
12175 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12176 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12181 static PyObject
*_wrap_ART_TOOLBAR_get() {
12186 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12188 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12195 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12196 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12201 static PyObject
*_wrap_ART_MENU_get() {
12206 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12208 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12215 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12216 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12221 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12226 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12228 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12235 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12236 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12241 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12246 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12248 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12255 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12256 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12261 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12266 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12268 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12275 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12276 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12281 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12286 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12288 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12295 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12296 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12301 static PyObject
*_wrap_ART_OTHER_get() {
12306 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12308 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12315 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12316 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12321 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12326 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12328 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12335 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12336 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12341 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12346 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12348 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12355 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12356 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12361 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12366 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12368 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12375 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12376 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12381 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12386 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12388 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12395 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12396 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12401 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12406 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12408 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12415 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12416 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12421 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12426 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12428 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12435 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12436 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12441 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12446 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12448 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12455 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12456 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12461 static PyObject
*_wrap_ART_GO_BACK_get() {
12466 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12468 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12475 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12476 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12481 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12486 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12488 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12495 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12496 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12501 static PyObject
*_wrap_ART_GO_UP_get() {
12506 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12508 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12515 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12516 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12521 static PyObject
*_wrap_ART_GO_DOWN_get() {
12526 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12528 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12535 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12536 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12541 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12546 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12548 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12555 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12556 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12561 static PyObject
*_wrap_ART_GO_HOME_get() {
12566 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12568 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12575 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12576 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12581 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12586 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12588 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12595 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12596 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12601 static PyObject
*_wrap_ART_PRINT_get() {
12606 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12608 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12615 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12616 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12621 static PyObject
*_wrap_ART_HELP_get() {
12626 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12628 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12635 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12636 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12641 static PyObject
*_wrap_ART_TIP_get() {
12646 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12648 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12655 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12656 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12661 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12666 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12668 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12675 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12676 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12681 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12686 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12688 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12695 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12696 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12701 static PyObject
*_wrap_ART_NEW_DIR_get() {
12706 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12708 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12715 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12716 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12721 static PyObject
*_wrap_ART_FOLDER_get() {
12726 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12728 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12735 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12736 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12741 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12746 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12748 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12755 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12756 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12761 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12766 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12768 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12775 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12776 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12781 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12786 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12788 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12795 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12796 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12801 static PyObject
*_wrap_ART_TICK_MARK_get() {
12806 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12808 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12815 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12816 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12821 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12826 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12828 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12835 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12836 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12841 static PyObject
*_wrap_ART_ERROR_get() {
12846 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12848 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12855 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12856 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12861 static PyObject
*_wrap_ART_QUESTION_get() {
12866 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12868 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12875 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12876 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12881 static PyObject
*_wrap_ART_WARNING_get() {
12886 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12888 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12895 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12896 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12901 static PyObject
*_wrap_ART_INFORMATION_get() {
12906 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12908 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12915 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12916 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12921 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12926 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12928 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12935 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12936 PyObject
*resultobj
;
12937 wxPyArtProvider
*result
;
12938 char *kwnames
[] = {
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
12944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12945 result
= (wxPyArtProvider
*)new wxPyArtProvider();
12947 wxPyEndAllowThreads(__tstate
);
12948 if (PyErr_Occurred()) SWIG_fail
;
12950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
12957 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12958 PyObject
*resultobj
;
12959 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12960 PyObject
*arg2
= (PyObject
*) 0 ;
12961 PyObject
*arg3
= (PyObject
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 PyObject
* obj1
= 0 ;
12964 PyObject
* obj2
= 0 ;
12965 char *kwnames
[] = {
12966 (char *) "self",(char *) "self",(char *) "_class", NULL
12969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 Py_INCREF(Py_None
); resultobj
= Py_None
;
12987 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "provider", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 wxPyArtProvider::PushProvider(arg1
);
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13004 Py_INCREF(Py_None
); resultobj
= Py_None
;
13011 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13014 char *kwnames
[] = {
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (bool)wxPyArtProvider::PopProvider();
13023 wxPyEndAllowThreads(__tstate
);
13024 if (PyErr_Occurred()) SWIG_fail
;
13026 resultobj
= PyInt_FromLong((long)result
);
13033 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13034 PyObject
*resultobj
;
13035 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13037 PyObject
* obj0
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "provider", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= PyInt_FromLong((long)result
);
13058 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxString
*arg1
= 0 ;
13061 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13062 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13063 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13064 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13066 bool temp1
= False
;
13067 bool temp2
= False
;
13069 PyObject
* obj0
= 0 ;
13070 PyObject
* obj1
= 0 ;
13071 PyObject
* obj2
= 0 ;
13072 char *kwnames
[] = {
13073 (char *) "id",(char *) "client",(char *) "size", NULL
13076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13078 arg1
= wxString_in_helper(obj0
);
13079 if (arg1
== NULL
) SWIG_fail
;
13084 arg2
= wxString_in_helper(obj1
);
13085 if (arg2
== NULL
) SWIG_fail
;
13092 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 wxBitmap
* resultptr
;
13104 resultptr
= new wxBitmap((wxBitmap
&) result
);
13105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13129 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxString
*arg1
= 0 ;
13132 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13133 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13134 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13135 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13137 bool temp1
= False
;
13138 bool temp2
= False
;
13140 PyObject
* obj0
= 0 ;
13141 PyObject
* obj1
= 0 ;
13142 PyObject
* obj2
= 0 ;
13143 char *kwnames
[] = {
13144 (char *) "id",(char *) "client",(char *) "size", NULL
13147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13149 arg1
= wxString_in_helper(obj0
);
13150 if (arg1
== NULL
) SWIG_fail
;
13155 arg2
= wxString_in_helper(obj1
);
13156 if (arg2
== NULL
) SWIG_fail
;
13163 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13168 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13174 wxIcon
* resultptr
;
13175 resultptr
= new wxIcon((wxIcon
&) result
);
13176 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13200 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13212 wxPyArtProvider_Destroy(arg1
);
13214 wxPyEndAllowThreads(__tstate
);
13215 if (PyErr_Occurred()) SWIG_fail
;
13217 Py_INCREF(Py_None
); resultobj
= Py_None
;
13224 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13227 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13229 return Py_BuildValue((char *)"");
13231 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13234 PyObject
* obj0
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13258 wxConfigBase
*result
;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "pConfig", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13280 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 bool arg1
= (bool) True
;
13283 wxConfigBase
*result
;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "createOnDemand", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13291 arg1
= PyInt_AsLong(obj0
) ? true : false;
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13308 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxConfigBase
*result
;
13311 char *kwnames
[] = {
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (wxConfigBase
*)wxConfigBase::Create();
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13330 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 char *kwnames
[] = {
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 wxConfigBase::DontCreateOnDemand();
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 Py_INCREF(Py_None
); resultobj
= Py_None
;
13351 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13354 wxString
*arg2
= 0 ;
13355 bool temp2
= False
;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "self",(char *) "strPath", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13365 arg2
= wxString_in_helper(obj1
);
13366 if (arg2
== NULL
) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->SetPath((wxString
const &)*arg2
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13391 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13392 PyObject
*resultobj
;
13393 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13395 PyObject
* obj0
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13406 result
= (wxString
*) &_result_ref
;
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13416 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13425 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13426 PyObject
*resultobj
;
13427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13429 PyObject
* obj0
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
;
13450 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self",(char *) "index", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= result
;
13476 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13480 PyObject
* obj0
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= result
;
13501 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13506 PyObject
* obj0
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "self",(char *) "index", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13515 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13517 wxPyEndAllowThreads(__tstate
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13520 resultobj
= result
;
13527 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13528 PyObject
*resultobj
;
13529 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13530 bool arg2
= (bool) False
;
13532 PyObject
* obj0
= 0 ;
13533 PyObject
* obj1
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self",(char *) "bRecursive", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13541 arg2
= PyInt_AsLong(obj1
) ? true : false;
13542 if (PyErr_Occurred()) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= PyInt_FromLong((long)result
);
13558 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13561 bool arg2
= (bool) False
;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "bRecursive", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13572 arg2
= PyInt_AsLong(obj1
) ? true : false;
13573 if (PyErr_Occurred()) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= PyInt_FromLong((long)result
);
13589 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13592 wxString
*arg2
= 0 ;
13594 bool temp2
= False
;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "strName", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13604 arg2
= wxString_in_helper(obj1
);
13605 if (arg2
== NULL
) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= PyInt_FromLong((long)result
);
13630 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13633 wxString
*arg2
= 0 ;
13635 bool temp2
= False
;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "strName", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13645 arg2
= wxString_in_helper(obj1
);
13646 if (arg2
== NULL
) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13651 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 resultobj
= PyInt_FromLong((long)result
);
13671 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13674 wxString
*arg2
= 0 ;
13676 bool temp2
= False
;
13677 PyObject
* obj0
= 0 ;
13678 PyObject
* obj1
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self",(char *) "strName", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13686 arg2
= wxString_in_helper(obj1
);
13687 if (arg2
== NULL
) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= PyInt_FromLong((long)result
);
13712 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13715 wxString
*arg2
= 0 ;
13717 bool temp2
= False
;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "name", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13727 arg2
= wxString_in_helper(obj1
);
13728 if (arg2
== NULL
) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13738 resultobj
= PyInt_FromLong((long)result
);
13753 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13754 PyObject
*resultobj
;
13755 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13756 wxString
*arg2
= 0 ;
13757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13760 bool temp2
= False
;
13761 bool temp3
= False
;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 PyObject
* obj2
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13772 arg2
= wxString_in_helper(obj1
);
13773 if (arg2
== NULL
) SWIG_fail
;
13778 arg3
= wxString_in_helper(obj2
);
13779 if (arg3
== NULL
) SWIG_fail
;
13784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13785 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13819 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13820 PyObject
*resultobj
;
13821 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13822 wxString
*arg2
= 0 ;
13823 long arg3
= (long) 0 ;
13825 bool temp2
= False
;
13826 PyObject
* obj0
= 0 ;
13827 PyObject
* obj1
= 0 ;
13828 char *kwnames
[] = {
13829 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13835 arg2
= wxString_in_helper(obj1
);
13836 if (arg2
== NULL
) SWIG_fail
;
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13843 wxPyEndAllowThreads(__tstate
);
13844 if (PyErr_Occurred()) SWIG_fail
;
13846 resultobj
= PyInt_FromLong((long)result
);
13861 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
;
13863 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13864 wxString
*arg2
= 0 ;
13865 double arg3
= (double) 0.0 ;
13867 bool temp2
= False
;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13877 arg2
= wxString_in_helper(obj1
);
13878 if (arg2
== NULL
) SWIG_fail
;
13882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13883 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13885 wxPyEndAllowThreads(__tstate
);
13886 if (PyErr_Occurred()) SWIG_fail
;
13888 resultobj
= PyFloat_FromDouble(result
);
13903 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13906 wxString
*arg2
= 0 ;
13907 bool arg3
= (bool) False
;
13909 bool temp2
= False
;
13910 PyObject
* obj0
= 0 ;
13911 PyObject
* obj1
= 0 ;
13912 PyObject
* obj2
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13920 arg2
= wxString_in_helper(obj1
);
13921 if (arg2
== NULL
) SWIG_fail
;
13925 arg3
= PyInt_AsLong(obj2
) ? true : false;
13926 if (PyErr_Occurred()) SWIG_fail
;
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
13932 wxPyEndAllowThreads(__tstate
);
13933 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= PyInt_FromLong((long)result
);
13950 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13953 wxString
*arg2
= 0 ;
13954 wxString
*arg3
= 0 ;
13956 bool temp2
= False
;
13957 bool temp3
= False
;
13958 PyObject
* obj0
= 0 ;
13959 PyObject
* obj1
= 0 ;
13960 PyObject
* obj2
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self",(char *) "key",(char *) "value", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13968 arg2
= wxString_in_helper(obj1
);
13969 if (arg2
== NULL
) SWIG_fail
;
13973 arg3
= wxString_in_helper(obj2
);
13974 if (arg3
== NULL
) SWIG_fail
;
13978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13979 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13981 wxPyEndAllowThreads(__tstate
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13984 resultobj
= PyInt_FromLong((long)result
);
14007 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14008 PyObject
*resultobj
;
14009 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14010 wxString
*arg2
= 0 ;
14013 bool temp2
= False
;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "key",(char *) "value", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14023 arg2
= wxString_in_helper(obj1
);
14024 if (arg2
== NULL
) SWIG_fail
;
14028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14029 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14031 wxPyEndAllowThreads(__tstate
);
14032 if (PyErr_Occurred()) SWIG_fail
;
14034 resultobj
= PyInt_FromLong((long)result
);
14049 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14052 wxString
*arg2
= 0 ;
14055 bool temp2
= False
;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "key",(char *) "value", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 arg2
= wxString_in_helper(obj1
);
14066 if (arg2
== NULL
) SWIG_fail
;
14070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14071 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14073 wxPyEndAllowThreads(__tstate
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 resultobj
= PyInt_FromLong((long)result
);
14091 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
;
14093 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14094 wxString
*arg2
= 0 ;
14097 bool temp2
= False
;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 PyObject
* obj2
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "key",(char *) "value", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14108 arg2
= wxString_in_helper(obj1
);
14109 if (arg2
== NULL
) SWIG_fail
;
14112 arg3
= PyInt_AsLong(obj2
) ? true : false;
14113 if (PyErr_Occurred()) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= PyInt_FromLong((long)result
);
14136 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14139 bool arg2
= (bool) False
;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "bCurrentOnly", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14150 arg2
= PyInt_AsLong(obj1
) ? true : false;
14151 if (PyErr_Occurred()) SWIG_fail
;
14154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14155 result
= (bool)(arg1
)->Flush(arg2
);
14157 wxPyEndAllowThreads(__tstate
);
14158 if (PyErr_Occurred()) SWIG_fail
;
14160 resultobj
= PyInt_FromLong((long)result
);
14167 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14168 PyObject
*resultobj
;
14169 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14170 wxString
*arg2
= 0 ;
14171 wxString
*arg3
= 0 ;
14173 bool temp2
= False
;
14174 bool temp3
= False
;
14175 PyObject
* obj0
= 0 ;
14176 PyObject
* obj1
= 0 ;
14177 PyObject
* obj2
= 0 ;
14178 char *kwnames
[] = {
14179 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14185 arg2
= wxString_in_helper(obj1
);
14186 if (arg2
== NULL
) SWIG_fail
;
14190 arg3
= wxString_in_helper(obj2
);
14191 if (arg3
== NULL
) SWIG_fail
;
14195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14196 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14198 wxPyEndAllowThreads(__tstate
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= PyInt_FromLong((long)result
);
14224 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14227 wxString
*arg2
= 0 ;
14228 wxString
*arg3
= 0 ;
14230 bool temp2
= False
;
14231 bool temp3
= False
;
14232 PyObject
* obj0
= 0 ;
14233 PyObject
* obj1
= 0 ;
14234 PyObject
* obj2
= 0 ;
14235 char *kwnames
[] = {
14236 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14242 arg2
= wxString_in_helper(obj1
);
14243 if (arg2
== NULL
) SWIG_fail
;
14247 arg3
= wxString_in_helper(obj2
);
14248 if (arg3
== NULL
) SWIG_fail
;
14252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14253 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14255 wxPyEndAllowThreads(__tstate
);
14256 if (PyErr_Occurred()) SWIG_fail
;
14258 resultobj
= PyInt_FromLong((long)result
);
14281 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14282 PyObject
*resultobj
;
14283 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14284 wxString
*arg2
= 0 ;
14285 bool arg3
= (bool) True
;
14287 bool temp2
= False
;
14288 PyObject
* obj0
= 0 ;
14289 PyObject
* obj1
= 0 ;
14290 PyObject
* obj2
= 0 ;
14291 char *kwnames
[] = {
14292 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14298 arg2
= wxString_in_helper(obj1
);
14299 if (arg2
== NULL
) SWIG_fail
;
14303 arg3
= PyInt_AsLong(obj2
) ? true : false;
14304 if (PyErr_Occurred()) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14310 wxPyEndAllowThreads(__tstate
);
14311 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= PyInt_FromLong((long)result
);
14328 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14331 wxString
*arg2
= 0 ;
14333 bool temp2
= False
;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self",(char *) "key", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14343 arg2
= wxString_in_helper(obj1
);
14344 if (arg2
== NULL
) SWIG_fail
;
14348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14349 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14351 wxPyEndAllowThreads(__tstate
);
14352 if (PyErr_Occurred()) SWIG_fail
;
14354 resultobj
= PyInt_FromLong((long)result
);
14369 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14370 PyObject
*resultobj
;
14371 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14373 PyObject
* obj0
= 0 ;
14374 char *kwnames
[] = {
14375 (char *) "self", NULL
14378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (bool)(arg1
)->DeleteAll();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= PyInt_FromLong((long)result
);
14394 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14407 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= PyInt_FromLong((long)result
);
14419 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14420 PyObject
*resultobj
;
14421 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14422 bool arg2
= (bool) True
;
14423 PyObject
* obj0
= 0 ;
14424 PyObject
* obj1
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self",(char *) "bDoIt", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14432 arg2
= PyInt_AsLong(obj1
) ? true : false;
14433 if (PyErr_Occurred()) SWIG_fail
;
14436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14437 (arg1
)->SetExpandEnvVars(arg2
);
14439 wxPyEndAllowThreads(__tstate
);
14440 if (PyErr_Occurred()) SWIG_fail
;
14442 Py_INCREF(Py_None
); resultobj
= Py_None
;
14449 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14452 bool arg2
= (bool) True
;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "bDoIt", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14462 arg2
= PyInt_AsLong(obj1
) ? true : false;
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14467 (arg1
)->SetRecordDefaults(arg2
);
14469 wxPyEndAllowThreads(__tstate
);
14470 if (PyErr_Occurred()) SWIG_fail
;
14472 Py_INCREF(Py_None
); resultobj
= Py_None
;
14479 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14480 PyObject
*resultobj
;
14481 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 char *kwnames
[] = {
14485 (char *) "self", NULL
14488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 resultobj
= PyInt_FromLong((long)result
);
14504 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14507 wxString
*arg2
= 0 ;
14509 bool temp2
= False
;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "str", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 arg2
= wxString_in_helper(obj1
);
14520 if (arg2
== NULL
) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14551 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14582 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14597 wxPyEndAllowThreads(__tstate
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14613 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14616 wxString
*arg2
= 0 ;
14617 bool temp2
= False
;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "appName", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14627 arg2
= wxString_in_helper(obj1
);
14628 if (arg2
== NULL
) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 (arg1
)->SetAppName((wxString
const &)*arg2
);
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14656 wxString
*arg2
= 0 ;
14657 bool temp2
= False
;
14658 PyObject
* obj0
= 0 ;
14659 PyObject
* obj1
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self",(char *) "vendorName", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14667 arg2
= wxString_in_helper(obj1
);
14668 if (arg2
== NULL
) SWIG_fail
;
14672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14673 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14675 wxPyEndAllowThreads(__tstate
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14678 Py_INCREF(Py_None
); resultobj
= Py_None
;
14693 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14694 PyObject
*resultobj
;
14695 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14697 PyObject
* obj0
= 0 ;
14698 char *kwnames
[] = {
14699 (char *) "self",(char *) "style", NULL
14702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->SetStyle(arg2
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14718 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14719 PyObject
*resultobj
;
14720 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14722 PyObject
* obj0
= 0 ;
14723 char *kwnames
[] = {
14724 (char *) "self", NULL
14727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14733 wxPyEndAllowThreads(__tstate
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14736 resultobj
= PyInt_FromLong((long)result
);
14743 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14746 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14748 return Py_BuildValue((char *)"");
14750 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14751 PyObject
*resultobj
;
14752 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14753 wxString
*arg2
= 0 ;
14754 wxConfigPathChanger
*result
;
14755 bool temp2
= False
;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "pContainer",(char *) "strEntry", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14765 arg2
= wxString_in_helper(obj1
);
14766 if (arg2
== NULL
) SWIG_fail
;
14770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14771 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14773 wxPyEndAllowThreads(__tstate
);
14774 if (PyErr_Occurred()) SWIG_fail
;
14776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14791 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 wxPyEndAllowThreads(__tstate
);
14806 if (PyErr_Occurred()) SWIG_fail
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14830 result
= (wxString
*) &_result_ref
;
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14838 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14840 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14849 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14852 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14854 return Py_BuildValue((char *)"");
14856 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14859 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14860 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14861 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14862 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14863 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14864 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14865 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14866 long arg5
= (long) 0 ;
14868 bool temp1
= False
;
14869 bool temp2
= False
;
14870 bool temp3
= False
;
14871 bool temp4
= False
;
14872 PyObject
* obj0
= 0 ;
14873 PyObject
* obj1
= 0 ;
14874 PyObject
* obj2
= 0 ;
14875 PyObject
* obj3
= 0 ;
14876 char *kwnames
[] = {
14877 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14883 arg1
= wxString_in_helper(obj0
);
14884 if (arg1
== NULL
) SWIG_fail
;
14890 arg2
= wxString_in_helper(obj1
);
14891 if (arg2
== NULL
) SWIG_fail
;
14897 arg3
= wxString_in_helper(obj2
);
14898 if (arg3
== NULL
) SWIG_fail
;
14904 arg4
= wxString_in_helper(obj3
);
14905 if (arg4
== NULL
) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
14955 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxConfig
*arg1
= (wxConfig
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 Py_INCREF(Py_None
); resultobj
= Py_None
;
14979 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
14981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14982 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
14984 return Py_BuildValue((char *)"");
14986 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14989 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14990 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14991 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14994 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14995 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14996 long arg5
= (long) 0 ;
14997 wxFileConfig
*result
;
14998 bool temp1
= False
;
14999 bool temp2
= False
;
15000 bool temp3
= False
;
15001 bool temp4
= False
;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 PyObject
* obj2
= 0 ;
15005 PyObject
* obj3
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
15013 arg1
= wxString_in_helper(obj0
);
15014 if (arg1
== NULL
) SWIG_fail
;
15020 arg2
= wxString_in_helper(obj1
);
15021 if (arg2
== NULL
) SWIG_fail
;
15027 arg3
= wxString_in_helper(obj2
);
15028 if (arg3
== NULL
) SWIG_fail
;
15034 arg4
= wxString_in_helper(obj3
);
15035 if (arg4
== NULL
) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15085 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 char *kwnames
[] = {
15090 (char *) "self", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15112 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15114 return Py_BuildValue((char *)"");
15116 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxString
*arg1
= 0 ;
15120 bool temp1
= False
;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "sz", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15128 arg1
= wxString_in_helper(obj0
);
15129 if (arg1
== NULL
) SWIG_fail
;
15133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15134 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15136 wxPyEndAllowThreads(__tstate
);
15137 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15160 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15161 PyObject
*resultobj
;
15163 char *kwnames
[] = {
15164 (char *) "country", NULL
15167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15185 char *kwnames
[] = {
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (int)wxDateTime::GetCountry();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= PyInt_FromLong((long)result
);
15204 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 int arg1
= (int) wxDateTime::Country_Default
;
15208 char *kwnames
[] = {
15209 (char *) "country", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15215 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= PyInt_FromLong((long)result
);
15227 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
;
15229 int arg1
= (int) wxDateTime::Gregorian
;
15231 char *kwnames
[] = {
15232 (char *) "cal", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= PyInt_FromLong((long)result
);
15250 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15254 char *kwnames
[] = {
15255 (char *) "year", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= PyInt_FromLong((long)result
);
15273 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 int arg1
= (int) wxDateTime::Gregorian
;
15277 char *kwnames
[] = {
15278 (char *) "cal", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= PyInt_FromLong((long)result
);
15296 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15298 int arg1
= (int) wxDateTime::Inv_Year
;
15299 int arg2
= (int) wxDateTime::Gregorian
;
15301 char *kwnames
[] = {
15302 (char *) "year",(char *) "cal", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= PyInt_FromLong((long)result
);
15320 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 int arg1
= (int) wxDateTime::Inv_Year
;
15324 char *kwnames
[] = {
15325 (char *) "year", NULL
15328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (int)wxDateTime::GetCentury(arg1
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15336 resultobj
= PyInt_FromLong((long)result
);
15343 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
;
15346 int arg2
= (int) wxDateTime::Gregorian
;
15348 char *kwnames
[] = {
15349 (char *) "year",(char *) "cal", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 resultobj
= PyInt_FromLong((long)result
);
15367 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15370 int arg2
= (int) wxDateTime::Inv_Year
;
15371 int arg3
= (int) wxDateTime::Gregorian
;
15373 char *kwnames
[] = {
15374 (char *) "month",(char *) "year",(char *) "cal", NULL
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15380 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15382 wxPyEndAllowThreads(__tstate
);
15383 if (PyErr_Occurred()) SWIG_fail
;
15385 resultobj
= PyInt_FromLong((long)result
);
15392 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15393 PyObject
*resultobj
;
15395 int arg2
= (int) wxDateTime::Name_Full
;
15397 char *kwnames
[] = {
15398 (char *) "month",(char *) "flags", NULL
15401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15422 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15423 PyObject
*resultobj
;
15425 int arg2
= (int) wxDateTime::Name_Full
;
15427 char *kwnames
[] = {
15428 (char *) "weekday",(char *) "flags", NULL
15431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15436 wxPyEndAllowThreads(__tstate
);
15437 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15443 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15452 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15453 PyObject
*resultobj
;
15454 wxString
*arg1
= (wxString
*) 0 ;
15455 wxString
*arg2
= (wxString
*) 0 ;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15467 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15469 wxPyEndAllowThreads(__tstate
);
15470 if (PyErr_Occurred()) SWIG_fail
;
15472 Py_INCREF(Py_None
); resultobj
= Py_None
;
15479 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15480 PyObject
*resultobj
;
15481 int arg1
= (int) wxDateTime::Inv_Year
;
15482 int arg2
= (int) wxDateTime::Country_Default
;
15484 char *kwnames
[] = {
15485 (char *) "year",(char *) "country", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= PyInt_FromLong((long)result
);
15503 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 int arg1
= (int) wxDateTime::Inv_Year
;
15506 int arg2
= (int) wxDateTime::Country_Default
;
15508 char *kwnames
[] = {
15509 (char *) "year",(char *) "country", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 wxDateTime
* resultptr
;
15522 resultptr
= new wxDateTime((wxDateTime
&) result
);
15523 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15531 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 int arg1
= (int) wxDateTime::Inv_Year
;
15534 int arg2
= (int) wxDateTime::Country_Default
;
15536 char *kwnames
[] = {
15537 (char *) "year",(char *) "country", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 wxDateTime
* resultptr
;
15550 resultptr
= new wxDateTime((wxDateTime
&) result
);
15551 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15559 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15562 char *kwnames
[] = {
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= wxDateTime::Now();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 wxDateTime
* resultptr
;
15576 resultptr
= new wxDateTime((wxDateTime
&) result
);
15577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15585 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15588 char *kwnames
[] = {
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= wxDateTime::UNow();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15601 wxDateTime
* resultptr
;
15602 resultptr
= new wxDateTime((wxDateTime
&) result
);
15603 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15611 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15614 char *kwnames
[] = {
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= wxDateTime::Today();
15623 wxPyEndAllowThreads(__tstate
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 wxDateTime
* resultptr
;
15628 resultptr
= new wxDateTime((wxDateTime
&) result
);
15629 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15637 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxDateTime
*result
;
15640 char *kwnames
[] = {
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15647 result
= (wxDateTime
*)new wxDateTime();
15649 wxPyEndAllowThreads(__tstate
);
15650 if (PyErr_Occurred()) SWIG_fail
;
15652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15659 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15662 wxDateTime
*result
;
15663 PyObject
* obj0
= 0 ;
15664 char *kwnames
[] = {
15665 (char *) "timet", NULL
15668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15669 arg1
= (time_t) PyInt_AsLong(obj0
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15673 result
= (wxDateTime
*)new wxDateTime(arg1
);
15675 wxPyEndAllowThreads(__tstate
);
15676 if (PyErr_Occurred()) SWIG_fail
;
15678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15685 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
;
15688 wxDateTime
*result
;
15689 char *kwnames
[] = {
15690 (char *) "jdn", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= (wxDateTime
*)new wxDateTime(arg1
);
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15708 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15711 int arg2
= (int) 0 ;
15712 int arg3
= (int) 0 ;
15713 int arg4
= (int) 0 ;
15714 wxDateTime
*result
;
15715 char *kwnames
[] = {
15716 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15734 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15737 int arg2
= (int) wxDateTime::Inv_Month
;
15738 int arg3
= (int) wxDateTime::Inv_Year
;
15739 int arg4
= (int) 0 ;
15740 int arg5
= (int) 0 ;
15741 int arg6
= (int) 0 ;
15742 int arg7
= (int) 0 ;
15743 wxDateTime
*result
;
15744 char *kwnames
[] = {
15745 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15751 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15753 wxPyEndAllowThreads(__tstate
);
15754 if (PyErr_Occurred()) SWIG_fail
;
15756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15763 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
;
15765 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15777 wxPyEndAllowThreads(__tstate
);
15778 if (PyErr_Occurred()) SWIG_fail
;
15780 Py_INCREF(Py_None
); resultobj
= Py_None
;
15787 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15788 PyObject
*resultobj
;
15789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15790 wxDateTime
*result
;
15791 PyObject
* obj0
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "self", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15802 result
= (wxDateTime
*) &_result_ref
;
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15815 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15819 wxDateTime
*result
;
15820 PyObject
* obj0
= 0 ;
15821 PyObject
* obj1
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self",(char *) "timet", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15828 arg2
= (time_t) PyInt_AsLong(obj1
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15834 result
= (wxDateTime
*) &_result_ref
;
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15847 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15849 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15851 wxDateTime
*result
;
15852 PyObject
* obj0
= 0 ;
15853 char *kwnames
[] = {
15854 (char *) "self",(char *) "jdn", NULL
15857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15863 result
= (wxDateTime
*) &_result_ref
;
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15876 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15880 int arg3
= (int) 0 ;
15881 int arg4
= (int) 0 ;
15882 int arg5
= (int) 0 ;
15883 wxDateTime
*result
;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
15895 result
= (wxDateTime
*) &_result_ref
;
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15908 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15912 int arg3
= (int) wxDateTime::Inv_Month
;
15913 int arg4
= (int) wxDateTime::Inv_Year
;
15914 int arg5
= (int) 0 ;
15915 int arg6
= (int) 0 ;
15916 int arg7
= (int) 0 ;
15917 int arg8
= (int) 0 ;
15918 wxDateTime
*result
;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15929 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
15930 result
= (wxDateTime
*) &_result_ref
;
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15943 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15946 wxDateTime
*result
;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
15958 result
= (wxDateTime
*) &_result_ref
;
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15971 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15975 wxDateTime
*result
;
15976 PyObject
* obj0
= 0 ;
15977 char *kwnames
[] = {
15978 (char *) "self",(char *) "year", NULL
15981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
15982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
15987 result
= (wxDateTime
*) &_result_ref
;
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16000 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16004 wxDateTime
*result
;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self",(char *) "month", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
16016 result
= (wxDateTime
*) &_result_ref
;
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16029 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16033 wxDateTime
*result
;
16034 PyObject
* obj0
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self",(char *) "day", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16044 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
16045 result
= (wxDateTime
*) &_result_ref
;
16048 wxPyEndAllowThreads(__tstate
);
16049 if (PyErr_Occurred()) SWIG_fail
;
16051 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16058 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16062 wxDateTime
*result
;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self",(char *) "hour", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
16074 result
= (wxDateTime
*) &_result_ref
;
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16087 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16091 wxDateTime
*result
;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self",(char *) "minute", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16103 result
= (wxDateTime
*) &_result_ref
;
16106 wxPyEndAllowThreads(__tstate
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16116 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16120 wxDateTime
*result
;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self",(char *) "second", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16132 result
= (wxDateTime
*) &_result_ref
;
16135 wxPyEndAllowThreads(__tstate
);
16136 if (PyErr_Occurred()) SWIG_fail
;
16138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16145 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16149 wxDateTime
*result
;
16150 PyObject
* obj0
= 0 ;
16151 char *kwnames
[] = {
16152 (char *) "self",(char *) "millisecond", NULL
16155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16160 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16161 result
= (wxDateTime
*) &_result_ref
;
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16167 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16174 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16178 int arg3
= (int) wxDateTime::Monday_First
;
16179 wxDateTime
*result
;
16180 PyObject
* obj0
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16191 result
= (wxDateTime
*) &_result_ref
;
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16204 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16208 int arg3
= (int) wxDateTime::Monday_First
;
16210 PyObject
* obj0
= 0 ;
16211 char *kwnames
[] = {
16212 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16219 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16221 wxPyEndAllowThreads(__tstate
);
16222 if (PyErr_Occurred()) SWIG_fail
;
16225 wxDateTime
* resultptr
;
16226 resultptr
= new wxDateTime((wxDateTime
&) result
);
16227 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16235 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16236 PyObject
*resultobj
;
16237 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16239 wxDateTime
*result
;
16240 PyObject
* obj0
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "self",(char *) "weekday", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16250 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16251 result
= (wxDateTime
*) &_result_ref
;
16254 wxPyEndAllowThreads(__tstate
);
16255 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16264 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "weekday", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16284 wxDateTime
* resultptr
;
16285 resultptr
= new wxDateTime((wxDateTime
&) result
);
16286 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16294 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16295 PyObject
*resultobj
;
16296 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16298 wxDateTime
*result
;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self",(char *) "weekday", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16310 result
= (wxDateTime
*) &_result_ref
;
16313 wxPyEndAllowThreads(__tstate
);
16314 if (PyErr_Occurred()) SWIG_fail
;
16316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16323 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16324 PyObject
*resultobj
;
16325 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16328 PyObject
* obj0
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "self",(char *) "weekday", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16337 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16343 wxDateTime
* resultptr
;
16344 resultptr
= new wxDateTime((wxDateTime
&) result
);
16345 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16353 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16357 int arg3
= (int) 1 ;
16358 int arg4
= (int) wxDateTime::Inv_Month
;
16359 int arg5
= (int) wxDateTime::Inv_Year
;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= PyInt_FromLong((long)result
);
16382 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16383 PyObject
*resultobj
;
16384 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16386 int arg3
= (int) wxDateTime::Inv_Month
;
16387 int arg4
= (int) wxDateTime::Inv_Year
;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16398 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16400 wxPyEndAllowThreads(__tstate
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16403 resultobj
= PyInt_FromLong((long)result
);
16410 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16411 PyObject
*resultobj
;
16412 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16414 int arg3
= (int) wxDateTime::Inv_Month
;
16415 int arg4
= (int) wxDateTime::Inv_Year
;
16417 PyObject
* obj0
= 0 ;
16418 char *kwnames
[] = {
16419 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16432 wxDateTime
* resultptr
;
16433 resultptr
= new wxDateTime((wxDateTime
&) result
);
16434 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16442 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16446 int arg3
= (int) wxDateTime::Mon
;
16447 int arg4
= (int) wxDateTime::Monday_First
;
16449 PyObject
* obj0
= 0 ;
16450 char *kwnames
[] = {
16451 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16458 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16460 wxPyEndAllowThreads(__tstate
);
16461 if (PyErr_Occurred()) SWIG_fail
;
16463 resultobj
= PyInt_FromLong((long)result
);
16470 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16474 int arg3
= (int) wxDateTime::Mon
;
16475 int arg4
= (int) wxDateTime::Monday_First
;
16477 PyObject
* obj0
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16492 wxDateTime
* resultptr
;
16493 resultptr
= new wxDateTime((wxDateTime
&) result
);
16494 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16502 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16503 PyObject
*resultobj
;
16504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16505 int arg2
= (int) wxDateTime::Inv_Month
;
16506 int arg3
= (int) wxDateTime::Inv_Year
;
16507 wxDateTime
*result
;
16508 PyObject
* obj0
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self",(char *) "month",(char *) "year", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16519 result
= (wxDateTime
*) &_result_ref
;
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16525 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16532 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16533 PyObject
*resultobj
;
16534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16535 int arg2
= (int) wxDateTime::Inv_Month
;
16536 int arg3
= (int) wxDateTime::Inv_Year
;
16538 PyObject
* obj0
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self",(char *) "month",(char *) "year", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16547 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16553 wxDateTime
* resultptr
;
16554 resultptr
= new wxDateTime((wxDateTime
&) result
);
16555 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16563 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16564 PyObject
*resultobj
;
16565 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16567 wxDateTime
*result
;
16568 PyObject
* obj0
= 0 ;
16569 char *kwnames
[] = {
16570 (char *) "self",(char *) "yday", NULL
16573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16578 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16579 result
= (wxDateTime
*) &_result_ref
;
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16592 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self",(char *) "yday", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (arg1
)->GetYearDay(arg2
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16612 wxDateTime
* resultptr
;
16613 resultptr
= new wxDateTime((wxDateTime
&) result
);
16614 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16622 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "self", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (double)(arg1
)->GetJulianDayNumber();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= PyFloat_FromDouble(result
);
16647 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16660 result
= (double)(arg1
)->GetJDN();
16662 wxPyEndAllowThreads(__tstate
);
16663 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= PyFloat_FromDouble(result
);
16672 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 char *kwnames
[] = {
16678 (char *) "self", NULL
16681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16690 resultobj
= PyFloat_FromDouble(result
);
16697 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16701 PyObject
* obj0
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "self", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16710 result
= (double)(arg1
)->GetMJD();
16712 wxPyEndAllowThreads(__tstate
);
16713 if (PyErr_Occurred()) SWIG_fail
;
16715 resultobj
= PyFloat_FromDouble(result
);
16722 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16726 PyObject
* obj0
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (double)(arg1
)->GetRataDie();
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= PyFloat_FromDouble(result
);
16747 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16750 wxDateTime::TimeZone
*arg2
= 0 ;
16751 bool arg3
= (bool) False
;
16753 bool temp2
= False
;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 PyObject
* obj2
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16764 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16768 arg3
= PyInt_AsLong(obj2
) ? true : false;
16769 if (PyErr_Occurred()) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 wxDateTime
* resultptr
;
16780 resultptr
= new wxDateTime((wxDateTime
&) result
);
16781 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16784 if (temp2
) delete arg2
;
16789 if (temp2
) delete arg2
;
16795 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16798 wxDateTime::TimeZone
*arg2
= 0 ;
16799 bool arg3
= (bool) False
;
16800 wxDateTime
*result
;
16801 bool temp2
= False
;
16802 PyObject
* obj0
= 0 ;
16803 PyObject
* obj1
= 0 ;
16804 PyObject
* obj2
= 0 ;
16805 char *kwnames
[] = {
16806 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16812 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16816 arg3
= PyInt_AsLong(obj2
) ? true : false;
16817 if (PyErr_Occurred()) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16823 result
= (wxDateTime
*) &_result_ref
;
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16831 if (temp2
) delete arg2
;
16836 if (temp2
) delete arg2
;
16842 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16844 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16845 bool arg2
= (bool) False
;
16847 PyObject
* obj0
= 0 ;
16848 PyObject
* obj1
= 0 ;
16849 char *kwnames
[] = {
16850 (char *) "self",(char *) "noDST", NULL
16853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16856 arg2
= PyInt_AsLong(obj1
) ? true : false;
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (arg1
)->ToGMT(arg2
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16867 wxDateTime
* resultptr
;
16868 resultptr
= new wxDateTime((wxDateTime
&) result
);
16869 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16877 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16880 bool arg2
= (bool) False
;
16881 wxDateTime
*result
;
16882 PyObject
* obj0
= 0 ;
16883 PyObject
* obj1
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "noDST", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16891 arg2
= PyInt_AsLong(obj1
) ? true : false;
16892 if (PyErr_Occurred()) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16897 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
16898 result
= (wxDateTime
*) &_result_ref
;
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16911 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16914 int arg2
= (int) wxDateTime::Country_Default
;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "country", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= PyInt_FromLong((long)result
);
16937 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16941 PyObject
* obj0
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= PyInt_FromLong((long)result
);
16962 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16966 PyObject
* obj0
= 0 ;
16967 char *kwnames
[] = {
16968 (char *) "self", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
16972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16975 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= PyInt_FromLong((long)result
);
16987 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
;
16989 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16990 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16991 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16993 bool temp2
= False
;
16994 PyObject
* obj0
= 0 ;
16995 PyObject
* obj1
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self",(char *) "tz", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17004 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17010 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
17012 wxPyEndAllowThreads(__tstate
);
17013 if (PyErr_Occurred()) SWIG_fail
;
17015 resultobj
= PyInt_FromLong((long)result
);
17017 if (temp2
) delete arg2
;
17022 if (temp2
) delete arg2
;
17028 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17031 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17032 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17034 bool temp2
= False
;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self",(char *) "tz", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17045 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 resultobj
= PyInt_FromLong((long)result
);
17058 if (temp2
) delete arg2
;
17063 if (temp2
) delete arg2
;
17069 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17072 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17073 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17075 bool temp2
= False
;
17076 PyObject
* obj0
= 0 ;
17077 PyObject
* obj1
= 0 ;
17078 char *kwnames
[] = {
17079 (char *) "self",(char *) "tz", NULL
17082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17086 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= PyInt_FromLong((long)result
);
17099 if (temp2
) delete arg2
;
17104 if (temp2
) delete arg2
;
17110 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17113 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17114 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17116 bool temp2
= False
;
17117 PyObject
* obj0
= 0 ;
17118 PyObject
* obj1
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "self",(char *) "tz", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17127 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17133 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17135 wxPyEndAllowThreads(__tstate
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17138 resultobj
= PyInt_FromLong((long)result
);
17140 if (temp2
) delete arg2
;
17145 if (temp2
) delete arg2
;
17151 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17152 PyObject
*resultobj
;
17153 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17154 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17155 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17157 bool temp2
= False
;
17158 PyObject
* obj0
= 0 ;
17159 PyObject
* obj1
= 0 ;
17160 char *kwnames
[] = {
17161 (char *) "self",(char *) "tz", NULL
17164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17168 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= PyInt_FromLong((long)result
);
17181 if (temp2
) delete arg2
;
17186 if (temp2
) delete arg2
;
17192 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17195 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17196 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17198 bool temp2
= False
;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "tz", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17209 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17215 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17217 wxPyEndAllowThreads(__tstate
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17220 resultobj
= PyInt_FromLong((long)result
);
17222 if (temp2
) delete arg2
;
17227 if (temp2
) delete arg2
;
17233 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17234 PyObject
*resultobj
;
17235 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17236 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17237 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17239 bool temp2
= False
;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "tz", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17250 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= PyInt_FromLong((long)result
);
17263 if (temp2
) delete arg2
;
17268 if (temp2
) delete arg2
;
17274 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17277 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17278 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17280 bool temp2
= False
;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "tz", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17291 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= PyInt_FromLong((long)result
);
17304 if (temp2
) delete arg2
;
17309 if (temp2
) delete arg2
;
17315 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17318 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17319 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17321 bool temp2
= False
;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "tz", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17332 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= PyInt_FromLong((long)result
);
17345 if (temp2
) delete arg2
;
17350 if (temp2
) delete arg2
;
17356 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17359 int arg2
= (int) wxDateTime::Monday_First
;
17360 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17361 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17363 bool temp3
= False
;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj2
= 0 ;
17366 char *kwnames
[] = {
17367 (char *) "self",(char *) "flags",(char *) "tz", NULL
17370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17374 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17382 wxPyEndAllowThreads(__tstate
);
17383 if (PyErr_Occurred()) SWIG_fail
;
17385 resultobj
= PyInt_FromLong((long)result
);
17387 if (temp3
) delete arg3
;
17392 if (temp3
) delete arg3
;
17398 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17399 PyObject
*resultobj
;
17400 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17401 int arg2
= (int) wxDateTime::Monday_First
;
17402 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17403 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17405 bool temp3
= False
;
17406 PyObject
* obj0
= 0 ;
17407 PyObject
* obj2
= 0 ;
17408 char *kwnames
[] = {
17409 (char *) "self",(char *) "flags",(char *) "tz", NULL
17412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17416 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= PyInt_FromLong((long)result
);
17429 if (temp3
) delete arg3
;
17434 if (temp3
) delete arg3
;
17440 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
;
17442 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17443 int arg2
= (int) wxDateTime::Country_Default
;
17445 PyObject
* obj0
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "self",(char *) "country", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17454 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= PyInt_FromLong((long)result
);
17466 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17469 wxDateTime
*arg2
= 0 ;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self",(char *) "datetime", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17479 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17480 if (arg2
== NULL
) {
17481 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= PyInt_FromLong((long)result
);
17497 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17500 wxDateTime
*arg2
= 0 ;
17502 PyObject
* obj0
= 0 ;
17503 PyObject
* obj1
= 0 ;
17504 char *kwnames
[] = {
17505 (char *) "self",(char *) "datetime", NULL
17508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17511 if (arg2
== NULL
) {
17512 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= PyInt_FromLong((long)result
);
17528 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17530 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17531 wxDateTime
*arg2
= 0 ;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj1
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "datetime", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17542 if (arg2
== NULL
) {
17543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 resultobj
= PyInt_FromLong((long)result
);
17559 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17562 wxDateTime
*arg2
= 0 ;
17563 wxDateTime
*arg3
= 0 ;
17565 PyObject
* obj0
= 0 ;
17566 PyObject
* obj1
= 0 ;
17567 PyObject
* obj2
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "t1",(char *) "t2", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17575 if (arg2
== NULL
) {
17576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17578 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17579 if (arg3
== NULL
) {
17580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= PyInt_FromLong((long)result
);
17596 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17599 wxDateTime
*arg2
= 0 ;
17600 wxDateTime
*arg3
= 0 ;
17602 PyObject
* obj0
= 0 ;
17603 PyObject
* obj1
= 0 ;
17604 PyObject
* obj2
= 0 ;
17605 char *kwnames
[] = {
17606 (char *) "self",(char *) "t1",(char *) "t2", NULL
17609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17612 if (arg2
== NULL
) {
17613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17615 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17616 if (arg3
== NULL
) {
17617 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= PyInt_FromLong((long)result
);
17633 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17636 wxDateTime
*arg2
= 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "dt", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 if (arg2
== NULL
) {
17648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= PyInt_FromLong((long)result
);
17664 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17667 wxDateTime
*arg2
= 0 ;
17669 PyObject
* obj0
= 0 ;
17670 PyObject
* obj1
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self",(char *) "dt", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17677 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17678 if (arg2
== NULL
) {
17679 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17685 wxPyEndAllowThreads(__tstate
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= PyInt_FromLong((long)result
);
17695 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17696 PyObject
*resultobj
;
17697 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17698 wxDateTime
*arg2
= 0 ;
17699 wxTimeSpan
*arg3
= 0 ;
17701 PyObject
* obj0
= 0 ;
17702 PyObject
* obj1
= 0 ;
17703 PyObject
* obj2
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self",(char *) "dt",(char *) "ts", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17711 if (arg2
== NULL
) {
17712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17714 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17715 if (arg3
== NULL
) {
17716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17725 resultobj
= PyInt_FromLong((long)result
);
17732 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17733 PyObject
*resultobj
;
17734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17735 wxTimeSpan
*arg2
= 0 ;
17736 wxDateTime
*result
;
17737 PyObject
* obj0
= 0 ;
17738 PyObject
* obj1
= 0 ;
17739 char *kwnames
[] = {
17740 (char *) "self",(char *) "diff", NULL
17743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17746 if (arg2
== NULL
) {
17747 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17753 result
= (wxDateTime
*) &_result_ref
;
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17766 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17769 wxDateSpan
*arg2
= 0 ;
17770 wxDateTime
*result
;
17771 PyObject
* obj0
= 0 ;
17772 PyObject
* obj1
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "self",(char *) "diff", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17780 if (arg2
== NULL
) {
17781 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17787 result
= (wxDateTime
*) &_result_ref
;
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17800 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17803 wxTimeSpan
*arg2
= 0 ;
17804 wxDateTime
*result
;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17807 char *kwnames
[] = {
17808 (char *) "self",(char *) "diff", NULL
17811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17814 if (arg2
== NULL
) {
17815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17821 result
= (wxDateTime
*) &_result_ref
;
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17834 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17837 wxDateSpan
*arg2
= 0 ;
17838 wxDateTime
*result
;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "diff", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17848 if (arg2
== NULL
) {
17849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17855 result
= (wxDateTime
*) &_result_ref
;
17858 wxPyEndAllowThreads(__tstate
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17861 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17868 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17871 wxDateTime
*arg2
= 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "dt", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17882 if (arg2
== NULL
) {
17883 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 wxTimeSpan
* resultptr
;
17894 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
17895 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
17903 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
17904 PyObject
*resultobj
;
17905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17906 wxTimeSpan
*arg2
= 0 ;
17907 wxDateTime
*result
;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17911 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 if (arg2
== NULL
) {
17915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
17921 result
= (wxDateTime
*) &_result_ref
;
17924 wxPyEndAllowThreads(__tstate
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17934 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
17935 PyObject
*resultobj
;
17936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17937 wxDateSpan
*arg2
= 0 ;
17938 wxDateTime
*result
;
17939 PyObject
* obj0
= 0 ;
17940 PyObject
* obj1
= 0 ;
17942 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17945 if (arg2
== NULL
) {
17946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
17952 result
= (wxDateTime
*) &_result_ref
;
17955 wxPyEndAllowThreads(__tstate
);
17956 if (PyErr_Occurred()) SWIG_fail
;
17958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17965 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
17970 argc
= PyObject_Length(args
);
17971 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17972 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17978 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17988 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
17996 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
18004 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18014 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18022 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
18027 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
18032 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18033 PyObject
*resultobj
;
18034 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18035 wxTimeSpan
*arg2
= 0 ;
18036 wxDateTime
*result
;
18037 PyObject
* obj0
= 0 ;
18038 PyObject
* obj1
= 0 ;
18040 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18043 if (arg2
== NULL
) {
18044 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
18050 result
= (wxDateTime
*) &_result_ref
;
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18063 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18064 PyObject
*resultobj
;
18065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18066 wxDateSpan
*arg2
= 0 ;
18067 wxDateTime
*result
;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18071 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18074 if (arg2
== NULL
) {
18075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
18081 result
= (wxDateTime
*) &_result_ref
;
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18094 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
18099 argc
= PyObject_Length(args
);
18100 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18101 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18107 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18117 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18125 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18133 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18143 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18151 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18156 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18161 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18162 PyObject
*resultobj
;
18163 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18164 wxTimeSpan
*arg2
= 0 ;
18166 PyObject
* obj0
= 0 ;
18167 PyObject
* obj1
= 0 ;
18169 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18172 if (arg2
== NULL
) {
18173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18183 wxDateTime
* resultptr
;
18184 resultptr
= new wxDateTime((wxDateTime
&) result
);
18185 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18193 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18194 PyObject
*resultobj
;
18195 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18196 wxDateSpan
*arg2
= 0 ;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18201 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18204 if (arg2
== NULL
) {
18205 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18209 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18215 wxDateTime
* resultptr
;
18216 resultptr
= new wxDateTime((wxDateTime
&) result
);
18217 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18225 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18230 argc
= PyObject_Length(args
);
18231 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18232 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18238 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18248 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18256 return _wrap_DateTime___add____SWIG_0(self
,args
);
18264 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18274 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18282 return _wrap_DateTime___add____SWIG_1(self
,args
);
18287 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18292 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18293 PyObject
*resultobj
;
18294 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18295 wxDateTime
*arg2
= 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18300 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18303 if (arg2
== NULL
) {
18304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18310 wxPyEndAllowThreads(__tstate
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18314 wxTimeSpan
* resultptr
;
18315 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18324 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18325 PyObject
*resultobj
;
18326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18327 wxTimeSpan
*arg2
= 0 ;
18329 PyObject
* obj0
= 0 ;
18330 PyObject
* obj1
= 0 ;
18332 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18335 if (arg2
== NULL
) {
18336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 wxDateTime
* resultptr
;
18347 resultptr
= new wxDateTime((wxDateTime
&) result
);
18348 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18356 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18357 PyObject
*resultobj
;
18358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18359 wxDateSpan
*arg2
= 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18364 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18367 if (arg2
== NULL
) {
18368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 wxDateTime
* resultptr
;
18379 resultptr
= new wxDateTime((wxDateTime
&) result
);
18380 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18388 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18393 argc
= PyObject_Length(args
);
18394 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18395 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18401 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18411 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18419 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18427 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18437 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18445 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18453 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18463 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18471 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18476 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18481 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18482 PyObject
*resultobj
;
18483 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18484 wxDateTime
*arg2
= 0 ;
18486 PyObject
* obj0
= 0 ;
18487 PyObject
* obj1
= 0 ;
18489 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18492 if (arg2
== NULL
) {
18493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= PyInt_FromLong((long)result
);
18509 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18510 PyObject
*resultobj
;
18511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18512 wxDateTime
*arg2
= 0 ;
18514 PyObject
* obj0
= 0 ;
18515 PyObject
* obj1
= 0 ;
18517 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18519 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18520 if (arg2
== NULL
) {
18521 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18527 wxPyEndAllowThreads(__tstate
);
18528 if (PyErr_Occurred()) SWIG_fail
;
18530 resultobj
= PyInt_FromLong((long)result
);
18537 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18538 PyObject
*resultobj
;
18539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18540 wxDateTime
*arg2
= 0 ;
18542 PyObject
* obj0
= 0 ;
18543 PyObject
* obj1
= 0 ;
18545 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18547 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18548 if (arg2
== NULL
) {
18549 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18553 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18555 wxPyEndAllowThreads(__tstate
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18558 resultobj
= PyInt_FromLong((long)result
);
18565 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18566 PyObject
*resultobj
;
18567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18568 wxDateTime
*arg2
= 0 ;
18570 PyObject
* obj0
= 0 ;
18571 PyObject
* obj1
= 0 ;
18573 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18576 if (arg2
== NULL
) {
18577 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= PyInt_FromLong((long)result
);
18593 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18594 PyObject
*resultobj
;
18595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18596 wxDateTime
*arg2
= 0 ;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18601 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18604 if (arg2
== NULL
) {
18605 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18609 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18611 wxPyEndAllowThreads(__tstate
);
18612 if (PyErr_Occurred()) SWIG_fail
;
18614 resultobj
= PyInt_FromLong((long)result
);
18621 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18622 PyObject
*resultobj
;
18623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18624 wxDateTime
*arg2
= 0 ;
18626 PyObject
* obj0
= 0 ;
18627 PyObject
* obj1
= 0 ;
18629 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18631 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18632 if (arg2
== NULL
) {
18633 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= PyInt_FromLong((long)result
);
18649 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18652 wxString
*arg2
= 0 ;
18654 bool temp2
= False
;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "date", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18664 arg2
= wxString_in_helper(obj1
);
18665 if (arg2
== NULL
) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18670 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18672 wxPyEndAllowThreads(__tstate
);
18673 if (PyErr_Occurred()) SWIG_fail
;
18675 resultobj
= PyInt_FromLong((long)result
);
18690 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18691 PyObject
*resultobj
;
18692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18693 wxString
*arg2
= 0 ;
18694 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18696 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18697 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18699 bool temp2
= False
;
18700 bool temp3
= False
;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 PyObject
* obj2
= 0 ;
18704 PyObject
* obj3
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18712 arg2
= wxString_in_helper(obj1
);
18713 if (arg2
== NULL
) SWIG_fail
;
18718 arg3
= wxString_in_helper(obj2
);
18719 if (arg3
== NULL
) SWIG_fail
;
18724 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18725 if (arg4
== NULL
) {
18726 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= PyInt_FromLong((long)result
);
18759 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18762 wxString
*arg2
= 0 ;
18764 bool temp2
= False
;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self",(char *) "datetime", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18774 arg2
= wxString_in_helper(obj1
);
18775 if (arg2
== NULL
) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= PyInt_FromLong((long)result
);
18800 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18803 wxString
*arg2
= 0 ;
18805 bool temp2
= False
;
18806 PyObject
* obj0
= 0 ;
18807 PyObject
* obj1
= 0 ;
18808 char *kwnames
[] = {
18809 (char *) "self",(char *) "date", NULL
18812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18815 arg2
= wxString_in_helper(obj1
);
18816 if (arg2
== NULL
) SWIG_fail
;
18820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18821 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18823 wxPyEndAllowThreads(__tstate
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18826 resultobj
= PyInt_FromLong((long)result
);
18841 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18844 wxString
*arg2
= 0 ;
18846 bool temp2
= False
;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self",(char *) "time", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18856 arg2
= wxString_in_helper(obj1
);
18857 if (arg2
== NULL
) SWIG_fail
;
18861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18862 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18864 wxPyEndAllowThreads(__tstate
);
18865 if (PyErr_Occurred()) SWIG_fail
;
18867 resultobj
= PyInt_FromLong((long)result
);
18882 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18883 PyObject
*resultobj
;
18884 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18885 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
18886 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18887 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18888 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18890 bool temp2
= False
;
18891 bool temp3
= False
;
18892 PyObject
* obj0
= 0 ;
18893 PyObject
* obj1
= 0 ;
18894 PyObject
* obj2
= 0 ;
18895 char *kwnames
[] = {
18896 (char *) "self",(char *) "format",(char *) "tz", NULL
18899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18903 arg2
= wxString_in_helper(obj1
);
18904 if (arg2
== NULL
) SWIG_fail
;
18910 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 (temp3
) delete arg3
;
18942 if (temp3
) 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
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22801 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22803 return Py_BuildValue((char *)"");
22805 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22808 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22809 wxCustomDataObject
*result
;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "format", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22818 if (arg1
== NULL
) {
22819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22836 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22839 PyObject
*arg2
= (PyObject
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 PyObject
* obj1
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self",(char *) "data", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 wxCustomDataObject_TakeData(arg1
,arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 Py_INCREF(Py_None
); resultobj
= Py_None
;
22863 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22866 PyObject
*arg2
= (PyObject
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "data", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= PyInt_FromLong((long)result
);
22891 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (size_t)(arg1
)->GetSize();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= PyInt_FromLong((long)result
);
22916 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= result
;
22941 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22944 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
22946 return Py_BuildValue((char *)"");
22948 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22949 PyObject
*resultobj
;
22950 wxURLDataObject
*result
;
22951 char *kwnames
[] = {
22955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (wxURLDataObject
*)new wxURLDataObject();
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
22970 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
22980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (arg1
)->GetURL();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23001 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23004 wxString
*arg2
= 0 ;
23005 bool temp2
= False
;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "url", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23015 arg2
= wxString_in_helper(obj1
);
23016 if (arg2
== NULL
) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 (arg1
)->SetURL((wxString
const &)*arg2
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 Py_INCREF(Py_None
); resultobj
= Py_None
;
23041 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23044 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
23046 return Py_BuildValue((char *)"");
23048 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxMetafileDataObject
*result
;
23051 char *kwnames
[] = {
23055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
23057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23058 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
23070 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23073 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
23075 return Py_BuildValue((char *)"");
23077 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23078 PyObject
*resultobj
;
23081 char *kwnames
[] = {
23082 (char *) "res", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
23087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23088 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= PyInt_FromLong((long)result
);
23100 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23101 PyObject
*resultobj
;
23102 wxWindow
*arg1
= (wxWindow
*) NULL
;
23103 wxIcon
const &arg2_defvalue
= wxNullIcon
;
23104 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
23105 wxIcon
const &arg3_defvalue
= wxNullIcon
;
23106 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
23107 wxIcon
const &arg4_defvalue
= wxNullIcon
;
23108 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
23109 wxPyDropSource
*result
;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 PyObject
* obj2
= 0 ;
23113 PyObject
* obj3
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23124 if (arg2
== NULL
) {
23125 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23129 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23130 if (arg3
== NULL
) {
23131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23135 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23136 if (arg4
== NULL
) {
23137 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23154 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23157 PyObject
*arg2
= (PyObject
*) 0 ;
23158 PyObject
*arg3
= (PyObject
*) 0 ;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 PyObject
* obj2
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 Py_INCREF(Py_None
); resultobj
= Py_None
;
23185 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 Py_INCREF(Py_None
); resultobj
= Py_None
;
23209 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23212 wxDataObject
*arg2
= 0 ;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self",(char *) "data", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23222 if (arg2
== NULL
) {
23223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 (arg1
)->SetData(*arg2
);
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 Py_INCREF(Py_None
); resultobj
= Py_None
;
23239 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23242 wxDataObject
*result
;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23264 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23268 wxCursor
*arg3
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj2
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "res",(char *) "cursor", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23277 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23278 if (arg3
== NULL
) {
23279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 Py_INCREF(Py_None
); resultobj
= Py_None
;
23295 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23298 int arg2
= (int) wxDrag_CopyOnly
;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "flags", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (int)(arg1
)->DoDragDrop(arg2
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= PyInt_FromLong((long)result
);
23321 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23326 PyObject
* obj0
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self",(char *) "effect", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= PyInt_FromLong((long)result
);
23347 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23350 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23352 return Py_BuildValue((char *)"");
23354 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23357 wxPyDropTarget
*result
;
23358 PyObject
* obj0
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "dataObject", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23381 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23384 PyObject
*arg2
= (PyObject
*) 0 ;
23385 PyObject
*arg3
= (PyObject
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self",(char *) "self",(char *) "_class", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23399 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23401 wxPyEndAllowThreads(__tstate
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 Py_INCREF(Py_None
); resultobj
= Py_None
;
23411 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23412 PyObject
*resultobj
;
23413 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23414 PyObject
* obj0
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 Py_INCREF(Py_None
); resultobj
= Py_None
;
23435 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23438 wxDataObject
*result
;
23439 PyObject
* obj0
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23448 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23450 wxPyEndAllowThreads(__tstate
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23460 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23463 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23464 PyObject
* obj0
= 0 ;
23465 PyObject
* obj1
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self",(char *) "dataObject", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 (arg1
)->SetDataObject(arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 Py_INCREF(Py_None
); resultobj
= Py_None
;
23487 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= PyInt_FromLong((long)result
);
23515 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23522 PyObject
* obj0
= 0 ;
23523 char *kwnames
[] = {
23524 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= PyInt_FromLong((long)result
);
23543 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23546 PyObject
* obj0
= 0 ;
23547 char *kwnames
[] = {
23548 (char *) "self", NULL
23551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 (arg1
)->base_OnLeave();
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23560 Py_INCREF(Py_None
); resultobj
= Py_None
;
23567 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23568 PyObject
*resultobj
;
23569 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23573 PyObject
* obj0
= 0 ;
23574 char *kwnames
[] = {
23575 (char *) "self",(char *) "x",(char *) "y", NULL
23578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= PyInt_FromLong((long)result
);
23594 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23598 PyObject
* obj0
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (bool)(arg1
)->GetData();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= PyInt_FromLong((long)result
);
23619 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23622 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23624 return Py_BuildValue((char *)"");
23626 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23627 PyObject
*resultobj
;
23628 wxPyTextDropTarget
*result
;
23629 char *kwnames
[] = {
23633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23636 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23648 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23649 PyObject
*resultobj
;
23650 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23651 PyObject
*arg2
= (PyObject
*) 0 ;
23652 PyObject
*arg3
= (PyObject
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 PyObject
* obj1
= 0 ;
23655 PyObject
* obj2
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self",(char *) "self",(char *) "_class", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 Py_INCREF(Py_None
); resultobj
= Py_None
;
23678 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23679 PyObject
*resultobj
;
23680 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 char *kwnames
[] = {
23687 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= PyInt_FromLong((long)result
);
23706 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23707 PyObject
*resultobj
;
23708 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23713 PyObject
* obj0
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23722 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23724 wxPyEndAllowThreads(__tstate
);
23725 if (PyErr_Occurred()) SWIG_fail
;
23727 resultobj
= PyInt_FromLong((long)result
);
23734 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23735 PyObject
*resultobj
;
23736 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23737 PyObject
* obj0
= 0 ;
23738 char *kwnames
[] = {
23739 (char *) "self", NULL
23742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->base_OnLeave();
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 char *kwnames
[] = {
23766 (char *) "self",(char *) "x",(char *) "y", NULL
23769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= PyInt_FromLong((long)result
);
23785 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23786 PyObject
*resultobj
;
23787 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= PyInt_FromLong((long)result
);
23813 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23816 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23818 return Py_BuildValue((char *)"");
23820 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxPyFileDropTarget
*result
;
23823 char *kwnames
[] = {
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23842 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23845 PyObject
*arg2
= (PyObject
*) 0 ;
23846 PyObject
*arg3
= (PyObject
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 PyObject
* obj2
= 0 ;
23850 char *kwnames
[] = {
23851 (char *) "self",(char *) "self",(char *) "_class", NULL
23854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23879 PyObject
* obj0
= 0 ;
23880 char *kwnames
[] = {
23881 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23888 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= PyInt_FromLong((long)result
);
23900 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23907 PyObject
* obj0
= 0 ;
23908 char *kwnames
[] = {
23909 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23921 resultobj
= PyInt_FromLong((long)result
);
23928 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23931 PyObject
* obj0
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 (arg1
)->base_OnLeave();
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 Py_INCREF(Py_None
); resultobj
= Py_None
;
23952 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "x",(char *) "y", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= PyInt_FromLong((long)result
);
23979 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 char *kwnames
[] = {
23988 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= PyInt_FromLong((long)result
);
24007 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24010 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
24012 return Py_BuildValue((char *)"");
24014 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxClipboard
*result
;
24017 char *kwnames
[] = {
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (wxClipboard
*)new wxClipboard();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
24036 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24039 PyObject
* obj0
= 0 ;
24040 char *kwnames
[] = {
24041 (char *) "self", NULL
24044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 Py_INCREF(Py_None
); resultobj
= Py_None
;
24060 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (bool)(arg1
)->Open();
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= PyInt_FromLong((long)result
);
24085 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 char *kwnames
[] = {
24090 (char *) "self", NULL
24093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
24094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 wxPyEndAllowThreads(__tstate
);
24100 if (PyErr_Occurred()) SWIG_fail
;
24102 Py_INCREF(Py_None
); resultobj
= Py_None
;
24109 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24110 PyObject
*resultobj
;
24111 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24113 PyObject
* obj0
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= PyInt_FromLong((long)result
);
24134 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24137 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "data", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (bool)(arg1
)->AddData(arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= PyInt_FromLong((long)result
);
24162 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24165 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "data", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (bool)(arg1
)->SetData(arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= PyInt_FromLong((long)result
);
24190 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24193 wxDataFormat
*arg2
= 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "format", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24203 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24204 if (arg2
== NULL
) {
24205 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= PyInt_FromLong((long)result
);
24221 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24222 PyObject
*resultobj
;
24223 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24224 wxDataObject
*arg2
= 0 ;
24226 PyObject
* obj0
= 0 ;
24227 PyObject
* obj1
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self",(char *) "data", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24234 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24235 if (arg2
== NULL
) {
24236 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24240 result
= (bool)(arg1
)->GetData(*arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= PyInt_FromLong((long)result
);
24252 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
;
24254 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 Py_INCREF(Py_None
); resultobj
= Py_None
;
24276 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24289 result
= (bool)(arg1
)->Flush();
24291 wxPyEndAllowThreads(__tstate
);
24292 if (PyErr_Occurred()) SWIG_fail
;
24294 resultobj
= PyInt_FromLong((long)result
);
24301 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24302 PyObject
*resultobj
;
24303 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24304 bool arg2
= (bool) False
;
24305 PyObject
* obj0
= 0 ;
24306 PyObject
* obj1
= 0 ;
24307 char *kwnames
[] = {
24308 (char *) "self",(char *) "primary", NULL
24311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24314 arg2
= PyInt_AsLong(obj1
) ? true : false;
24315 if (PyErr_Occurred()) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 (arg1
)->UsePrimarySelection(arg2
);
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 Py_INCREF(Py_None
); resultobj
= Py_None
;
24331 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24334 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24336 return Py_BuildValue((char *)"");
24338 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24339 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24344 static PyObject
*_wrap_TheClipboard_get() {
24347 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24352 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24355 wxClipboardLocker
*result
;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "clipboard", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24379 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= PyInt_FromLong((long)result
);
24428 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24431 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24433 return Py_BuildValue((char *)"");
24435 static PyMethodDef SwigMethods
[] = {
24436 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24443 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24450 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24509 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24517 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24533 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24538 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24541 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24544 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24550 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24564 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24570 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24576 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24579 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24592 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24595 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24596 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24599 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24626 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24628 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24630 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24632 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24639 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24645 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
24658 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24663 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24666 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24683 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24691 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24737 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24765 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24771 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24787 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24803 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24817 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24826 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24869 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
24873 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
24876 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
24879 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
24971 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
24972 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
24973 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
24974 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
24975 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
24976 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
24977 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
24978 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
24979 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
24980 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
24991 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
25036 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
25070 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
25078 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
25079 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
25084 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
25093 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
25097 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
25100 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
25103 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25108 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25111 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25115 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25118 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25121 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25127 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25131 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25133 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25143 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25154 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25162 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25170 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25183 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25191 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25193 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25194 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25196 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25197 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25199 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25200 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25202 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25203 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25205 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25206 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25208 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25209 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25211 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25212 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25214 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25215 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25217 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25220 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25221 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25223 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25224 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25226 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25227 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25229 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25230 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25232 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25233 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25235 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25236 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25238 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25239 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25241 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25242 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25244 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25245 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25247 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25248 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25250 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25251 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25253 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25254 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25256 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25257 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25259 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25262 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25263 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25265 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25266 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25268 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25269 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25271 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25272 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25274 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25275 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25277 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25278 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25280 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25283 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25284 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25286 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25287 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25289 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25290 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25292 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25293 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25295 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25296 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25298 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25299 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25301 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25302 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25304 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25305 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25307 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25308 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25310 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25311 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25313 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25314 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25316 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25317 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25319 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25320 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25322 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25323 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25325 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25326 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25328 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25329 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25331 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25332 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25334 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25335 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25337 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25338 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25340 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25341 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25343 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25344 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25346 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25347 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25349 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25350 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25352 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25353 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25355 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25356 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25358 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25359 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25361 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25362 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25364 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25365 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25367 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25368 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25370 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25371 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25373 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25374 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25376 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25377 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25379 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25380 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25382 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25383 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25385 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25388 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25389 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25391 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25392 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25394 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25395 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25397 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25398 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25400 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25401 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25403 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25404 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25406 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25407 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25409 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25410 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25412 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25413 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25415 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25416 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25418 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25419 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25421 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25424 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25425 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25427 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25428 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25430 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25431 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25433 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) ((wxSizer
*) x
));
25436 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25439 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25442 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25445 static void *_p_wxEventTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) ((wxEvent
*) x
));
25448 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25451 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25452 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25454 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25455 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25457 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25458 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25460 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25461 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25463 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25464 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25466 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25467 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25469 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25470 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25472 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25473 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25475 static void *_p_wxControlTo_p_wxObject(void *x
) {
25476 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25478 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25479 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25481 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25482 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25484 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25485 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25487 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25488 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25490 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25491 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25493 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25494 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25496 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25499 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25500 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25502 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25503 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25505 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25506 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25508 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25509 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25511 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25512 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25514 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25517 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25520 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25523 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25526 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25529 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25532 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25535 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25538 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25541 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25544 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25547 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25550 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25553 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25554 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25556 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25557 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25559 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25560 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25562 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25563 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25565 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25566 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25568 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25569 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25571 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25572 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25574 static void *_p_wxImageTo_p_wxObject(void *x
) {
25575 return (void *)((wxObject
*) ((wxImage
*) x
));
25577 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25578 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25580 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25581 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25583 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25584 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25586 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25589 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25590 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25592 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25593 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25595 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25596 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25598 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25599 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25601 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25602 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25604 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25605 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25607 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25608 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25610 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25611 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25613 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25616 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25619 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25622 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25625 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25628 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25631 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25634 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25637 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25640 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25643 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25646 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25649 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25652 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25655 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25658 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25661 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25662 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25664 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25665 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25667 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25668 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25670 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25671 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25673 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25674 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25676 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25677 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25679 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25680 return (void *)((wxWindow
*) ((wxControl
*) x
));
25682 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25683 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25685 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25686 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25688 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25689 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25691 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25692 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25694 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25695 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25696 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25697 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}};
25698 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25699 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25700 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}};
25701 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}};
25702 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25703 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25704 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25705 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25706 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25707 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25708 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25709 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25710 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25711 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25712 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25713 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25714 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25715 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25716 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25717 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25718 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25719 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25720 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25721 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25722 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25723 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25724 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25725 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}};
25726 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25727 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25728 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25729 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25730 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25731 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25732 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25733 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25734 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25735 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25736 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25737 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25738 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25739 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}};
25740 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}};
25741 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25742 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25743 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25744 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25745 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25746 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25747 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25748 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25749 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25750 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25751 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25752 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25753 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25754 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25755 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_wxAcceleratorTable", _p_wxAcceleratorTableTo_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}};
25756 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25757 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25758 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25759 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}};
25760 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25761 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25762 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25763 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25764 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25765 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25766 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}};
25767 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25768 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25769 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25770 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25771 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25772 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25773 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25774 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25775 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25777 static swig_type_info
*swig_types_initial
[] = {
25778 _swigt__p_wxLogChain
,
25779 _swigt__p_wxMutexGuiLocker
,
25780 _swigt__p_wxFileHistory
,
25782 _swigt__p_wxDateTime__TimeZone
,
25785 _swigt__p_wxConfigBase
,
25787 _swigt__p_wxFileType
,
25788 _swigt__p_wxLogGui
,
25790 _swigt__p_wxDataFormat
,
25791 _swigt__p_wxTimerEvent
,
25795 _swigt__p_wxClipboard
,
25796 _swigt__p_wxStopWatch
,
25798 _swigt__p_wxClipboardLocker
,
25800 _swigt__p_wxLogStderr
,
25801 _swigt__p_wxLogTextCtrl
,
25802 _swigt__p_wxTextCtrl
,
25803 _swigt__p_wxBusyCursor
,
25804 _swigt__p_wxFileDataObject
,
25805 _swigt__p_wxPyBitmapDataObject
,
25806 _swigt__p_wxPyTextDataObject
,
25807 _swigt__p_wxBitmapDataObject
,
25808 _swigt__p_wxTextDataObject
,
25809 _swigt__p_wxDataObject
,
25810 _swigt__p_wxCustomDataObject
,
25811 _swigt__p_wxURLDataObject
,
25812 _swigt__p_wxMetafileDataObject
,
25813 _swigt__p_wxTimerRunner
,
25814 _swigt__p_wxLogWindow
,
25815 _swigt__p_wxTimeSpan
,
25816 _swigt__p_wxArrayString
,
25817 _swigt__p_wxWindowDisabler
,
25818 _swigt__p_wxToolTip
,
25819 _swigt__p_wxDataObjectComposite
,
25820 _swigt__p_wxFileConfig
,
25821 _swigt__p_wxSystemSettings
,
25822 _swigt__p_wxPyDataObjectSimple
,
25823 _swigt__p_wxDataObjectSimple
,
25824 _swigt__p_wxEvtHandler
,
25826 _swigt__p_wxSingleInstanceChecker
,
25827 _swigt__p_wxFileTypeInfo
,
25830 _swigt__p_wxMimeTypesManager
,
25831 _swigt__p_wxPyArtProvider
,
25832 _swigt__p_wxPyTipProvider
,
25833 _swigt__p_wxTipProvider
,
25834 _swigt__p_wxJoystick
,
25835 _swigt__p_wxSystemOptions
,
25837 _swigt__p_wxJoystickEvent
,
25838 _swigt__p_wxCursor
,
25839 _swigt__p_wxObject
,
25840 _swigt__p_wxOutputStream
,
25841 _swigt__p_wxDateTime
,
25842 _swigt__p_wxPyDropSource
,
25843 _swigt__p_wxWindow
,
25844 _swigt__p_wxString
,
25845 _swigt__p_wxPyProcess
,
25846 _swigt__p_wxBitmap
,
25847 _swigt__p_wxConfig
,
25849 _swigt__p_wxBusyInfo
,
25850 _swigt__p_wxPyDropTarget
,
25851 _swigt__p_wxPyTextDropTarget
,
25852 _swigt__p_wxPyFileDropTarget
,
25853 _swigt__p_wxProcessEvent
,
25855 _swigt__p_wxLogNull
,
25856 _swigt__p_wxColour
,
25857 _swigt__p_wxConfigPathChanger
,
25858 _swigt__p_wxPyTimer
,
25859 _swigt__p_wxDateSpan
,
25864 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25866 static swig_const_info swig_const_table
[] = {
25867 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25868 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25869 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25870 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25871 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
25872 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
25873 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
25874 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
25875 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
25876 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
25877 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
25878 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
25879 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
25880 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
25881 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
25882 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
25883 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
25884 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
25885 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
25886 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
25887 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
25888 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
25889 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
25890 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
25891 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
25892 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
25893 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
25894 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
25895 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
25896 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
25897 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
25898 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
25899 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
25900 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
25901 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
25902 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
25903 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
25904 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
25905 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
25906 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
25907 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
25908 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
25909 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
25910 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
25911 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
25912 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
25913 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
25914 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
25915 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
25916 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
25917 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
25918 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
25919 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
25920 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
25921 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
25922 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
25923 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
25924 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
25925 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
25926 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
25927 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
25928 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
25929 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
25930 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
25931 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
25932 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
25933 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
25934 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
25935 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
25936 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
25937 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
25938 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
25939 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
25940 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
25941 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
25942 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
25943 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
25944 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
25945 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
25946 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
25947 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
25948 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
25949 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
25950 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
25951 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
25952 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
25953 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
25954 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
25955 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
25956 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
25957 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
25958 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
25959 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
25960 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
25961 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
25962 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
25963 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
25964 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
25965 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
25966 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
25967 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
25968 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
25969 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
25970 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
25971 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
25972 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
25973 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
25974 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25975 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25976 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25977 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25978 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25979 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25980 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25981 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25982 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25983 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25984 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
25985 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
25986 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
25987 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
25988 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
25989 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
25990 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
25991 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
25992 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
25993 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
25994 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
25995 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
26102 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
26103 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
26104 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
26105 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
26106 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
26107 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26117 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26118 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26119 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26120 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26121 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26122 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26123 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26124 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26125 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26126 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26127 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26128 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26129 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26130 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26131 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26132 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26133 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26134 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26135 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26136 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26137 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26138 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26139 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26140 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26141 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26142 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26143 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26144 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26145 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26146 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26147 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26148 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26149 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26150 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26151 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26152 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26153 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26154 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26155 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26156 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26157 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26158 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26159 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26160 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26161 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26162 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26163 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26164 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26165 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26166 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26167 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26168 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26169 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26170 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26171 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26172 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26173 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26174 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26175 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26176 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26177 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26178 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26179 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26180 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26181 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26182 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26183 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26184 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26185 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26186 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26187 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26188 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26189 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26190 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26191 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26192 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26193 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26194 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26195 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26196 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26197 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26198 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26199 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26200 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26201 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26202 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26203 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26204 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26205 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26206 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26207 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26208 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26209 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26210 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26211 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26212 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26213 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26214 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26215 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26216 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26217 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26218 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26219 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26220 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26221 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26222 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26223 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26224 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26234 SWIGEXPORT(void) SWIG_init(void) {
26235 static PyObject
*SWIG_globals
= 0;
26236 static int typeinit
= 0;
26239 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26240 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26241 d
= PyModule_GetDict(m
);
26244 for (i
= 0; swig_types_initial
[i
]; i
++) {
26245 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26249 SWIG_InstallConstants(d
,swig_const_table
);
26251 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26252 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26254 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26256 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26257 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26258 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26259 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26260 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26261 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26262 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26263 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26264 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26265 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26266 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26267 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26268 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26269 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26270 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26271 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26272 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26273 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26274 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26275 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26276 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26277 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26278 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26279 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26280 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26281 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26282 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26283 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26284 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26285 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26286 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26287 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26288 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26289 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26290 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26291 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26292 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26293 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26294 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26295 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26296 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26297 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26298 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26299 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26301 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26303 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26305 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26306 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26307 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26308 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26310 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);