1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxLogChain swig_types[0]
213 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
214 #define SWIGTYPE_p_wxMetafile swig_types[2]
215 #define SWIGTYPE_p_wxFileHistory swig_types[3]
216 #define SWIGTYPE_p_wxLog swig_types[4]
217 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
218 #define SWIGTYPE_p_wxMenu swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxConfigBase swig_types[8]
221 #define SWIGTYPE_p_wxWave swig_types[9]
222 #define SWIGTYPE_p_wxFileType swig_types[10]
223 #define SWIGTYPE_p_wxLogGui swig_types[11]
224 #define SWIGTYPE_p_wxFont swig_types[12]
225 #define SWIGTYPE_p_wxDataFormat swig_types[13]
226 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
227 #define SWIGTYPE_p_wxCaret swig_types[15]
228 #define SWIGTYPE_p_int swig_types[16]
229 #define SWIGTYPE_p_wxSize swig_types[17]
230 #define SWIGTYPE_p_wxClipboard swig_types[18]
231 #define SWIGTYPE_p_wxStopWatch swig_types[19]
232 #define SWIGTYPE_p_wxDC swig_types[20]
233 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
234 #define SWIGTYPE_p_wxIcon swig_types[22]
235 #define SWIGTYPE_p_wxLogStderr swig_types[23]
236 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
237 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
238 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
239 #define SWIGTYPE_p_wxFileDataObject swig_types[27]
240 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[28]
241 #define SWIGTYPE_p_wxPyTextDataObject swig_types[29]
242 #define SWIGTYPE_p_wxBitmapDataObject swig_types[30]
243 #define SWIGTYPE_p_wxTextDataObject swig_types[31]
244 #define SWIGTYPE_p_wxDataObject swig_types[32]
245 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
246 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
247 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
248 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
249 #define SWIGTYPE_p_wxLogWindow swig_types[37]
250 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
251 #define SWIGTYPE_p_wxArrayString swig_types[39]
252 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
253 #define SWIGTYPE_p_wxToolTip swig_types[41]
254 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
255 #define SWIGTYPE_p_wxFileConfig swig_types[43]
256 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
257 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[45]
258 #define SWIGTYPE_p_wxDataObjectSimple swig_types[46]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[47]
260 #define SWIGTYPE_p_wxRect swig_types[48]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[49]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[50]
263 #define SWIGTYPE_p_wxFrame swig_types[51]
264 #define SWIGTYPE_p_wxTimer swig_types[52]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[53]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[54]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[55]
268 #define SWIGTYPE_p_wxTipProvider swig_types[56]
269 #define SWIGTYPE_p_wxJoystick swig_types[57]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[58]
271 #define SWIGTYPE_p_wxPoint swig_types[59]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[60]
273 #define SWIGTYPE_p_wxCursor swig_types[61]
274 #define SWIGTYPE_p_wxObject swig_types[62]
275 #define SWIGTYPE_p_wxOutputStream swig_types[63]
276 #define SWIGTYPE_p_wxDateTime swig_types[64]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[65]
278 #define SWIGTYPE_p_wxWindow swig_types[66]
279 #define SWIGTYPE_p_wxString swig_types[67]
280 #define SWIGTYPE_p_wxPyProcess swig_types[68]
281 #define SWIGTYPE_p_wxBitmap swig_types[69]
282 #define SWIGTYPE_p_wxConfig swig_types[70]
283 #define SWIGTYPE_p_wxChar swig_types[71]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[72]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[73]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[74]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[75]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[76]
289 #define SWIGTYPE_p_wxPyLog swig_types[77]
290 #define SWIGTYPE_p_wxLogNull swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxConfigPathChanger swig_types[80]
293 #define SWIGTYPE_p_wxPyTimer swig_types[81]
294 #define SWIGTYPE_p_wxDateSpan swig_types[82]
295 static swig_type_info
*swig_types
[84];
297 /* -------- TYPES TABLE (END) -------- */
300 /*-----------------------------------------------
302 ------------------------------------------------*/
303 #define SWIG_init init_misc
305 #define SWIG_name "_misc"
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309 #include "wx/wxPython/pyistream.h"
312 static const wxString
wxPyEmptyString(wxEmptyString
);
315 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
316 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
317 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
319 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
325 } else if (target
== Py_None
) {
329 if (!PyTuple_Check(target
)) {
331 target
= PyTuple_New(1);
332 PyTuple_SetItem(target
, 0, o2
);
335 PyTuple_SetItem(o3
, 0, o
);
338 target
= PySequence_Concat(o2
, o3
);
346 bool wxThread_IsMain() {
347 #ifdef WXP_WITH_THREAD
348 return wxThread::IsMain();
355 int wxCaret_GetBlinkTime() {
356 return wxCaret::GetBlinkTime();
359 void wxCaret_SetBlinkTime(int milliseconds
) {
360 wxCaret::SetBlinkTime(milliseconds
);
364 #include <wx/snglinst.h>
368 #include <wx/msw/private.h>
369 #include <wx/dynload.h>
374 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
381 // This one only partially works. Appears to be an undocumented
382 // "standard" convention that not all widgets adhear to. For
383 // example, for some widgets backgrounds or non-client areas may
385 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
389 // This one works much better, except for on XP. On Win2k nearly
390 // all widgets and their children are captured correctly[**]. On
391 // XP with Themes activated most native widgets draw only
392 // partially, if at all. Without themes it works just like on
395 // ** For example the radio buttons in a wxRadioBox are not its
396 // children by default, but you can capture it via the panel
397 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
398 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
399 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
400 PRF_ERASEBKGND
| PRF_OWNED
);
404 // This one is only defined in the latest SDK and is only
405 // available on XP. MSDN says it is similar to sending WM_PRINT
406 // so I expect that it will work similar to the above. Since it
407 // is avaialble only on XP, it can't be compiled like this and
408 // will have to be loaded dynamically.
409 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
414 // Use PrintWindow if available, or fallback to WM_PRINT
415 // otherwise. Unfortunately using PrintWindow is even worse than
416 // WM_PRINT. For most native widgets nothing is drawn to the dc
417 // at all, with or without Themes.
418 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
419 static bool s_triedToLoad
= False
;
420 static PrintWindow_t pfnPrintWindow
= NULL
;
421 if ( !s_triedToLoad
)
424 s_triedToLoad
= True
;
425 wxDynamicLibrary
dllUser32(_T("user32.dll"));
426 if ( dllUser32
.IsLoaded() )
428 wxLogNull nolog
; // Don't report errors here
429 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
434 printf("Using PrintWindow\n");
435 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
439 printf("Using WM_PRINT\n");
440 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
441 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
449 #include <wx/tipdlg.h>
452 class wxPyTipProvider
: public wxTipProvider
{
454 wxPyTipProvider(size_t currentTip
)
455 : wxTipProvider(currentTip
) {}
457 DEC_PYCALLBACK_STRING__pure(GetTip
);
458 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
462 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
463 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
466 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
468 wxString
Log_TimeStamp(){
470 wxLog::TimeStamp(&msg
);
473 void wxLog_Destroy(wxLog
*self
){ delete self
; }
475 // A wxLog class that can be derived from in wxPython
476 class wxPyLog
: public wxLog
{
478 wxPyLog() : wxLog() {}
480 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
482 wxPyBeginBlockThreads();
483 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
484 PyObject
* s
= wx2PyString(szString
);
485 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
488 wxPyEndBlockThreads();
490 wxLog::DoLog(level
, szString
, t
);
493 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
495 wxPyBeginBlockThreads();
496 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
497 PyObject
* s
= wx2PyString(szString
);
498 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
501 wxPyEndBlockThreads();
503 wxLog::DoLogString(szString
, t
);
512 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
515 #include <wx/joystick.h>
518 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
519 // A C++ stub class for wxJoystick for platforms that don't have it.
520 class wxJoystick
: public wxObject
{
522 wxJoystick(int joystick
= wxJOYSTICK1
) {
523 wxPyBeginBlockThreads();
524 PyErr_SetString(PyExc_NotImplementedError
,
525 "wxJoystick is not available on this platform.");
526 wxPyEndBlockThreads();
528 wxPoint
GetPosition() { return wxPoint(-1,-1); }
529 int GetZPosition() { return -1; }
530 int GetButtonState() { return -1; }
531 int GetPOVPosition() { return -1; }
532 int GetPOVCTSPosition() { return -1; }
533 int GetRudderPosition() { return -1; }
534 int GetUPosition() { return -1; }
535 int GetVPosition() { return -1; }
536 int GetMovementThreshold() { return -1; }
537 void SetMovementThreshold(int threshold
) {}
539 bool IsOk(void) { return False
; }
540 int GetNumberJoysticks() { return -1; }
541 int GetManufacturerId() { return -1; }
542 int GetProductId() { return -1; }
543 wxString
GetProductName() { return ""; }
544 int GetXMin() { return -1; }
545 int GetYMin() { return -1; }
546 int GetZMin() { return -1; }
547 int GetXMax() { return -1; }
548 int GetYMax() { return -1; }
549 int GetZMax() { return -1; }
550 int GetNumberButtons() { return -1; }
551 int GetNumberAxes() { return -1; }
552 int GetMaxButtons() { return -1; }
553 int GetMaxAxes() { return -1; }
554 int GetPollingMin() { return -1; }
555 int GetPollingMax() { return -1; }
556 int GetRudderMin() { return -1; }
557 int GetRudderMax() { return -1; }
558 int GetUMin() { return -1; }
559 int GetUMax() { return -1; }
560 int GetVMin() { return -1; }
561 int GetVMax() { return -1; }
563 bool HasRudder() { return False
; }
564 bool HasZ() { return False
; }
565 bool HasU() { return False
; }
566 bool HasV() { return False
; }
567 bool HasPOV() { return False
; }
568 bool HasPOV4Dir() { return False
; }
569 bool HasPOVCTS() { return False
; }
571 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
572 bool ReleaseCapture() { return False
; }
581 // A C++ stub class for wxWave for platforms that don't have it.
582 class wxWave
: public wxObject
585 wxWave(const wxString
& fileName
, bool isResource
= False
) {
586 wxPyBeginBlockThreads();
587 PyErr_SetString(PyExc_NotImplementedError
,
588 "wxWave is not available on this platform.");
589 wxPyEndBlockThreads();
591 wxWave(int size
, const wxByte
* data
) {
592 wxPyBeginBlockThreads();
593 PyErr_SetString(PyExc_NotImplementedError
,
594 "wxWave is not available on this platform.");
595 wxPyEndBlockThreads();
600 bool IsOk() const { return False
; }
601 bool Play(bool async
= True
, bool looped
= False
) const { return False
; }
606 wxWave
*new_wxWave(wxString
const &data
){
607 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
610 #include <wx/mimetype.h>
612 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
614 if (self
->GetMimeType(&str
))
615 return wx2PyString(str
);
619 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
621 if (self
->GetMimeTypes(arr
))
622 return wxArrayString2PyList_helper(arr
);
626 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
628 if (self
->GetExtensions(arr
))
629 return wxArrayString2PyList_helper(arr
);
633 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
635 if (self
->GetIcon(&loc
))
636 return new wxIcon(loc
);
640 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
642 if (self
->GetIcon(&loc
)) {
643 wxString iconFile
= loc
.GetFileName();
648 // Make a tuple and put the values in it
649 wxPyBeginBlockThreads();
650 PyObject
* tuple
= PyTuple_New(3);
651 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
652 wxT("wxIcon"), True
));
653 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
654 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
655 wxPyEndBlockThreads();
661 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
663 if (self
->GetDescription(&str
))
664 return wx2PyString(str
);
668 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
670 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
671 return wx2PyString(str
);
675 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
677 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
678 return wx2PyString(str
);
682 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
684 wxArrayString commands
;
685 if (self
->GetAllCommands(&verbs
, &commands
,
686 wxFileType::MessageParameters(filename
, mimetype
))) {
687 wxPyBeginBlockThreads();
688 PyObject
* tuple
= PyTuple_New(2);
689 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
690 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
691 wxPyEndBlockThreads();
697 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
698 return wxFileType::ExpandCommand(command
,
699 wxFileType::MessageParameters(filename
, mimetype
));
701 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
703 self
->EnumAllFileTypes(arr
);
704 return wxArrayString2PyList_helper(arr
);
707 #include <wx/artprov.h>
709 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
710 static const wxString
wxPyART_MENU(wxART_MENU
);
711 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
712 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
713 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
714 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
715 static const wxString
wxPyART_OTHER(wxART_OTHER
);
716 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
717 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
718 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
719 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
720 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
721 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
722 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
723 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
724 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
725 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
726 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
727 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
728 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
729 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
730 static const wxString
wxPyART_PRINT(wxART_PRINT
);
731 static const wxString
wxPyART_HELP(wxART_HELP
);
732 static const wxString
wxPyART_TIP(wxART_TIP
);
733 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
734 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
735 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
736 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
737 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
738 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
739 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
740 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
741 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
742 static const wxString
wxPyART_ERROR(wxART_ERROR
);
743 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
744 static const wxString
wxPyART_WARNING(wxART_WARNING
);
745 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
746 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
747 // Python aware wxArtProvider
748 class wxPyArtProvider
: public wxArtProvider
{
751 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
752 const wxArtClient
& client
,
753 const wxSize
& size
) {
754 wxBitmap rval
= wxNullBitmap
;
755 wxPyBeginBlockThreads();
756 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
757 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
761 s1
= wx2PyString(id
);
762 s2
= wx2PyString(client
);
763 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
768 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
773 wxPyEndBlockThreads();
780 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
784 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
785 PyObject
* ret
= PyTuple_New(3);
787 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
788 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
789 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
794 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
799 cont
= self
->GetFirstGroup(value
, index
);
800 return __EnumerationHelper(cont
, value
, index
);
802 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
806 cont
= self
->GetNextGroup(value
, index
);
807 return __EnumerationHelper(cont
, value
, index
);
809 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
814 cont
= self
->GetFirstEntry(value
, index
);
815 return __EnumerationHelper(cont
, value
, index
);
817 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
821 cont
= self
->GetNextEntry(value
, index
);
822 return __EnumerationHelper(cont
, value
, index
);
824 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
826 self
->Read(key
, &rv
, defaultVal
);
829 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
831 self
->Read(key
, &rv
, defaultVal
);
834 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
836 self
->Read(key
, &rv
, defaultVal
);
840 #include <wx/datetime.h>
843 static const wxString
wxPyDateFormatStr(wxT("%c"));
844 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
846 #define LOCAL_TZ wxDateTime::Local
848 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
849 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
850 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
851 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
852 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
853 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
854 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
855 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
856 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
857 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
858 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
859 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
861 const wxChar
* _date
= date
;
862 rv
= self
->ParseRfc822Date(_date
);
863 if (rv
== NULL
) return -1;
866 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
868 const wxChar
* _date
= date
;
869 rv
= self
->ParseFormat(_date
, format
, dateDef
);
870 if (rv
== NULL
) return -1;
873 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
875 const wxChar
* _datetime
= datetime
;
876 rv
= self
->ParseDateTime(_datetime
);
877 if (rv
== NULL
) return -1;
878 return rv
- _datetime
;
880 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
882 const wxChar
* _date
= date
;
883 rv
= self
->ParseDate(_date
);
884 if (rv
== NULL
) return -1;
887 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
889 const wxChar
* _time
= time
;
890 rv
= self
->ParseTime(_time
);
891 if (rv
== NULL
) return -1;
894 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
895 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
896 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
897 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
898 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
899 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
900 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
901 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
902 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
903 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
904 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
905 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
906 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
907 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
908 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
909 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
911 #include <wx/dataobj.h>
913 // Create a new class for wxPython to use
914 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
916 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
917 : wxDataObjectSimple(format
) {}
919 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
920 bool GetDataHere(void *buf
) const;
921 bool SetData(size_t len
, const void *buf
) const;
925 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
927 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
928 // We need to get the data for this object and write it to buf. I think
929 // the best way to do this for wxPython is to have the Python method
930 // return either a string or None and then act appropriately with the
934 wxPyBeginBlockThreads();
935 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
937 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
939 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
941 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
945 wxPyEndBlockThreads();
949 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
950 // For this one we simply need to make a string from buf and len
951 // and send it to the Python method.
953 wxPyBeginBlockThreads();
954 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
955 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
956 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
959 wxPyEndBlockThreads();
963 // Create a new class for wxPython to use
964 class wxPyTextDataObject
: public wxTextDataObject
{
966 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
967 : wxTextDataObject(text
) {}
969 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
970 DEC_PYCALLBACK_STRING__const(GetText
);
971 DEC_PYCALLBACK__STRING(SetText
);
975 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
976 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
977 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
980 // Create a new class for wxPython to use
981 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
983 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
984 : wxBitmapDataObject(bitmap
) {}
986 wxBitmap
GetBitmap() const;
987 void SetBitmap(const wxBitmap
& bitmap
);
991 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
992 wxBitmap
* rval
= &wxNullBitmap
;
993 wxPyBeginBlockThreads();
994 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
997 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
999 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1004 wxPyEndBlockThreads();
1008 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1009 wxPyBeginBlockThreads();
1010 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1011 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1012 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1015 wxPyEndBlockThreads();
1018 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1019 if (PyString_Check(data
)) {
1020 // for Python we just call SetData here since we always need it to make a copy.
1021 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1024 // raise a TypeError if not a string
1025 PyErr_SetString(PyExc_TypeError
, "String expected.");
1028 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1029 if (PyString_Check(data
)) {
1030 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1033 // raise a TypeError if not a string
1034 PyErr_SetString(PyExc_TypeError
, "String expected.");
1038 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1039 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1042 #include <wx/metafile.h>
1045 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1048 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1049 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1050 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1051 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1052 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1055 class wxPyTextDropTarget
: public wxTextDropTarget
{
1057 wxPyTextDropTarget() {}
1059 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1061 DEC_PYCALLBACK__(OnLeave
);
1062 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1063 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1064 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1065 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1070 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1071 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1072 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1073 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1074 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1075 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1079 class wxPyFileDropTarget
: public wxFileDropTarget
{
1081 wxPyFileDropTarget() {}
1083 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1085 DEC_PYCALLBACK__(OnLeave
);
1086 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1087 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1088 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1089 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1094 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1095 const wxArrayString
& filenames
) {
1097 wxPyBeginBlockThreads();
1098 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1099 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1100 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1103 wxPyEndBlockThreads();
1109 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1110 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1111 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1112 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1113 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1118 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1122 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1123 PyObject
*resultobj
;
1127 (char *) "index", NULL
1130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1133 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1135 wxPyEndAllowThreads(__tstate
);
1136 if (PyErr_Occurred()) SWIG_fail
;
1139 wxColour
* resultptr
;
1140 resultptr
= new wxColour((wxColour
&) result
);
1141 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1149 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1150 PyObject
*resultobj
;
1154 (char *) "index", NULL
1157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1160 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1162 wxPyEndAllowThreads(__tstate
);
1163 if (PyErr_Occurred()) SWIG_fail
;
1167 resultptr
= new wxFont((wxFont
&) result
);
1168 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1176 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1181 (char *) "index", NULL
1184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1187 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1189 wxPyEndAllowThreads(__tstate
);
1190 if (PyErr_Occurred()) SWIG_fail
;
1192 resultobj
= PyInt_FromLong((long)result
);
1199 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1200 PyObject
*resultobj
;
1204 (char *) "index", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1210 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1212 wxPyEndAllowThreads(__tstate
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1215 resultobj
= PyInt_FromLong((long)result
);
1222 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
*resultobj
;
1229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1232 result
= (int)wxSystemSettings::GetScreenType();
1234 wxPyEndAllowThreads(__tstate
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1237 resultobj
= PyInt_FromLong((long)result
);
1244 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1245 PyObject
*resultobj
;
1248 (char *) "screen", NULL
1251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1254 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1256 wxPyEndAllowThreads(__tstate
);
1257 if (PyErr_Occurred()) SWIG_fail
;
1259 Py_INCREF(Py_None
); resultobj
= Py_None
;
1266 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1269 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1271 return Py_BuildValue((char *)"");
1273 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1274 PyObject
*resultobj
;
1275 wxSystemOptions
*result
;
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 result
= (wxSystemOptions
*)new wxSystemOptions();
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1295 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1297 wxString
*arg1
= 0 ;
1298 wxString
*arg2
= 0 ;
1299 bool temp1
= False
;
1300 bool temp2
= False
;
1301 PyObject
* obj0
= 0 ;
1302 PyObject
* obj1
= 0 ;
1304 (char *) "name",(char *) "value", NULL
1307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1309 arg1
= wxString_in_helper(obj0
);
1310 if (arg1
== NULL
) SWIG_fail
;
1314 arg2
= wxString_in_helper(obj1
);
1315 if (arg2
== NULL
) SWIG_fail
;
1319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1320 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1322 wxPyEndAllowThreads(__tstate
);
1323 if (PyErr_Occurred()) SWIG_fail
;
1325 Py_INCREF(Py_None
); resultobj
= Py_None
;
1348 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
*resultobj
;
1350 wxString
*arg1
= 0 ;
1352 bool temp1
= False
;
1353 PyObject
* obj0
= 0 ;
1355 (char *) "name",(char *) "value", NULL
1358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1360 arg1
= wxString_in_helper(obj0
);
1361 if (arg1
== NULL
) SWIG_fail
;
1365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1366 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1368 wxPyEndAllowThreads(__tstate
);
1369 if (PyErr_Occurred()) SWIG_fail
;
1371 Py_INCREF(Py_None
); resultobj
= Py_None
;
1386 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxString
*arg1
= 0 ;
1390 bool temp1
= False
;
1391 PyObject
* obj0
= 0 ;
1393 (char *) "name", NULL
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1398 arg1
= wxString_in_helper(obj0
);
1399 if (arg1
== NULL
) SWIG_fail
;
1403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1404 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1406 wxPyEndAllowThreads(__tstate
);
1407 if (PyErr_Occurred()) SWIG_fail
;
1411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1430 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1431 PyObject
*resultobj
;
1432 wxString
*arg1
= 0 ;
1434 bool temp1
= False
;
1435 PyObject
* obj0
= 0 ;
1437 (char *) "name", NULL
1440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1442 arg1
= wxString_in_helper(obj0
);
1443 if (arg1
== NULL
) SWIG_fail
;
1447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1448 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1450 wxPyEndAllowThreads(__tstate
);
1451 if (PyErr_Occurred()) SWIG_fail
;
1453 resultobj
= PyInt_FromLong((long)result
);
1468 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 wxString
*arg1
= 0 ;
1472 bool temp1
= False
;
1473 PyObject
* obj0
= 0 ;
1475 (char *) "name", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1480 arg1
= wxString_in_helper(obj0
);
1481 if (arg1
== NULL
) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1491 resultobj
= PyInt_FromLong((long)result
);
1506 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1509 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1511 return Py_BuildValue((char *)"");
1513 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1514 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1519 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1524 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1526 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1533 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1534 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1539 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1544 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1546 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1553 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1554 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1559 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1564 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1566 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1573 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1574 PyObject
*resultobj
;
1580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1583 result
= (long)wxNewId();
1585 wxPyEndAllowThreads(__tstate
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 resultobj
= PyInt_FromLong((long)result
);
1595 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1596 PyObject
*resultobj
;
1602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1607 wxPyEndAllowThreads(__tstate
);
1608 if (PyErr_Occurred()) SWIG_fail
;
1610 Py_INCREF(Py_None
); resultobj
= Py_None
;
1617 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (long)wxGetCurrentId();
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 resultobj
= PyInt_FromLong((long)result
);
1639 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1650 wxPyEndAllowThreads(__tstate
);
1651 if (PyErr_Occurred()) SWIG_fail
;
1653 Py_INCREF(Py_None
); resultobj
= Py_None
;
1660 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1661 PyObject
*resultobj
;
1666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1681 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 bool arg1
= (bool) True
;
1685 PyObject
* obj0
= 0 ;
1687 (char *) "resetTimer", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1692 arg1
= PyInt_AsLong(obj0
) ? true : false;
1693 if (PyErr_Occurred()) SWIG_fail
;
1696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1697 result
= (long)wxGetElapsedTime(arg1
);
1699 wxPyEndAllowThreads(__tstate
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 resultobj
= PyInt_FromLong((long)result
);
1709 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1710 PyObject
*resultobj
;
1711 int *arg1
= (int *) 0 ;
1712 int *arg2
= (int *) 0 ;
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 wxGetMousePosition(arg1
,arg2
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1731 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1732 resultobj
= t_output_helper(resultobj
,o
);
1735 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1736 resultobj
= t_output_helper(resultobj
,o
);
1744 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1754 result
= (bool)wxIsBusy();
1756 wxPyEndAllowThreads(__tstate
);
1757 if (PyErr_Occurred()) SWIG_fail
;
1759 resultobj
= PyInt_FromLong((long)result
);
1766 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1794 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1796 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1797 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1799 bool temp1
= False
;
1800 PyObject
* obj0
= 0 ;
1802 (char *) "command", NULL
1805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1808 arg1
= wxString_in_helper(obj0
);
1809 if (arg1
== NULL
) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 result
= (bool)wxShell((wxString
const &)*arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 resultobj
= PyInt_FromLong((long)result
);
1835 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 int *arg1
= (int *) 0 ;
1859 int *arg2
= (int *) 0 ;
1869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1872 result
= (int)wxGetOsVersion(arg1
,arg2
);
1874 wxPyEndAllowThreads(__tstate
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1877 resultobj
= PyInt_FromLong((long)result
);
1879 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1880 resultobj
= t_output_helper(resultobj
,o
);
1883 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1884 resultobj
= t_output_helper(resultobj
,o
);
1892 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
*resultobj
;
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 result
= wxGetOsDescription();
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1909 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1911 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1920 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 result
= (long)wxGetFreeMemory();
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 resultobj
= PyInt_FromLong((long)result
);
1942 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1947 (char *) "wFlags", NULL
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 resultobj
= PyInt_FromLong((long)result
);
1965 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1969 (char *) "secs", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 Py_INCREF(Py_None
); resultobj
= Py_None
;
1987 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1988 PyObject
*resultobj
;
1989 unsigned long arg1
;
1990 PyObject
* obj0
= 0 ;
1992 (char *) "milliseconds", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
1996 arg1
= (unsigned long) PyInt_AsLong(obj0
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 Py_INCREF(Py_None
); resultobj
= Py_None
;
2012 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2015 PyObject
* obj0
= 0 ;
2017 (char *) "enable", NULL
2020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2021 arg1
= PyInt_AsLong(obj0
) ? true : false;
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2025 wxEnableTopLevelWindows(arg1
);
2027 wxPyEndAllowThreads(__tstate
);
2028 if (PyErr_Occurred()) SWIG_fail
;
2030 Py_INCREF(Py_None
); resultobj
= Py_None
;
2037 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2038 PyObject
*resultobj
;
2039 wxString
*arg1
= 0 ;
2041 bool temp1
= False
;
2042 PyObject
* obj0
= 0 ;
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2049 arg1
= wxString_in_helper(obj0
);
2050 if (arg1
== NULL
) SWIG_fail
;
2054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2055 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2057 wxPyEndAllowThreads(__tstate
);
2058 if (PyErr_Occurred()) SWIG_fail
;
2062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2081 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2082 PyObject
*resultobj
;
2088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 result
= wxGetEmailAddress();
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2109 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2110 PyObject
*resultobj
;
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 result
= wxGetHostName();
2121 wxPyEndAllowThreads(__tstate
);
2122 if (PyErr_Occurred()) SWIG_fail
;
2126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2137 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
*resultobj
;
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 result
= wxGetFullHostName();
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2154 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2156 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2165 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= wxGetUserId();
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2193 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2203 result
= wxGetUserName();
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2221 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= wxGetHomeDir();
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2249 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2250 PyObject
*resultobj
;
2251 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2252 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2254 bool temp1
= False
;
2255 PyObject
* obj0
= 0 ;
2257 (char *) "user", NULL
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2263 arg1
= wxString_in_helper(obj0
);
2264 if (arg1
== NULL
) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 result
= wxGetUserHome((wxString
const &)*arg1
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2296 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 unsigned long result
;
2303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2306 result
= (unsigned long)wxGetProcessId();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 resultobj
= PyInt_FromLong((long)result
);
2318 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 wxPyEndAllowThreads(__tstate
);
2330 if (PyErr_Occurred()) SWIG_fail
;
2332 Py_INCREF(Py_None
); resultobj
= Py_None
;
2339 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2341 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2342 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2343 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2344 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2345 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2346 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2349 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2350 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2351 int arg6
= (int) 0 ;
2352 wxWindow
*arg7
= (wxWindow
*) NULL
;
2353 int arg8
= (int) -1 ;
2354 int arg9
= (int) -1 ;
2356 bool temp1
= False
;
2357 bool temp2
= False
;
2358 bool temp3
= False
;
2359 bool temp4
= False
;
2360 bool temp5
= False
;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2363 PyObject
* obj2
= 0 ;
2364 PyObject
* obj3
= 0 ;
2365 PyObject
* obj4
= 0 ;
2366 PyObject
* obj6
= 0 ;
2368 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2374 arg1
= wxString_in_helper(obj0
);
2375 if (arg1
== NULL
) SWIG_fail
;
2381 arg2
= wxString_in_helper(obj1
);
2382 if (arg2
== NULL
) SWIG_fail
;
2388 arg3
= wxString_in_helper(obj2
);
2389 if (arg3
== NULL
) SWIG_fail
;
2395 arg4
= wxString_in_helper(obj3
);
2396 if (arg4
== NULL
) SWIG_fail
;
2402 arg5
= wxString_in_helper(obj4
);
2403 if (arg5
== NULL
) SWIG_fail
;
2408 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2412 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2414 wxPyEndAllowThreads(__tstate
);
2415 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2470 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxString
*arg1
= 0 ;
2473 wxString
*arg2
= 0 ;
2474 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2475 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2476 wxWindow
*arg4
= (wxWindow
*) NULL
;
2478 bool temp1
= False
;
2479 bool temp2
= False
;
2480 bool temp3
= False
;
2481 PyObject
* obj0
= 0 ;
2482 PyObject
* obj1
= 0 ;
2483 PyObject
* obj2
= 0 ;
2484 PyObject
* obj3
= 0 ;
2486 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2491 arg1
= wxString_in_helper(obj0
);
2492 if (arg1
== NULL
) SWIG_fail
;
2496 arg2
= wxString_in_helper(obj1
);
2497 if (arg2
== NULL
) SWIG_fail
;
2502 arg3
= wxString_in_helper(obj2
);
2503 if (arg3
== NULL
) SWIG_fail
;
2508 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2521 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2554 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxString
*arg1
= 0 ;
2557 wxString
*arg2
= 0 ;
2558 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2559 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2560 wxWindow
*arg4
= (wxWindow
*) NULL
;
2562 bool temp1
= False
;
2563 bool temp2
= False
;
2564 bool temp3
= False
;
2565 PyObject
* obj0
= 0 ;
2566 PyObject
* obj1
= 0 ;
2567 PyObject
* obj2
= 0 ;
2568 PyObject
* obj3
= 0 ;
2570 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2575 arg1
= wxString_in_helper(obj0
);
2576 if (arg1
== NULL
) SWIG_fail
;
2580 arg2
= wxString_in_helper(obj1
);
2581 if (arg2
== NULL
) SWIG_fail
;
2586 arg3
= wxString_in_helper(obj2
);
2587 if (arg3
== NULL
) SWIG_fail
;
2592 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2638 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2640 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2641 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2642 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2643 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2644 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2645 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2646 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2647 wxWindow
*arg5
= (wxWindow
*) NULL
;
2649 bool temp1
= False
;
2650 bool temp2
= False
;
2652 PyObject
* obj0
= 0 ;
2653 PyObject
* obj1
= 0 ;
2654 PyObject
* obj3
= 0 ;
2655 PyObject
* obj4
= 0 ;
2657 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2663 arg1
= wxString_in_helper(obj0
);
2664 if (arg1
== NULL
) SWIG_fail
;
2670 arg2
= wxString_in_helper(obj1
);
2671 if (arg2
== NULL
) SWIG_fail
;
2678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2682 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2686 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2720 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2721 PyObject
*resultobj
;
2722 wxString
*arg1
= 0 ;
2723 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2724 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2725 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2726 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2727 wxWindow
*arg4
= (wxWindow
*) NULL
;
2728 int arg5
= (int) -1 ;
2729 int arg6
= (int) -1 ;
2730 bool arg7
= (bool) True
;
2732 bool temp1
= False
;
2733 bool temp2
= False
;
2734 bool temp3
= False
;
2735 PyObject
* obj0
= 0 ;
2736 PyObject
* obj1
= 0 ;
2737 PyObject
* obj2
= 0 ;
2738 PyObject
* obj3
= 0 ;
2739 PyObject
* obj6
= 0 ;
2741 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2746 arg1
= wxString_in_helper(obj0
);
2747 if (arg1
== NULL
) SWIG_fail
;
2752 arg2
= wxString_in_helper(obj1
);
2753 if (arg2
== NULL
) SWIG_fail
;
2759 arg3
= wxString_in_helper(obj2
);
2760 if (arg3
== NULL
) SWIG_fail
;
2765 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2768 arg7
= PyInt_AsLong(obj6
) ? true : false;
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2773 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2775 wxPyEndAllowThreads(__tstate
);
2776 if (PyErr_Occurred()) SWIG_fail
;
2780 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2782 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2815 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2816 PyObject
*resultobj
;
2817 wxString
*arg1
= 0 ;
2818 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2819 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2822 wxWindow
*arg4
= (wxWindow
*) NULL
;
2824 bool temp1
= False
;
2825 bool temp2
= False
;
2826 bool temp3
= False
;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2829 PyObject
* obj2
= 0 ;
2830 PyObject
* obj3
= 0 ;
2832 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2837 arg1
= wxString_in_helper(obj0
);
2838 if (arg1
== NULL
) SWIG_fail
;
2843 arg2
= wxString_in_helper(obj1
);
2844 if (arg2
== NULL
) SWIG_fail
;
2850 arg3
= wxString_in_helper(obj2
);
2851 if (arg3
== NULL
) SWIG_fail
;
2856 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2902 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2903 PyObject
*resultobj
;
2904 wxString
*arg1
= 0 ;
2905 wxString
*arg2
= 0 ;
2907 wxString
*arg4
= (wxString
*) 0 ;
2908 wxWindow
*arg5
= (wxWindow
*) NULL
;
2909 int arg6
= (int) -1 ;
2910 int arg7
= (int) -1 ;
2911 bool arg8
= (bool) True
;
2912 int arg9
= (int) 150 ;
2913 int arg10
= (int) 200 ;
2915 bool temp1
= False
;
2916 bool temp2
= False
;
2917 PyObject
* obj0
= 0 ;
2918 PyObject
* obj1
= 0 ;
2919 PyObject
* obj2
= 0 ;
2920 PyObject
* obj3
= 0 ;
2921 PyObject
* obj6
= 0 ;
2923 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2928 arg1
= wxString_in_helper(obj0
);
2929 if (arg1
== NULL
) SWIG_fail
;
2933 arg2
= wxString_in_helper(obj1
);
2934 if (arg2
== NULL
) SWIG_fail
;
2938 arg3
= PyList_Size(obj2
);
2939 arg4
= wxString_LIST_helper(obj2
);
2940 if (arg4
== NULL
) SWIG_fail
;
2943 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2946 arg8
= PyInt_AsLong(obj6
) ? true : false;
2947 if (PyErr_Occurred()) SWIG_fail
;
2950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2951 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2953 wxPyEndAllowThreads(__tstate
);
2954 if (PyErr_Occurred()) SWIG_fail
;
2958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2972 if (arg4
) delete [] arg4
;
2985 if (arg4
) delete [] arg4
;
2991 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxString
*arg1
= 0 ;
2994 wxString
*arg2
= 0 ;
2996 wxString
*arg4
= (wxString
*) 0 ;
2997 wxWindow
*arg5
= (wxWindow
*) NULL
;
2998 int arg6
= (int) -1 ;
2999 int arg7
= (int) -1 ;
3000 bool arg8
= (bool) True
;
3001 int arg9
= (int) 150 ;
3002 int arg10
= (int) 200 ;
3004 bool temp1
= False
;
3005 bool temp2
= False
;
3006 PyObject
* obj0
= 0 ;
3007 PyObject
* obj1
= 0 ;
3008 PyObject
* obj2
= 0 ;
3009 PyObject
* obj3
= 0 ;
3010 PyObject
* obj6
= 0 ;
3012 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
3017 arg1
= wxString_in_helper(obj0
);
3018 if (arg1
== NULL
) SWIG_fail
;
3022 arg2
= wxString_in_helper(obj1
);
3023 if (arg2
== NULL
) SWIG_fail
;
3027 arg3
= PyList_Size(obj2
);
3028 arg4
= wxString_LIST_helper(obj2
);
3029 if (arg4
== NULL
) SWIG_fail
;
3032 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3035 arg8
= PyInt_AsLong(obj6
) ? true : false;
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3040 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3042 wxPyEndAllowThreads(__tstate
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3045 resultobj
= PyInt_FromLong((long)result
);
3055 if (arg4
) delete [] arg4
;
3068 if (arg4
) delete [] arg4
;
3074 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxString
*arg1
= 0 ;
3077 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3078 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3079 int arg3
= (int) wxOK
|wxCENTRE
;
3080 wxWindow
*arg4
= (wxWindow
*) NULL
;
3081 int arg5
= (int) -1 ;
3082 int arg6
= (int) -1 ;
3084 bool temp1
= False
;
3085 bool temp2
= False
;
3086 PyObject
* obj0
= 0 ;
3087 PyObject
* obj1
= 0 ;
3088 PyObject
* obj3
= 0 ;
3090 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3095 arg1
= wxString_in_helper(obj0
);
3096 if (arg1
== NULL
) SWIG_fail
;
3101 arg2
= wxString_in_helper(obj1
);
3102 if (arg2
== NULL
) SWIG_fail
;
3107 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3111 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3113 wxPyEndAllowThreads(__tstate
);
3114 if (PyErr_Occurred()) SWIG_fail
;
3116 resultobj
= PyInt_FromLong((long)result
);
3139 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxString
*arg1
= 0 ;
3142 wxString
*arg2
= 0 ;
3143 wxString
*arg3
= 0 ;
3145 long arg5
= (long) 0 ;
3146 long arg6
= (long) 100 ;
3147 wxWindow
*arg7
= (wxWindow
*) NULL
;
3148 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3149 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3151 bool temp1
= False
;
3152 bool temp2
= False
;
3153 bool temp3
= False
;
3155 PyObject
* obj0
= 0 ;
3156 PyObject
* obj1
= 0 ;
3157 PyObject
* obj2
= 0 ;
3158 PyObject
* obj6
= 0 ;
3159 PyObject
* obj7
= 0 ;
3161 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3166 arg1
= wxString_in_helper(obj0
);
3167 if (arg1
== NULL
) SWIG_fail
;
3171 arg2
= wxString_in_helper(obj1
);
3172 if (arg2
== NULL
) SWIG_fail
;
3176 arg3
= wxString_in_helper(obj2
);
3177 if (arg3
== NULL
) SWIG_fail
;
3181 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= PyInt_FromLong((long)result
);
3227 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3237 result
= (bool)wxColourDisplay();
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= PyInt_FromLong((long)result
);
3249 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3259 result
= (int)wxDisplayDepth();
3261 wxPyEndAllowThreads(__tstate
);
3262 if (PyErr_Occurred()) SWIG_fail
;
3264 resultobj
= PyInt_FromLong((long)result
);
3271 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3272 PyObject
*resultobj
;
3278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3281 result
= (int)wxGetDisplayDepth();
3283 wxPyEndAllowThreads(__tstate
);
3284 if (PyErr_Occurred()) SWIG_fail
;
3286 resultobj
= PyInt_FromLong((long)result
);
3293 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3294 PyObject
*resultobj
;
3295 int *arg1
= (int *) 0 ;
3296 int *arg2
= (int *) 0 ;
3305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3308 wxDisplaySize(arg1
,arg2
);
3310 wxPyEndAllowThreads(__tstate
);
3311 if (PyErr_Occurred()) SWIG_fail
;
3313 Py_INCREF(Py_None
); resultobj
= Py_None
;
3315 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3316 resultobj
= t_output_helper(resultobj
,o
);
3319 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3320 resultobj
= t_output_helper(resultobj
,o
);
3328 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3329 PyObject
*resultobj
;
3335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3338 result
= wxGetDisplaySize();
3340 wxPyEndAllowThreads(__tstate
);
3341 if (PyErr_Occurred()) SWIG_fail
;
3345 resultptr
= new wxSize((wxSize
&) result
);
3346 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3354 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3355 PyObject
*resultobj
;
3356 int *arg1
= (int *) 0 ;
3357 int *arg2
= (int *) 0 ;
3366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 wxDisplaySizeMM(arg1
,arg2
);
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 Py_INCREF(Py_None
); resultobj
= Py_None
;
3376 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3377 resultobj
= t_output_helper(resultobj
,o
);
3380 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3381 resultobj
= t_output_helper(resultobj
,o
);
3389 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3390 PyObject
*resultobj
;
3396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3399 result
= wxGetDisplaySizeMM();
3401 wxPyEndAllowThreads(__tstate
);
3402 if (PyErr_Occurred()) SWIG_fail
;
3406 resultptr
= new wxSize((wxSize
&) result
);
3407 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3415 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3416 PyObject
*resultobj
;
3417 int *arg1
= (int *) 0 ;
3418 int *arg2
= (int *) 0 ;
3419 int *arg3
= (int *) 0 ;
3420 int *arg4
= (int *) 0 ;
3433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 Py_INCREF(Py_None
); resultobj
= Py_None
;
3443 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3444 resultobj
= t_output_helper(resultobj
,o
);
3447 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3448 resultobj
= t_output_helper(resultobj
,o
);
3451 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3452 resultobj
= t_output_helper(resultobj
,o
);
3455 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3456 resultobj
= t_output_helper(resultobj
,o
);
3464 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3465 PyObject
*resultobj
;
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3474 result
= wxGetClientDisplayRect();
3476 wxPyEndAllowThreads(__tstate
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3481 resultptr
= new wxRect((wxRect
&) result
);
3482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3490 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxCursor
*arg1
= 0 ;
3493 PyObject
* obj0
= 0 ;
3495 (char *) "cursor", NULL
3498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3501 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3507 wxPyEndAllowThreads(__tstate
);
3508 if (PyErr_Occurred()) SWIG_fail
;
3510 Py_INCREF(Py_None
); resultobj
= Py_None
;
3517 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3520 PyObject
* obj0
= 0 ;
3522 (char *) "cursor", NULL
3525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3531 wxBeginBusyCursor(arg1
);
3533 wxPyEndAllowThreads(__tstate
);
3534 if (PyErr_Occurred()) SWIG_fail
;
3536 Py_INCREF(Py_None
); resultobj
= Py_None
;
3543 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3544 PyObject
*resultobj
;
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (wxWindow
*)wxGetActiveWindow();
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3559 resultobj
= wxPyMake_wxObject(result
);
3567 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3572 PyObject
* obj0
= 0 ;
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3580 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3586 wxPyEndAllowThreads(__tstate
);
3587 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= wxPyMake_wxObject(result
);
3598 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3599 PyObject
*resultobj
;
3603 PyObject
* obj0
= 0 ;
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3611 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3615 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3617 wxPyEndAllowThreads(__tstate
);
3618 if (PyErr_Occurred()) SWIG_fail
;
3621 resultobj
= wxPyMake_wxObject(result
);
3629 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3630 PyObject
*resultobj
;
3631 wxWindow
*arg1
= (wxWindow
*) 0 ;
3633 PyObject
* obj0
= 0 ;
3635 (char *) "win", NULL
3638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= wxPyMake_wxObject(result
);
3656 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3661 (char *) "key", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetKeyState",kwnames
,&arg1
)) goto fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= PyInt_FromLong((long)result
);
3679 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 wxWakeUpMainThread();
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 Py_INCREF(Py_None
); resultobj
= Py_None
;
3700 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3732 wxPyEndAllowThreads(__tstate
);
3733 if (PyErr_Occurred()) SWIG_fail
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxMutexGuiLocker
*result
;
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3764 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3767 PyObject
* obj0
= 0 ;
3769 (char *) "self", NULL
3772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 Py_INCREF(Py_None
); resultobj
= Py_None
;
3788 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3791 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3793 return Py_BuildValue((char *)"");
3795 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (bool)wxThread_IsMain();
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3810 resultobj
= PyInt_FromLong((long)result
);
3817 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxString
*arg1
= 0 ;
3821 bool temp1
= False
;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "tip", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3829 arg1
= wxString_in_helper(obj0
);
3830 if (arg1
== NULL
) SWIG_fail
;
3834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3835 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3837 wxPyEndAllowThreads(__tstate
);
3838 if (PyErr_Occurred()) SWIG_fail
;
3841 resultobj
= wxPyMake_wxObject(result
);
3857 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3858 PyObject
*resultobj
;
3859 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3860 wxString
*arg2
= 0 ;
3861 bool temp2
= False
;
3862 PyObject
* obj0
= 0 ;
3863 PyObject
* obj1
= 0 ;
3865 (char *) "self",(char *) "tip", NULL
3868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3871 arg2
= wxString_in_helper(obj1
);
3872 if (arg2
== NULL
) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 (arg1
)->SetTip((wxString
const &)*arg2
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "self", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 result
= (arg1
)->GetTip();
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3928 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3932 PyObject
* obj0
= 0 ;
3934 (char *) "self", NULL
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (wxWindow
*)(arg1
)->GetWindow();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3947 resultobj
= wxPyMake_wxObject(result
);
3955 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3958 PyObject
* obj0
= 0 ;
3960 (char *) "flag", NULL
3963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3964 arg1
= PyInt_AsLong(obj0
) ? true : false;
3965 if (PyErr_Occurred()) SWIG_fail
;
3967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxToolTip::Enable(arg1
);
3970 wxPyEndAllowThreads(__tstate
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 Py_INCREF(Py_None
); resultobj
= Py_None
;
3980 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3981 PyObject
*resultobj
;
3984 (char *) "milliseconds", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 wxToolTip::SetDelay(arg1
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 Py_INCREF(Py_None
); resultobj
= Py_None
;
4002 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4005 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4007 return Py_BuildValue((char *)"");
4009 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxWindow
*arg1
= (wxWindow
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4018 (char *) "window",(char *) "size", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4029 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4031 wxPyEndAllowThreads(__tstate
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4034 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4041 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4042 PyObject
*resultobj
;
4043 wxCaret
*arg1
= (wxCaret
*) 0 ;
4044 PyObject
* obj0
= 0 ;
4046 (char *) "self", NULL
4049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxCaret
*arg1
= (wxCaret
*) 0 ;
4069 PyObject
* obj0
= 0 ;
4071 (char *) "self", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 result
= (bool)(arg1
)->IsOk();
4080 wxPyEndAllowThreads(__tstate
);
4081 if (PyErr_Occurred()) SWIG_fail
;
4083 resultobj
= PyInt_FromLong((long)result
);
4090 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4091 PyObject
*resultobj
;
4092 wxCaret
*arg1
= (wxCaret
*) 0 ;
4094 PyObject
* obj0
= 0 ;
4096 (char *) "self", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4103 result
= (bool)(arg1
)->IsVisible();
4105 wxPyEndAllowThreads(__tstate
);
4106 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= PyInt_FromLong((long)result
);
4115 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxCaret
*arg1
= (wxCaret
*) 0 ;
4119 PyObject
* obj0
= 0 ;
4121 (char *) "self", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= (arg1
)->GetPosition();
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4134 wxPoint
* resultptr
;
4135 resultptr
= new wxPoint((wxPoint
&) result
);
4136 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4144 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxCaret
*arg1
= (wxCaret
*) 0 ;
4147 int *arg2
= (int *) 0 ;
4148 int *arg3
= (int *) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 (arg1
)->GetPosition(arg2
,arg3
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4169 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4170 resultobj
= t_output_helper(resultobj
,o
);
4173 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4174 resultobj
= t_output_helper(resultobj
,o
);
4182 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxCaret
*arg1
= (wxCaret
*) 0 ;
4186 PyObject
* obj0
= 0 ;
4188 (char *) "self", NULL
4191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (arg1
)->GetSize();
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4202 resultptr
= new wxSize((wxSize
&) result
);
4203 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4211 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxCaret
*arg1
= (wxCaret
*) 0 ;
4214 int *arg2
= (int *) 0 ;
4215 int *arg3
= (int *) 0 ;
4218 PyObject
* obj0
= 0 ;
4220 (char *) "self", NULL
4225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 (arg1
)->GetSize(arg2
,arg3
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 Py_INCREF(Py_None
); resultobj
= Py_None
;
4236 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4237 resultobj
= t_output_helper(resultobj
,o
);
4240 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4241 resultobj
= t_output_helper(resultobj
,o
);
4249 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
;
4251 wxCaret
*arg1
= (wxCaret
*) 0 ;
4253 PyObject
* obj0
= 0 ;
4255 (char *) "self", NULL
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (wxWindow
*)(arg1
)->GetWindow();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= wxPyMake_wxObject(result
);
4276 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4278 wxCaret
*arg1
= (wxCaret
*) 0 ;
4281 PyObject
* obj0
= 0 ;
4283 (char *) "self",(char *) "x",(char *) "y", NULL
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 (arg1
)->Move(arg2
,arg3
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 Py_INCREF(Py_None
); resultobj
= Py_None
;
4302 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxCaret
*arg1
= (wxCaret
*) 0 ;
4307 PyObject
* obj0
= 0 ;
4308 PyObject
* obj1
= 0 ;
4310 (char *) "self",(char *) "pt", NULL
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4317 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 (arg1
)->Move((wxPoint
const &)*arg2
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 Py_INCREF(Py_None
); resultobj
= Py_None
;
4333 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4335 wxCaret
*arg1
= (wxCaret
*) 0 ;
4338 PyObject
* obj0
= 0 ;
4340 (char *) "self",(char *) "width",(char *) "height", NULL
4343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4347 (arg1
)->SetSize(arg2
,arg3
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 Py_INCREF(Py_None
); resultobj
= Py_None
;
4359 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxCaret
*arg1
= (wxCaret
*) 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4367 (char *) "self",(char *) "size", NULL
4370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4378 (arg1
)->SetSize((wxSize
const &)*arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 Py_INCREF(Py_None
); resultobj
= Py_None
;
4390 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
;
4392 wxCaret
*arg1
= (wxCaret
*) 0 ;
4393 int arg2
= (int) True
;
4394 PyObject
* obj0
= 0 ;
4396 (char *) "self",(char *) "show", NULL
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 Py_INCREF(Py_None
); resultobj
= Py_None
;
4415 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4417 wxCaret
*arg1
= (wxCaret
*) 0 ;
4418 PyObject
* obj0
= 0 ;
4420 (char *) "self", NULL
4423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4442 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4444 return Py_BuildValue((char *)"");
4446 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
;
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4456 result
= (int)wxCaret_GetBlinkTime();
4458 wxPyEndAllowThreads(__tstate
);
4459 if (PyErr_Occurred()) SWIG_fail
;
4461 resultobj
= PyInt_FromLong((long)result
);
4468 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4469 PyObject
*resultobj
;
4472 (char *) "milliseconds", NULL
4475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 wxCaret_SetBlinkTime(arg1
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 Py_INCREF(Py_None
); resultobj
= Py_None
;
4490 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4493 wxBusyCursor
*result
;
4494 PyObject
* obj0
= 0 ;
4496 (char *) "cursor", NULL
4499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4507 wxPyEndAllowThreads(__tstate
);
4508 if (PyErr_Occurred()) SWIG_fail
;
4510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4517 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4518 PyObject
*resultobj
;
4519 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4520 PyObject
* obj0
= 0 ;
4522 (char *) "self", NULL
4525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 Py_INCREF(Py_None
); resultobj
= Py_None
;
4541 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4544 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4546 return Py_BuildValue((char *)"");
4548 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxWindow
*arg1
= (wxWindow
*) NULL
;
4551 wxWindowDisabler
*result
;
4552 PyObject
* obj0
= 0 ;
4554 (char *) "winToSkip", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4575 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4578 PyObject
* obj0
= 0 ;
4580 (char *) "self", NULL
4583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 wxPyEndAllowThreads(__tstate
);
4590 if (PyErr_Occurred()) SWIG_fail
;
4592 Py_INCREF(Py_None
); resultobj
= Py_None
;
4599 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4602 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4604 return Py_BuildValue((char *)"");
4606 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxString
*arg1
= 0 ;
4610 bool temp1
= False
;
4611 PyObject
* obj0
= 0 ;
4613 (char *) "message", NULL
4616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4618 arg1
= wxString_in_helper(obj0
);
4619 if (arg1
== NULL
) SWIG_fail
;
4623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4626 wxPyEndAllowThreads(__tstate
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4644 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4645 PyObject
*resultobj
;
4646 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4647 PyObject
* obj0
= 0 ;
4649 (char *) "self", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 wxPyEndAllowThreads(__tstate
);
4659 if (PyErr_Occurred()) SWIG_fail
;
4661 Py_INCREF(Py_None
); resultobj
= Py_None
;
4668 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4671 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4673 return Py_BuildValue((char *)"");
4675 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxStopWatch
*result
;
4682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4685 result
= (wxStopWatch
*)new wxStopWatch();
4687 wxPyEndAllowThreads(__tstate
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4697 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4698 PyObject
*resultobj
;
4699 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4700 long arg2
= (long) 0 ;
4701 PyObject
* obj0
= 0 ;
4703 (char *) "self",(char *) "t0", NULL
4706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4710 (arg1
)->Start(arg2
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 Py_INCREF(Py_None
); resultobj
= Py_None
;
4722 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4724 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4725 PyObject
* obj0
= 0 ;
4727 (char *) "self", NULL
4730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4736 wxPyEndAllowThreads(__tstate
);
4737 if (PyErr_Occurred()) SWIG_fail
;
4739 Py_INCREF(Py_None
); resultobj
= Py_None
;
4746 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4747 PyObject
*resultobj
;
4748 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "self", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 Py_INCREF(Py_None
); resultobj
= Py_None
;
4770 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4783 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4785 wxPyEndAllowThreads(__tstate
);
4786 if (PyErr_Occurred()) SWIG_fail
;
4788 resultobj
= PyInt_FromLong((long)result
);
4795 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4798 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4800 return Py_BuildValue((char *)"");
4802 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 int arg1
= (int) 9 ;
4805 wxFileHistory
*result
;
4807 (char *) "maxFiles", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4825 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 Py_INCREF(Py_None
); resultobj
= Py_None
;
4849 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4852 wxString
*arg2
= 0 ;
4853 bool temp2
= False
;
4854 PyObject
* obj0
= 0 ;
4855 PyObject
* obj1
= 0 ;
4857 (char *) "self",(char *) "file", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4863 arg2
= wxString_in_helper(obj1
);
4864 if (arg2
== NULL
) SWIG_fail
;
4868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4869 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4874 Py_INCREF(Py_None
); resultobj
= Py_None
;
4889 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self",(char *) "i", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 (arg1
)->RemoveFileFromHistory(arg2
);
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 Py_INCREF(Py_None
); resultobj
= Py_None
;
4914 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= PyInt_FromLong((long)result
);
4939 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4942 wxMenu
*arg2
= (wxMenu
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4944 PyObject
* obj1
= 0 ;
4946 (char *) "self",(char *) "menu", NULL
4949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 (arg1
)->UseMenu(arg2
);
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 Py_INCREF(Py_None
); resultobj
= Py_None
;
4966 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4969 wxMenu
*arg2
= (wxMenu
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4971 PyObject
* obj1
= 0 ;
4973 (char *) "self",(char *) "menu", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4978 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 (arg1
)->RemoveMenu(arg2
);
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 Py_INCREF(Py_None
); resultobj
= Py_None
;
4993 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4996 wxConfigBase
*arg2
= 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
5000 (char *) "self",(char *) "config", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->Load(*arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 Py_INCREF(Py_None
); resultobj
= Py_None
;
5023 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5026 wxConfigBase
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5030 (char *) "self",(char *) "config", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 (arg1
)->Save(*arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 Py_INCREF(Py_None
); resultobj
= Py_None
;
5053 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
;
5055 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5058 (char *) "self", NULL
5061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5065 (arg1
)->AddFilesToMenu();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 Py_INCREF(Py_None
); resultobj
= Py_None
;
5077 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
;
5079 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5080 wxMenu
*arg2
= (wxMenu
*) 0 ;
5081 PyObject
* obj0
= 0 ;
5082 PyObject
* obj1
= 0 ;
5084 (char *) "self",(char *) "menu", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5089 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 (arg1
)->AddFilesToMenu(arg2
);
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5097 Py_INCREF(Py_None
); resultobj
= Py_None
;
5104 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5109 PyObject
* obj0
= 0 ;
5111 (char *) "self",(char *) "i", NULL
5114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5118 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5136 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5137 PyObject
*resultobj
;
5138 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5140 PyObject
* obj0
= 0 ;
5142 (char *) "self", NULL
5145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5149 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5151 wxPyEndAllowThreads(__tstate
);
5152 if (PyErr_Occurred()) SWIG_fail
;
5154 resultobj
= PyInt_FromLong((long)result
);
5161 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5163 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5164 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5166 return Py_BuildValue((char *)"");
5168 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5169 PyObject
*resultobj
;
5170 wxString
*arg1
= 0 ;
5171 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5172 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5173 wxSingleInstanceChecker
*result
;
5174 bool temp1
= False
;
5175 bool temp2
= False
;
5176 PyObject
* obj0
= 0 ;
5177 PyObject
* obj1
= 0 ;
5179 (char *) "name",(char *) "path", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5184 arg1
= wxString_in_helper(obj0
);
5185 if (arg1
== NULL
) SWIG_fail
;
5190 arg2
= wxString_in_helper(obj1
);
5191 if (arg2
== NULL
) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5225 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5226 PyObject
*resultobj
;
5227 wxSingleInstanceChecker
*result
;
5232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5237 wxPyEndAllowThreads(__tstate
);
5238 if (PyErr_Occurred()) SWIG_fail
;
5240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5247 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5248 PyObject
*resultobj
;
5249 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5250 PyObject
* obj0
= 0 ;
5252 (char *) "self", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5261 wxPyEndAllowThreads(__tstate
);
5262 if (PyErr_Occurred()) SWIG_fail
;
5264 Py_INCREF(Py_None
); resultobj
= Py_None
;
5271 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5272 PyObject
*resultobj
;
5273 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5274 wxString
*arg2
= 0 ;
5275 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5276 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5278 bool temp2
= False
;
5279 bool temp3
= False
;
5280 PyObject
* obj0
= 0 ;
5281 PyObject
* obj1
= 0 ;
5282 PyObject
* obj2
= 0 ;
5284 (char *) "self",(char *) "name",(char *) "path", NULL
5287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5290 arg2
= wxString_in_helper(obj1
);
5291 if (arg2
== NULL
) SWIG_fail
;
5296 arg3
= wxString_in_helper(obj2
);
5297 if (arg3
== NULL
) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5308 resultobj
= PyInt_FromLong((long)result
);
5331 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5335 PyObject
* obj0
= 0 ;
5337 (char *) "self", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5349 resultobj
= PyInt_FromLong((long)result
);
5356 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5359 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5361 return Py_BuildValue((char *)"");
5363 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxWindow
*arg1
= (wxWindow
*) 0 ;
5368 PyObject
* obj0
= 0 ;
5369 PyObject
* obj1
= 0 ;
5371 (char *) "window",(char *) "dc",(char *) "method", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5382 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5384 wxPyEndAllowThreads(__tstate
);
5385 if (PyErr_Occurred()) SWIG_fail
;
5387 Py_INCREF(Py_None
); resultobj
= Py_None
;
5394 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5397 PyObject
* obj0
= 0 ;
5399 (char *) "self", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5418 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= (arg1
)->GetTip();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5449 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5450 PyObject
*resultobj
;
5451 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5453 PyObject
* obj0
= 0 ;
5455 (char *) "self", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (size_t)(arg1
)->GetCurrentTip();
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= PyInt_FromLong((long)result
);
5474 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5477 wxString
*arg2
= 0 ;
5479 bool temp2
= False
;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5483 (char *) "self",(char *) "tip", NULL
5486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5489 arg2
= wxString_in_helper(obj1
);
5490 if (arg2
== NULL
) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5521 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5523 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5524 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5526 return Py_BuildValue((char *)"");
5528 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5531 wxPyTipProvider
*result
;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "currentTip", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5538 arg1
= (size_t) PyInt_AsLong(obj0
);
5539 if (PyErr_Occurred()) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5554 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5557 PyObject
*arg2
= (PyObject
*) 0 ;
5558 PyObject
*arg3
= (PyObject
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5560 PyObject
* obj1
= 0 ;
5561 PyObject
* obj2
= 0 ;
5563 (char *) "self",(char *) "self",(char *) "_class", NULL
5566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5572 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5574 wxPyEndAllowThreads(__tstate
);
5575 if (PyErr_Occurred()) SWIG_fail
;
5577 Py_INCREF(Py_None
); resultobj
= Py_None
;
5584 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5587 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5589 return Py_BuildValue((char *)"");
5591 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxWindow
*arg1
= (wxWindow
*) 0 ;
5594 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5595 bool arg3
= (bool) True
;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5599 PyObject
* obj2
= 0 ;
5601 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5608 arg3
= PyInt_AsLong(obj2
) ? true : false;
5609 if (PyErr_Occurred()) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= PyInt_FromLong((long)result
);
5625 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxString
*arg1
= 0 ;
5629 wxTipProvider
*result
;
5630 bool temp1
= False
;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5634 (char *) "filename",(char *) "currentTip", NULL
5637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 arg1
= wxString_in_helper(obj0
);
5640 if (arg1
== NULL
) SWIG_fail
;
5643 arg2
= (size_t) PyInt_AsLong(obj1
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5667 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5670 int arg2
= (int) -1 ;
5672 PyObject
* obj0
= 0 ;
5674 (char *) "owner",(char *) "id", NULL
5677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5695 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5697 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5698 PyObject
* obj0
= 0 ;
5700 (char *) "self", NULL
5703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 wxPyEndAllowThreads(__tstate
);
5710 if (PyErr_Occurred()) SWIG_fail
;
5712 Py_INCREF(Py_None
); resultobj
= Py_None
;
5719 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5722 PyObject
*arg2
= (PyObject
*) 0 ;
5723 PyObject
*arg3
= (PyObject
*) 0 ;
5724 PyObject
* obj0
= 0 ;
5725 PyObject
* obj1
= 0 ;
5726 PyObject
* obj2
= 0 ;
5728 (char *) "self",(char *) "self",(char *) "_class", NULL
5731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5739 wxPyEndAllowThreads(__tstate
);
5740 if (PyErr_Occurred()) SWIG_fail
;
5742 Py_INCREF(Py_None
); resultobj
= Py_None
;
5749 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5750 PyObject
*resultobj
;
5751 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5752 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5753 int arg3
= (int) -1 ;
5754 PyObject
* obj0
= 0 ;
5755 PyObject
* obj1
= 0 ;
5757 (char *) "self",(char *) "owner",(char *) "id", NULL
5760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->SetOwner(arg2
,arg3
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 Py_INCREF(Py_None
); resultobj
= Py_None
;
5777 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5780 int arg2
= (int) -1 ;
5781 bool arg3
= (bool) False
;
5783 PyObject
* obj0
= 0 ;
5784 PyObject
* obj2
= 0 ;
5786 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5792 arg3
= PyInt_AsLong(obj2
) ? true : false;
5793 if (PyErr_Occurred()) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5802 resultobj
= PyInt_FromLong((long)result
);
5809 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 Py_INCREF(Py_None
); resultobj
= Py_None
;
5833 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5837 PyObject
* obj0
= 0 ;
5839 (char *) "self", NULL
5842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= PyInt_FromLong((long)result
);
5858 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5871 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5873 wxPyEndAllowThreads(__tstate
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5876 resultobj
= PyInt_FromLong((long)result
);
5883 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5887 PyObject
* obj0
= 0 ;
5889 (char *) "self", NULL
5892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5896 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5898 wxPyEndAllowThreads(__tstate
);
5899 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyInt_FromLong((long)result
);
5908 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5909 PyObject
*resultobj
;
5910 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5912 PyObject
* obj0
= 0 ;
5914 (char *) "self", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
5923 wxPyEndAllowThreads(__tstate
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5926 resultobj
= PyInt_FromLong((long)result
);
5933 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5936 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5938 return Py_BuildValue((char *)"");
5940 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 int arg1
= (int) 0 ;
5943 int arg2
= (int) 0 ;
5944 wxTimerEvent
*result
;
5946 (char *) "timerid",(char *) "interval", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5964 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5965 PyObject
*resultobj
;
5966 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5968 PyObject
* obj0
= 0 ;
5970 (char *) "self", NULL
5973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= PyInt_FromLong((long)result
);
5989 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5992 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5994 return Py_BuildValue((char *)"");
5996 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5997 PyObject
*resultobj
;
5999 wxTimerRunner
*result
;
6000 PyObject
* obj0
= 0 ;
6002 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6005 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6021 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6022 PyObject
*resultobj
;
6025 bool arg3
= (bool) False
;
6026 wxTimerRunner
*result
;
6027 PyObject
* obj0
= 0 ;
6028 PyObject
* obj2
= 0 ;
6030 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6033 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6036 arg3
= PyInt_AsLong(obj2
) ? true : false;
6037 if (PyErr_Occurred()) SWIG_fail
;
6040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6041 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6043 wxPyEndAllowThreads(__tstate
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6053 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6058 argc
= PyObject_Length(args
);
6059 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6060 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6066 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6074 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6077 if ((argc
>= 2) && (argc
<= 3)) {
6081 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6090 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6094 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6097 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6100 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6106 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6111 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
;
6113 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6116 (char *) "self", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 Py_INCREF(Py_None
); resultobj
= Py_None
;
6135 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
;
6137 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6139 bool arg3
= (bool) False
;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj2
= 0 ;
6143 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6149 arg3
= PyInt_AsLong(obj2
) ? true : false;
6150 if (PyErr_Occurred()) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 (arg1
)->Start(arg2
,arg3
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6159 Py_INCREF(Py_None
); resultobj
= Py_None
;
6166 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6169 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6171 return Py_BuildValue((char *)"");
6173 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6174 PyObject
*resultobj
;
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (wxLog
*)new wxLog();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6195 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
;
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 result
= (bool)wxLog::IsEnabled();
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 resultobj
= PyInt_FromLong((long)result
);
6217 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6218 PyObject
*resultobj
;
6219 bool arg1
= (bool) True
;
6221 PyObject
* obj0
= 0 ;
6223 (char *) "doIt", NULL
6226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6228 arg1
= PyInt_AsLong(obj0
) ? true : false;
6229 if (PyErr_Occurred()) SWIG_fail
;
6232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6233 result
= (bool)wxLog::EnableLogging(arg1
);
6235 wxPyEndAllowThreads(__tstate
);
6236 if (PyErr_Occurred()) SWIG_fail
;
6238 resultobj
= PyInt_FromLong((long)result
);
6245 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6246 PyObject
*resultobj
;
6248 wxChar
*arg2
= (wxChar
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6252 PyObject
* obj2
= 0 ;
6254 (char *) "level",(char *) "szString",(char *) "t", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6258 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6261 arg3
= (time_t) PyInt_AsLong(obj2
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 Py_INCREF(Py_None
); resultobj
= Py_None
;
6277 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxLog
*arg1
= (wxLog
*) 0 ;
6280 PyObject
* obj0
= 0 ;
6282 (char *) "self", NULL
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 Py_INCREF(Py_None
); resultobj
= Py_None
;
6301 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6310 wxLog::FlushActive();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 Py_INCREF(Py_None
); resultobj
= Py_None
;
6322 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (wxLog
*)wxLog::GetActiveTarget();
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6344 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6345 PyObject
*resultobj
;
6346 wxLog
*arg1
= (wxLog
*) 0 ;
6348 PyObject
* obj0
= 0 ;
6350 (char *) "pLogger", NULL
6353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6369 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 Py_INCREF(Py_None
); resultobj
= Py_None
;
6390 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 Py_INCREF(Py_None
); resultobj
= Py_None
;
6411 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 bool arg1
= (bool) True
;
6414 PyObject
* obj0
= 0 ;
6416 (char *) "bVerbose", NULL
6419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6421 arg1
= PyInt_AsLong(obj0
) ? true : false;
6422 if (PyErr_Occurred()) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 wxLog::SetVerbose(arg1
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 Py_INCREF(Py_None
); resultobj
= Py_None
;
6438 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6441 PyObject
* obj0
= 0 ;
6443 (char *) "logLevel", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6447 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6448 if (PyErr_Occurred()) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 wxLog::SetLogLevel(arg1
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 Py_INCREF(Py_None
); resultobj
= Py_None
;
6463 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
;
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxLog::DontCreateOnDemand();
6474 wxPyEndAllowThreads(__tstate
);
6475 if (PyErr_Occurred()) SWIG_fail
;
6477 Py_INCREF(Py_None
); resultobj
= Py_None
;
6484 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6487 PyObject
* obj0
= 0 ;
6489 (char *) "ulMask", NULL
6492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6493 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6494 if (PyErr_Occurred()) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 wxLog::SetTraceMask(arg1
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 Py_INCREF(Py_None
); resultobj
= Py_None
;
6509 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxString
*arg1
= 0 ;
6512 bool temp1
= False
;
6513 PyObject
* obj0
= 0 ;
6515 (char *) "str", NULL
6518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6520 arg1
= wxString_in_helper(obj0
);
6521 if (arg1
== NULL
) SWIG_fail
;
6525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 wxLog::AddTraceMask((wxString
const &)*arg1
);
6528 wxPyEndAllowThreads(__tstate
);
6529 if (PyErr_Occurred()) SWIG_fail
;
6531 Py_INCREF(Py_None
); resultobj
= Py_None
;
6546 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6547 PyObject
*resultobj
;
6548 wxString
*arg1
= 0 ;
6549 bool temp1
= False
;
6550 PyObject
* obj0
= 0 ;
6552 (char *) "str", NULL
6555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6557 arg1
= wxString_in_helper(obj0
);
6558 if (arg1
== NULL
) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6563 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 Py_INCREF(Py_None
); resultobj
= Py_None
;
6583 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6592 wxLog::ClearTraceMasks();
6594 wxPyEndAllowThreads(__tstate
);
6595 if (PyErr_Occurred()) SWIG_fail
;
6597 Py_INCREF(Py_None
); resultobj
= Py_None
;
6604 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6605 PyObject
*resultobj
;
6606 wxArrayString
*result
;
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6615 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6616 result
= (wxArrayString
*) &_result_ref
;
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 resultobj
= wxArrayString2PyList_helper(*result
);
6631 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxChar
*arg1
= (wxChar
*) 0 ;
6634 PyObject
* obj0
= 0 ;
6639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 wxLog::SetTimestamp((wxChar
const *)arg1
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6648 Py_INCREF(Py_None
); resultobj
= Py_None
;
6655 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6656 PyObject
*resultobj
;
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)wxLog::GetVerbose();
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= PyInt_FromLong((long)result
);
6677 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6687 result
= (wxTraceMask
)wxLog::GetTraceMask();
6689 wxPyEndAllowThreads(__tstate
);
6690 if (PyErr_Occurred()) SWIG_fail
;
6692 resultobj
= PyInt_FromLong((long)result
);
6699 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxChar
*arg1
= (wxChar
*) 0 ;
6703 PyObject
* obj0
= 0 ;
6705 (char *) "mask", NULL
6708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6712 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6714 wxPyEndAllowThreads(__tstate
);
6715 if (PyErr_Occurred()) SWIG_fail
;
6717 resultobj
= PyInt_FromLong((long)result
);
6724 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6725 PyObject
*resultobj
;
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (wxLogLevel
)wxLog::GetLogLevel();
6736 wxPyEndAllowThreads(__tstate
);
6737 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= PyInt_FromLong((long)result
);
6746 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6756 result
= (wxChar
*)wxLog::GetTimestamp();
6758 wxPyEndAllowThreads(__tstate
);
6759 if (PyErr_Occurred()) SWIG_fail
;
6761 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6768 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6778 result
= Log_TimeStamp();
6780 wxPyEndAllowThreads(__tstate
);
6781 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6796 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6797 PyObject
*resultobj
;
6798 wxLog
*arg1
= (wxLog
*) 0 ;
6799 PyObject
* obj0
= 0 ;
6801 (char *) "self", NULL
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 wxLog_Destroy(arg1
);
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 Py_INCREF(Py_None
); resultobj
= Py_None
;
6820 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6825 return Py_BuildValue((char *)"");
6827 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxLogStderr
*result
;
6834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (wxLogStderr
*)new wxLogStderr();
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6842 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6849 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6852 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6854 return Py_BuildValue((char *)"");
6856 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
;
6858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6859 wxLogTextCtrl
*result
;
6860 PyObject
* obj0
= 0 ;
6862 (char *) "pTextCtrl", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6881 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6884 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6886 return Py_BuildValue((char *)"");
6888 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxLogGui
*)new wxLogGui();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6910 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6913 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6915 return Py_BuildValue((char *)"");
6917 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6918 PyObject
*resultobj
;
6919 wxFrame
*arg1
= (wxFrame
*) 0 ;
6920 wxString
*arg2
= 0 ;
6921 bool arg3
= (bool) True
;
6922 bool arg4
= (bool) True
;
6923 wxLogWindow
*result
;
6924 bool temp2
= False
;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6928 PyObject
* obj3
= 0 ;
6930 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 arg2
= wxString_in_helper(obj1
);
6937 if (arg2
== NULL
) SWIG_fail
;
6941 arg3
= PyInt_AsLong(obj2
) ? true : false;
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 arg4
= PyInt_AsLong(obj3
) ? true : false;
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6970 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6973 bool arg2
= (bool) True
;
6974 PyObject
* obj0
= 0 ;
6975 PyObject
* obj1
= 0 ;
6977 (char *) "self",(char *) "bShow", NULL
6980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6983 arg2
= PyInt_AsLong(obj1
) ? true : false;
6984 if (PyErr_Occurred()) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 Py_INCREF(Py_None
); resultobj
= Py_None
;
7000 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "self", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7013 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7015 wxPyEndAllowThreads(__tstate
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= wxPyMake_wxObject(result
);
7027 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7028 PyObject
*resultobj
;
7029 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7031 PyObject
* obj0
= 0 ;
7033 (char *) "self", NULL
7036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7052 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7053 PyObject
*resultobj
;
7054 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7056 PyObject
* obj0
= 0 ;
7058 (char *) "self", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= PyInt_FromLong((long)result
);
7077 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7084 (char *) "self",(char *) "bDoPass", NULL
7087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7089 arg2
= PyInt_AsLong(obj1
) ? true : false;
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7093 (arg1
)->PassMessages(arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 Py_INCREF(Py_None
); resultobj
= Py_None
;
7105 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7108 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7110 return Py_BuildValue((char *)"");
7112 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7113 PyObject
*resultobj
;
7114 wxLog
*arg1
= (wxLog
*) 0 ;
7116 PyObject
* obj0
= 0 ;
7118 (char *) "logger", NULL
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7125 result
= (wxLogChain
*)new wxLogChain(arg1
);
7127 wxPyEndAllowThreads(__tstate
);
7128 if (PyErr_Occurred()) SWIG_fail
;
7130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7137 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7138 PyObject
*resultobj
;
7139 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7140 wxLog
*arg2
= (wxLog
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7144 (char *) "self",(char *) "logger", NULL
7147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7149 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 (arg1
)->SetLog(arg2
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7157 Py_INCREF(Py_None
); resultobj
= Py_None
;
7164 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7165 PyObject
*resultobj
;
7166 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7168 PyObject
* obj0
= 0 ;
7169 PyObject
* obj1
= 0 ;
7171 (char *) "self",(char *) "bDoPass", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7176 arg2
= PyInt_AsLong(obj1
) ? true : false;
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 (arg1
)->PassMessages(arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 Py_INCREF(Py_None
); resultobj
= Py_None
;
7192 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7194 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7196 PyObject
* obj0
= 0 ;
7198 (char *) "self", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= (bool)(arg1
)->IsPassingMessages();
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyInt_FromLong((long)result
);
7217 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7221 PyObject
* obj0
= 0 ;
7223 (char *) "self", NULL
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (wxLog
*)(arg1
)->GetOldLog();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7242 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7245 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7247 return Py_BuildValue((char *)"");
7249 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7250 PyObject
*resultobj
;
7251 unsigned long result
;
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (unsigned long)wxSysErrorCode();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 resultobj
= PyInt_FromLong((long)result
);
7271 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 unsigned long arg1
= (unsigned long) 0 ;
7275 PyObject
* obj0
= 0 ;
7277 (char *) "nErrCode", NULL
7280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7282 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= wxSysErrorMsg(arg1
);
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7305 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
;
7307 wxString
*arg1
= 0 ;
7308 bool temp1
= False
;
7309 PyObject
* obj0
= 0 ;
7311 (char *) "msg", NULL
7314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7316 arg1
= wxString_in_helper(obj0
);
7317 if (arg1
== NULL
) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 wxLogFatalError((wxString
const &)*arg1
);
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 Py_INCREF(Py_None
); resultobj
= Py_None
;
7342 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7343 PyObject
*resultobj
;
7344 wxString
*arg1
= 0 ;
7345 bool temp1
= False
;
7346 PyObject
* obj0
= 0 ;
7348 (char *) "msg", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7353 arg1
= wxString_in_helper(obj0
);
7354 if (arg1
== NULL
) SWIG_fail
;
7358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7359 wxLogError((wxString
const &)*arg1
);
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxString
*arg1
= 0 ;
7382 bool temp1
= False
;
7383 PyObject
* obj0
= 0 ;
7385 (char *) "msg", NULL
7388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7390 arg1
= wxString_in_helper(obj0
);
7391 if (arg1
== NULL
) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 wxLogWarning((wxString
const &)*arg1
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7416 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7417 PyObject
*resultobj
;
7418 wxString
*arg1
= 0 ;
7419 bool temp1
= False
;
7420 PyObject
* obj0
= 0 ;
7422 (char *) "msg", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7427 arg1
= wxString_in_helper(obj0
);
7428 if (arg1
== NULL
) SWIG_fail
;
7432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 wxLogMessage((wxString
const &)*arg1
);
7435 wxPyEndAllowThreads(__tstate
);
7436 if (PyErr_Occurred()) SWIG_fail
;
7438 Py_INCREF(Py_None
); resultobj
= Py_None
;
7453 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxString
*arg1
= 0 ;
7456 bool temp1
= False
;
7457 PyObject
* obj0
= 0 ;
7459 (char *) "msg", NULL
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7464 arg1
= wxString_in_helper(obj0
);
7465 if (arg1
== NULL
) SWIG_fail
;
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 wxLogInfo((wxString
const &)*arg1
);
7472 wxPyEndAllowThreads(__tstate
);
7473 if (PyErr_Occurred()) SWIG_fail
;
7475 Py_INCREF(Py_None
); resultobj
= Py_None
;
7490 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7491 PyObject
*resultobj
;
7492 wxString
*arg1
= 0 ;
7493 bool temp1
= False
;
7494 PyObject
* obj0
= 0 ;
7496 (char *) "msg", NULL
7499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7501 arg1
= wxString_in_helper(obj0
);
7502 if (arg1
== NULL
) SWIG_fail
;
7506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7507 wxLogDebug((wxString
const &)*arg1
);
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 Py_INCREF(Py_None
); resultobj
= Py_None
;
7527 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7528 PyObject
*resultobj
;
7529 wxString
*arg1
= 0 ;
7530 bool temp1
= False
;
7531 PyObject
* obj0
= 0 ;
7533 (char *) "msg", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7538 arg1
= wxString_in_helper(obj0
);
7539 if (arg1
== NULL
) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 wxLogVerbose((wxString
const &)*arg1
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxString
*arg1
= 0 ;
7567 bool temp1
= False
;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "msg", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7575 arg1
= wxString_in_helper(obj0
);
7576 if (arg1
== NULL
) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 wxLogStatus((wxString
const &)*arg1
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxFrame
*arg1
= (wxFrame
*) 0 ;
7604 wxString
*arg2
= 0 ;
7605 bool temp2
= False
;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "pFrame",(char *) "msg", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7615 arg2
= wxString_in_helper(obj1
);
7616 if (arg2
== NULL
) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7626 Py_INCREF(Py_None
); resultobj
= Py_None
;
7641 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxString
*arg1
= 0 ;
7644 bool temp1
= False
;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "msg", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7652 arg1
= wxString_in_helper(obj0
);
7653 if (arg1
== NULL
) SWIG_fail
;
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 wxLogSysError((wxString
const &)*arg1
);
7660 wxPyEndAllowThreads(__tstate
);
7661 if (PyErr_Occurred()) SWIG_fail
;
7663 Py_INCREF(Py_None
); resultobj
= Py_None
;
7678 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
7679 PyObject
*resultobj
;
7680 unsigned long arg1
;
7681 wxString
*arg2
= 0 ;
7682 bool temp2
= False
;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7686 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7687 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 arg2
= wxString_in_helper(obj1
);
7691 if (arg2
== NULL
) SWIG_fail
;
7695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7696 wxLogTrace(arg1
,(wxString
const &)*arg2
);
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 Py_INCREF(Py_None
); resultobj
= Py_None
;
7716 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
7717 PyObject
*resultobj
;
7718 wxString
*arg1
= 0 ;
7719 wxString
*arg2
= 0 ;
7720 bool temp1
= False
;
7721 bool temp2
= False
;
7722 PyObject
* obj0
= 0 ;
7723 PyObject
* obj1
= 0 ;
7725 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7727 arg1
= wxString_in_helper(obj0
);
7728 if (arg1
== NULL
) SWIG_fail
;
7732 arg2
= wxString_in_helper(obj1
);
7733 if (arg2
== NULL
) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7743 Py_INCREF(Py_None
); resultobj
= Py_None
;
7766 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
7771 argc
= PyObject_Length(args
);
7772 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
7773 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7779 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7789 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7797 return _wrap_LogTrace__SWIG_1(self
,args
);
7804 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7809 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7817 return _wrap_LogTrace__SWIG_0(self
,args
);
7822 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
7827 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7828 PyObject
*resultobj
;
7829 unsigned long arg1
;
7830 wxString
*arg2
= 0 ;
7831 bool temp2
= False
;
7832 PyObject
* obj0
= 0 ;
7833 PyObject
* obj1
= 0 ;
7835 (char *) "level",(char *) "msg", NULL
7838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7839 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7842 arg2
= wxString_in_helper(obj1
);
7843 if (arg2
== NULL
) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7850 wxPyEndAllowThreads(__tstate
);
7851 if (PyErr_Occurred()) SWIG_fail
;
7853 Py_INCREF(Py_None
); resultobj
= Py_None
;
7868 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxString
*arg1
= 0 ;
7871 wxString
*arg2
= 0 ;
7872 bool temp1
= False
;
7873 bool temp2
= False
;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "title",(char *) "text", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7882 arg1
= wxString_in_helper(obj0
);
7883 if (arg1
== NULL
) SWIG_fail
;
7887 arg2
= wxString_in_helper(obj1
);
7888 if (arg2
== NULL
) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7895 wxPyEndAllowThreads(__tstate
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7898 Py_INCREF(Py_None
); resultobj
= Py_None
;
7921 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7922 PyObject
*resultobj
;
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (wxLogNull
*)new wxLogNull();
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7943 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7944 PyObject
*resultobj
;
7945 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7946 PyObject
* obj0
= 0 ;
7948 (char *) "self", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 Py_INCREF(Py_None
); resultobj
= Py_None
;
7967 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7970 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7972 return Py_BuildValue((char *)"");
7974 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (wxPyLog
*)new wxPyLog();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7989 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7996 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7999 PyObject
*arg2
= (PyObject
*) 0 ;
8000 PyObject
*arg3
= (PyObject
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8002 PyObject
* obj1
= 0 ;
8003 PyObject
* obj2
= 0 ;
8005 (char *) "self",(char *) "self",(char *) "_class", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 Py_INCREF(Py_None
); resultobj
= Py_None
;
8026 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8029 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8031 return Py_BuildValue((char *)"");
8033 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8034 PyObject
*resultobj
;
8036 int arg2
= (int) wxSIGTERM
;
8039 (char *) "pid",(char *) "sig", NULL
8042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8047 wxPyEndAllowThreads(__tstate
);
8048 if (PyErr_Occurred()) SWIG_fail
;
8050 resultobj
= PyInt_FromLong((long)result
);
8057 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8058 PyObject
*resultobj
;
8062 (char *) "pid", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (bool)wxPyProcess::Exists(arg1
);
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8073 resultobj
= PyInt_FromLong((long)result
);
8080 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8081 PyObject
*resultobj
;
8082 wxString
*arg1
= 0 ;
8083 int arg2
= (int) wxEXEC_ASYNC
;
8084 wxPyProcess
*result
;
8085 bool temp1
= False
;
8086 PyObject
* obj0
= 0 ;
8088 (char *) "cmd",(char *) "flags", NULL
8091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
8093 arg1
= wxString_in_helper(obj0
);
8094 if (arg1
== NULL
) SWIG_fail
;
8098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8099 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8101 wxPyEndAllowThreads(__tstate
);
8102 if (PyErr_Occurred()) SWIG_fail
;
8104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8119 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8122 int arg2
= (int) -1 ;
8123 wxPyProcess
*result
;
8124 PyObject
* obj0
= 0 ;
8126 (char *) "parent",(char *) "id", NULL
8129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8147 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8148 PyObject
*resultobj
;
8149 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8150 PyObject
*arg2
= (PyObject
*) 0 ;
8151 PyObject
*arg3
= (PyObject
*) 0 ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 PyObject
* obj2
= 0 ;
8156 (char *) "self",(char *) "self",(char *) "_class", NULL
8159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 Py_INCREF(Py_None
); resultobj
= Py_None
;
8177 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8182 PyObject
* obj0
= 0 ;
8184 (char *) "self",(char *) "pid",(char *) "status", NULL
8187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 (arg1
)->base_OnTerminate(arg2
,arg3
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 Py_INCREF(Py_None
); resultobj
= Py_None
;
8203 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8206 PyObject
* obj0
= 0 ;
8208 (char *) "self", NULL
8211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8231 PyObject
* obj0
= 0 ;
8233 (char *) "self", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 result
= (bool)(arg1
)->IsRedirected();
8242 wxPyEndAllowThreads(__tstate
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8245 resultobj
= PyInt_FromLong((long)result
);
8252 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8255 PyObject
* obj0
= 0 ;
8257 (char *) "self", NULL
8260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8266 wxPyEndAllowThreads(__tstate
);
8267 if (PyErr_Occurred()) SWIG_fail
;
8269 Py_INCREF(Py_None
); resultobj
= Py_None
;
8276 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8277 PyObject
*resultobj
;
8278 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8279 wxInputStream
*result
;
8280 PyObject
* obj0
= 0 ;
8282 (char *) "self", NULL
8285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 wxPyInputStream
* _ptr
= NULL
;
8298 _ptr
= new wxPyInputStream(result
);
8300 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8308 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8309 PyObject
*resultobj
;
8310 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8311 wxInputStream
*result
;
8312 PyObject
* obj0
= 0 ;
8314 (char *) "self", NULL
8317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8321 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8323 wxPyEndAllowThreads(__tstate
);
8324 if (PyErr_Occurred()) SWIG_fail
;
8327 wxPyInputStream
* _ptr
= NULL
;
8330 _ptr
= new wxPyInputStream(result
);
8332 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8340 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8341 PyObject
*resultobj
;
8342 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8343 wxOutputStream
*result
;
8344 PyObject
* obj0
= 0 ;
8346 (char *) "self", NULL
8349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8353 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8355 wxPyEndAllowThreads(__tstate
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8365 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8368 PyObject
* obj0
= 0 ;
8370 (char *) "self", NULL
8373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8377 (arg1
)->CloseOutput();
8379 wxPyEndAllowThreads(__tstate
);
8380 if (PyErr_Occurred()) SWIG_fail
;
8382 Py_INCREF(Py_None
); resultobj
= Py_None
;
8389 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8393 PyObject
* obj0
= 0 ;
8395 (char *) "self", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 resultobj
= PyInt_FromLong((long)result
);
8414 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8415 PyObject
*resultobj
;
8416 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8418 PyObject
* obj0
= 0 ;
8420 (char *) "self", NULL
8423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8427 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8429 wxPyEndAllowThreads(__tstate
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= PyInt_FromLong((long)result
);
8439 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8443 PyObject
* obj0
= 0 ;
8445 (char *) "self", NULL
8448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= PyInt_FromLong((long)result
);
8464 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8467 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8469 return Py_BuildValue((char *)"");
8471 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8472 PyObject
*resultobj
;
8473 int arg1
= (int) 0 ;
8474 int arg2
= (int) 0 ;
8475 int arg3
= (int) 0 ;
8476 wxProcessEvent
*result
;
8478 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8484 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8496 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8500 PyObject
* obj0
= 0 ;
8502 (char *) "self", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (int)(arg1
)->GetPid();
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= PyInt_FromLong((long)result
);
8521 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8525 PyObject
* obj0
= 0 ;
8527 (char *) "self", NULL
8530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (int)(arg1
)->GetExitCode();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8539 resultobj
= PyInt_FromLong((long)result
);
8546 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8547 PyObject
*resultobj
;
8548 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8550 PyObject
* obj0
= 0 ;
8552 (char *) "self",(char *) "m_pid", NULL
8555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8557 if (arg1
) (arg1
)->m_pid
= arg2
;
8559 Py_INCREF(Py_None
); resultobj
= Py_None
;
8566 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8567 PyObject
*resultobj
;
8568 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8570 PyObject
* obj0
= 0 ;
8572 (char *) "self", NULL
8575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8577 result
= (int) ((arg1
)->m_pid
);
8579 resultobj
= PyInt_FromLong((long)result
);
8586 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8590 PyObject
* obj0
= 0 ;
8592 (char *) "self",(char *) "m_exitcode", NULL
8595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8597 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8599 Py_INCREF(Py_None
); resultobj
= Py_None
;
8606 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8607 PyObject
*resultobj
;
8608 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8610 PyObject
* obj0
= 0 ;
8612 (char *) "self", NULL
8615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8617 result
= (int) ((arg1
)->m_exitcode
);
8619 resultobj
= PyInt_FromLong((long)result
);
8626 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8629 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8631 return Py_BuildValue((char *)"");
8633 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8634 PyObject
*resultobj
;
8635 wxString
*arg1
= 0 ;
8636 int arg2
= (int) wxEXEC_ASYNC
;
8637 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8639 bool temp1
= False
;
8640 PyObject
* obj0
= 0 ;
8641 PyObject
* obj2
= 0 ;
8643 (char *) "command",(char *) "flags",(char *) "process", NULL
8646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8648 arg1
= wxString_in_helper(obj0
);
8649 if (arg1
== NULL
) SWIG_fail
;
8653 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8657 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8659 wxPyEndAllowThreads(__tstate
);
8660 if (PyErr_Occurred()) SWIG_fail
;
8662 resultobj
= PyInt_FromLong((long)result
);
8677 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8678 PyObject
*resultobj
;
8679 int arg1
= (int) wxJOYSTICK1
;
8682 (char *) "joystick", NULL
8685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (wxJoystick
*)new wxJoystick(arg1
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8700 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8701 PyObject
*resultobj
;
8702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8703 PyObject
* obj0
= 0 ;
8705 (char *) "self", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8717 Py_INCREF(Py_None
); resultobj
= Py_None
;
8724 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8728 PyObject
* obj0
= 0 ;
8730 (char *) "self", NULL
8733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 result
= (arg1
)->GetPosition();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 wxPoint
* resultptr
;
8744 resultptr
= new wxPoint((wxPoint
&) result
);
8745 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8753 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (int)(arg1
)->GetZPosition();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= PyInt_FromLong((long)result
);
8778 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (int)(arg1
)->GetButtonState();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= PyInt_FromLong((long)result
);
8803 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (int)(arg1
)->GetPOVPosition();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= PyInt_FromLong((long)result
);
8828 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (int)(arg1
)->GetPOVCTSPosition();
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= PyInt_FromLong((long)result
);
8853 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (int)(arg1
)->GetRudderPosition();
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= PyInt_FromLong((long)result
);
8878 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8884 (char *) "self", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (int)(arg1
)->GetUPosition();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= PyInt_FromLong((long)result
);
8903 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "self", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (int)(arg1
)->GetVPosition();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= PyInt_FromLong((long)result
);
8928 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8934 (char *) "self", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (int)(arg1
)->GetMovementThreshold();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= PyInt_FromLong((long)result
);
8953 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8959 (char *) "self",(char *) "threshold", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->SetMovementThreshold(arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8982 PyObject
* obj0
= 0 ;
8984 (char *) "self", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (bool)(arg1
)->IsOk();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= PyInt_FromLong((long)result
);
9003 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
;
9005 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9007 PyObject
* obj0
= 0 ;
9009 (char *) "self", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9016 result
= (int)(arg1
)->GetNumberJoysticks();
9018 wxPyEndAllowThreads(__tstate
);
9019 if (PyErr_Occurred()) SWIG_fail
;
9021 resultobj
= PyInt_FromLong((long)result
);
9028 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9029 PyObject
*resultobj
;
9030 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9032 PyObject
* obj0
= 0 ;
9034 (char *) "self", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9041 result
= (int)(arg1
)->GetManufacturerId();
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= PyInt_FromLong((long)result
);
9053 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9057 PyObject
* obj0
= 0 ;
9059 (char *) "self", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9066 result
= (int)(arg1
)->GetProductId();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 resultobj
= PyInt_FromLong((long)result
);
9078 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9082 PyObject
* obj0
= 0 ;
9084 (char *) "self", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9091 result
= (arg1
)->GetProductName();
9093 wxPyEndAllowThreads(__tstate
);
9094 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9109 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (int)(arg1
)->GetXMin();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyInt_FromLong((long)result
);
9134 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (int)(arg1
)->GetYMin();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= PyInt_FromLong((long)result
);
9159 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "self", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (int)(arg1
)->GetZMin();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= PyInt_FromLong((long)result
);
9184 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "self", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (int)(arg1
)->GetXMax();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= PyInt_FromLong((long)result
);
9209 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (int)(arg1
)->GetYMax();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= PyInt_FromLong((long)result
);
9234 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (int)(arg1
)->GetZMax();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= PyInt_FromLong((long)result
);
9259 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (int)(arg1
)->GetNumberButtons();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= PyInt_FromLong((long)result
);
9284 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (int)(arg1
)->GetNumberAxes();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= PyInt_FromLong((long)result
);
9309 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9315 (char *) "self", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (int)(arg1
)->GetMaxButtons();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= PyInt_FromLong((long)result
);
9334 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (int)(arg1
)->GetMaxAxes();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= PyInt_FromLong((long)result
);
9359 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (int)(arg1
)->GetPollingMin();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= PyInt_FromLong((long)result
);
9384 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9390 (char *) "self", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (int)(arg1
)->GetPollingMax();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= PyInt_FromLong((long)result
);
9409 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (int)(arg1
)->GetRudderMin();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= PyInt_FromLong((long)result
);
9434 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (int)(arg1
)->GetRudderMax();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= PyInt_FromLong((long)result
);
9459 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (int)(arg1
)->GetUMin();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= PyInt_FromLong((long)result
);
9484 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (int)(arg1
)->GetUMax();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= PyInt_FromLong((long)result
);
9509 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)(arg1
)->GetVMin();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= PyInt_FromLong((long)result
);
9534 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (int)(arg1
)->GetVMax();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= PyInt_FromLong((long)result
);
9559 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)(arg1
)->HasRudder();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= PyInt_FromLong((long)result
);
9584 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (bool)(arg1
)->HasZ();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= PyInt_FromLong((long)result
);
9609 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "self", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (bool)(arg1
)->HasU();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= PyInt_FromLong((long)result
);
9634 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (bool)(arg1
)->HasV();
9649 wxPyEndAllowThreads(__tstate
);
9650 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= PyInt_FromLong((long)result
);
9659 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9663 PyObject
* obj0
= 0 ;
9665 (char *) "self", NULL
9668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9672 result
= (bool)(arg1
)->HasPOV();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 resultobj
= PyInt_FromLong((long)result
);
9684 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9688 PyObject
* obj0
= 0 ;
9690 (char *) "self", NULL
9693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9697 result
= (bool)(arg1
)->HasPOV4Dir();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= PyInt_FromLong((long)result
);
9709 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9722 result
= (bool)(arg1
)->HasPOVCTS();
9724 wxPyEndAllowThreads(__tstate
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9727 resultobj
= PyInt_FromLong((long)result
);
9734 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9737 wxWindow
*arg2
= (wxWindow
*) 0 ;
9738 int arg3
= (int) 0 ;
9740 PyObject
* obj0
= 0 ;
9741 PyObject
* obj1
= 0 ;
9743 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9756 resultobj
= PyInt_FromLong((long)result
);
9763 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9767 PyObject
* obj0
= 0 ;
9769 (char *) "self", NULL
9772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 result
= (bool)(arg1
)->ReleaseCapture();
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= PyInt_FromLong((long)result
);
9788 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9791 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9793 return Py_BuildValue((char *)"");
9795 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9796 PyObject
*resultobj
;
9797 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9798 wxPoint
*arg2
= (wxPoint
*) 0 ;
9799 PyObject
* obj0
= 0 ;
9800 PyObject
* obj1
= 0 ;
9802 (char *) "self",(char *) "m_pos", NULL
9805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 if (arg1
) (arg1
)->m_pos
= *arg2
;
9810 Py_INCREF(Py_None
); resultobj
= Py_None
;
9817 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9828 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9837 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self",(char *) "m_zPosition", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9848 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9850 Py_INCREF(Py_None
); resultobj
= Py_None
;
9857 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9868 result
= (int) ((arg1
)->m_zPosition
);
9870 resultobj
= PyInt_FromLong((long)result
);
9877 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self",(char *) "m_buttonChange", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9890 Py_INCREF(Py_None
); resultobj
= Py_None
;
9897 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9901 PyObject
* obj0
= 0 ;
9903 (char *) "self", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9908 result
= (int) ((arg1
)->m_buttonChange
);
9910 resultobj
= PyInt_FromLong((long)result
);
9917 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self",(char *) "m_buttonState", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9928 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9930 Py_INCREF(Py_None
); resultobj
= Py_None
;
9937 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9938 PyObject
*resultobj
;
9939 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9943 (char *) "self", NULL
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9948 result
= (int) ((arg1
)->m_buttonState
);
9950 resultobj
= PyInt_FromLong((long)result
);
9957 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self",(char *) "m_joyStick", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9968 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9977 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9988 result
= (int) ((arg1
)->m_joyStick
);
9990 resultobj
= PyInt_FromLong((long)result
);
9997 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9998 PyObject
*resultobj
;
9999 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10000 int arg2
= (int) 0 ;
10001 int arg3
= (int) wxJOYSTICK1
;
10002 int arg4
= (int) 0 ;
10003 wxJoystickEvent
*result
;
10004 char *kwnames
[] = {
10005 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
10010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10011 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10013 wxPyEndAllowThreads(__tstate
);
10014 if (PyErr_Occurred()) SWIG_fail
;
10016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10023 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10038 wxPyEndAllowThreads(__tstate
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10042 wxPoint
* resultptr
;
10043 resultptr
= new wxPoint((wxPoint
&) result
);
10044 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10052 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= PyInt_FromLong((long)result
);
10077 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 resultobj
= PyInt_FromLong((long)result
);
10102 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10106 PyObject
* obj0
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 resultobj
= PyInt_FromLong((long)result
);
10127 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= PyInt_FromLong((long)result
);
10152 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self",(char *) "stick", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10165 (arg1
)->SetJoystick(arg2
);
10167 wxPyEndAllowThreads(__tstate
);
10168 if (PyErr_Occurred()) SWIG_fail
;
10170 Py_INCREF(Py_None
); resultobj
= Py_None
;
10177 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self",(char *) "state", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10190 (arg1
)->SetButtonState(arg2
);
10192 wxPyEndAllowThreads(__tstate
);
10193 if (PyErr_Occurred()) SWIG_fail
;
10195 Py_INCREF(Py_None
); resultobj
= Py_None
;
10202 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self",(char *) "change", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 (arg1
)->SetButtonChange(arg2
);
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 Py_INCREF(Py_None
); resultobj
= Py_None
;
10227 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
;
10229 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10230 wxPoint
*arg2
= 0 ;
10232 PyObject
* obj0
= 0 ;
10233 PyObject
* obj1
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self",(char *) "pos", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 Py_INCREF(Py_None
); resultobj
= Py_None
;
10258 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10262 PyObject
* obj0
= 0 ;
10263 char *kwnames
[] = {
10264 (char *) "self",(char *) "zPos", NULL
10267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 (arg1
)->SetZPosition(arg2
);
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10276 Py_INCREF(Py_None
); resultobj
= Py_None
;
10283 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10284 PyObject
*resultobj
;
10285 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10287 PyObject
* obj0
= 0 ;
10288 char *kwnames
[] = {
10289 (char *) "self", NULL
10292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= PyInt_FromLong((long)result
);
10308 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= PyInt_FromLong((long)result
);
10333 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= PyInt_FromLong((long)result
);
10358 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10361 int arg2
= (int) wxJOY_BUTTON_ANY
;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "but", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10372 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10374 wxPyEndAllowThreads(__tstate
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10377 resultobj
= PyInt_FromLong((long)result
);
10384 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10385 PyObject
*resultobj
;
10386 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10387 int arg2
= (int) wxJOY_BUTTON_ANY
;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self",(char *) "but", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10398 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10400 wxPyEndAllowThreads(__tstate
);
10401 if (PyErr_Occurred()) SWIG_fail
;
10403 resultobj
= PyInt_FromLong((long)result
);
10410 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10413 int arg2
= (int) wxJOY_BUTTON_ANY
;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self",(char *) "but", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 resultobj
= PyInt_FromLong((long)result
);
10436 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10439 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10441 return Py_BuildValue((char *)"");
10443 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxString
*arg1
= 0 ;
10446 bool arg2
= (bool) False
;
10448 bool temp1
= False
;
10449 PyObject
* obj0
= 0 ;
10450 PyObject
* obj1
= 0 ;
10451 char *kwnames
[] = {
10452 (char *) "fileName",(char *) "isResource", NULL
10455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10457 arg1
= wxString_in_helper(obj0
);
10458 if (arg1
== NULL
) SWIG_fail
;
10462 arg2
= PyInt_AsLong(obj1
) ? true : false;
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10487 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10488 PyObject
*resultobj
;
10489 wxString
*arg1
= 0 ;
10491 bool temp1
= False
;
10492 PyObject
* obj0
= 0 ;
10493 char *kwnames
[] = {
10494 (char *) "data", NULL
10497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10499 arg1
= wxString_in_helper(obj0
);
10500 if (arg1
== NULL
) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10525 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxWave
*arg1
= (wxWave
*) 0 ;
10528 PyObject
* obj0
= 0 ;
10529 char *kwnames
[] = {
10530 (char *) "self", NULL
10533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 wxPyEndAllowThreads(__tstate
);
10540 if (PyErr_Occurred()) SWIG_fail
;
10542 Py_INCREF(Py_None
); resultobj
= Py_None
;
10549 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10550 PyObject
*resultobj
;
10551 wxWave
*arg1
= (wxWave
*) 0 ;
10553 PyObject
* obj0
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= PyInt_FromLong((long)result
);
10574 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxWave
*arg1
= (wxWave
*) 0 ;
10577 bool arg2
= (bool) True
;
10578 bool arg3
= (bool) False
;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 PyObject
* obj2
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self",(char *) "async",(char *) "looped", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10590 arg2
= PyInt_AsLong(obj1
) ? true : false;
10591 if (PyErr_Occurred()) SWIG_fail
;
10594 arg3
= PyInt_AsLong(obj2
) ? true : false;
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10601 wxPyEndAllowThreads(__tstate
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= PyInt_FromLong((long)result
);
10611 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10616 return Py_BuildValue((char *)"");
10618 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxString
*arg1
= 0 ;
10621 wxString
*arg2
= 0 ;
10622 wxString
*arg3
= 0 ;
10623 wxString
*arg4
= 0 ;
10624 wxFileTypeInfo
*result
;
10625 bool temp1
= False
;
10626 bool temp2
= False
;
10627 bool temp3
= False
;
10628 bool temp4
= False
;
10629 PyObject
* obj0
= 0 ;
10630 PyObject
* obj1
= 0 ;
10631 PyObject
* obj2
= 0 ;
10632 PyObject
* obj3
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10639 arg1
= wxString_in_helper(obj0
);
10640 if (arg1
== NULL
) SWIG_fail
;
10644 arg2
= wxString_in_helper(obj1
);
10645 if (arg2
== NULL
) SWIG_fail
;
10649 arg3
= wxString_in_helper(obj2
);
10650 if (arg3
== NULL
) SWIG_fail
;
10654 arg4
= wxString_in_helper(obj3
);
10655 if (arg4
== NULL
) SWIG_fail
;
10659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10660 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10704 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10705 PyObject
*resultobj
;
10706 wxArrayString
*arg1
= 0 ;
10707 wxFileTypeInfo
*result
;
10708 PyObject
* obj0
= 0 ;
10709 char *kwnames
[] = {
10710 (char *) "sArray", NULL
10713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10715 if (! PySequence_Check(obj0
)) {
10716 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10719 arg1
= new wxArrayString
;
10720 int i
, len
=PySequence_Length(obj0
);
10721 for (i
=0; i
<len
; i
++) {
10722 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10724 PyObject
* str
= PyObject_Unicode(item
);
10726 PyObject
* str
= PyObject_Str(item
);
10728 arg1
->Add(Py2wxString(str
));
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10737 wxPyEndAllowThreads(__tstate
);
10738 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10742 if (arg1
) delete arg1
;
10747 if (arg1
) delete arg1
;
10753 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxFileTypeInfo
*result
;
10756 char *kwnames
[] = {
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10775 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= PyInt_FromLong((long)result
);
10800 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10803 wxString
*arg2
= 0 ;
10804 int arg3
= (int) 0 ;
10805 bool temp2
= False
;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10815 arg2
= wxString_in_helper(obj1
);
10816 if (arg2
== NULL
) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 Py_INCREF(Py_None
); resultobj
= Py_None
;
10841 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10844 wxString
*arg2
= 0 ;
10845 bool temp2
= False
;
10846 PyObject
* obj0
= 0 ;
10847 PyObject
* obj1
= 0 ;
10848 char *kwnames
[] = {
10849 (char *) "self",(char *) "shortDesc", NULL
10852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10855 arg2
= wxString_in_helper(obj1
);
10856 if (arg2
== NULL
) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10881 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10882 PyObject
*resultobj
;
10883 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "self", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10896 result
= (wxString
*) &_result_ref
;
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10906 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10915 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10916 PyObject
*resultobj
;
10917 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10919 PyObject
* obj0
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10930 result
= (wxString
*) &_result_ref
;
10933 wxPyEndAllowThreads(__tstate
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10940 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10949 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10964 result
= (wxString
*) &_result_ref
;
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10983 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10998 result
= (wxString
*) &_result_ref
;
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11008 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11017 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11018 PyObject
*resultobj
;
11019 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "self", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11031 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
11032 result
= (wxString
*) &_result_ref
;
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11042 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11051 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11052 PyObject
*resultobj
;
11053 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11054 wxArrayString
*result
;
11055 PyObject
* obj0
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
11066 result
= (wxArrayString
*) &_result_ref
;
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= wxArrayString2PyList_helper(*result
);
11081 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
;
11083 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11085 PyObject
* obj0
= 0 ;
11086 char *kwnames
[] = {
11087 (char *) "self", NULL
11090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
11091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= PyInt_FromLong((long)result
);
11106 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11110 PyObject
* obj0
= 0 ;
11111 char *kwnames
[] = {
11112 (char *) "self", NULL
11115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
11116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
11121 result
= (wxString
*) &_result_ref
;
11124 wxPyEndAllowThreads(__tstate
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11129 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11131 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11140 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= PyInt_FromLong((long)result
);
11165 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11168 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11170 return Py_BuildValue((char *)"");
11172 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxFileTypeInfo
*arg1
= 0 ;
11175 wxFileType
*result
;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "ftInfo", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11183 if (arg1
== NULL
) {
11184 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11188 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11190 wxPyEndAllowThreads(__tstate
);
11191 if (PyErr_Occurred()) SWIG_fail
;
11193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11200 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxFileType
*arg1
= (wxFileType
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 char *kwnames
[] = {
11205 (char *) "self", NULL
11208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 wxPyEndAllowThreads(__tstate
);
11215 if (PyErr_Occurred()) SWIG_fail
;
11217 Py_INCREF(Py_None
); resultobj
= Py_None
;
11224 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 wxFileType
*arg1
= (wxFileType
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 char *kwnames
[] = {
11230 (char *) "self", NULL
11233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= result
;
11249 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxFileType
*arg1
= (wxFileType
*) 0 ;
11253 PyObject
* obj0
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= result
;
11274 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxFileType
*arg1
= (wxFileType
*) 0 ;
11278 PyObject
* obj0
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11292 resultobj
= result
;
11299 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxFileType
*arg1
= (wxFileType
*) 0 ;
11303 PyObject
* obj0
= 0 ;
11304 char *kwnames
[] = {
11305 (char *) "self", NULL
11308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11312 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11324 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxFileType
*arg1
= (wxFileType
*) 0 ;
11328 PyObject
* obj0
= 0 ;
11329 char *kwnames
[] = {
11330 (char *) "self", NULL
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= result
;
11349 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11350 PyObject
*resultobj
;
11351 wxFileType
*arg1
= (wxFileType
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "self", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11362 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= result
;
11374 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxFileType
*arg1
= (wxFileType
*) 0 ;
11377 wxString
*arg2
= 0 ;
11378 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11379 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11381 bool temp2
= False
;
11382 bool temp3
= False
;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 PyObject
* obj2
= 0 ;
11386 char *kwnames
[] = {
11387 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11393 arg2
= wxString_in_helper(obj1
);
11394 if (arg2
== NULL
) SWIG_fail
;
11399 arg3
= wxString_in_helper(obj2
);
11400 if (arg3
== NULL
) SWIG_fail
;
11405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11406 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11408 wxPyEndAllowThreads(__tstate
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11411 resultobj
= result
;
11434 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11435 PyObject
*resultobj
;
11436 wxFileType
*arg1
= (wxFileType
*) 0 ;
11437 wxString
*arg2
= 0 ;
11438 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11439 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11441 bool temp2
= False
;
11442 bool temp3
= False
;
11443 PyObject
* obj0
= 0 ;
11444 PyObject
* obj1
= 0 ;
11445 PyObject
* obj2
= 0 ;
11446 char *kwnames
[] = {
11447 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11453 arg2
= wxString_in_helper(obj1
);
11454 if (arg2
== NULL
) SWIG_fail
;
11459 arg3
= wxString_in_helper(obj2
);
11460 if (arg3
== NULL
) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11471 resultobj
= result
;
11494 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxFileType
*arg1
= (wxFileType
*) 0 ;
11497 wxString
*arg2
= 0 ;
11498 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11499 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11501 bool temp2
= False
;
11502 bool temp3
= False
;
11503 PyObject
* obj0
= 0 ;
11504 PyObject
* obj1
= 0 ;
11505 PyObject
* obj2
= 0 ;
11506 char *kwnames
[] = {
11507 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11513 arg2
= wxString_in_helper(obj1
);
11514 if (arg2
== NULL
) SWIG_fail
;
11519 arg3
= wxString_in_helper(obj2
);
11520 if (arg3
== NULL
) SWIG_fail
;
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= result
;
11554 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxFileType
*arg1
= (wxFileType
*) 0 ;
11557 wxString
*arg2
= 0 ;
11558 wxString
*arg3
= 0 ;
11559 bool arg4
= (bool) True
;
11561 bool temp2
= False
;
11562 bool temp3
= False
;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 PyObject
* obj2
= 0 ;
11566 PyObject
* obj3
= 0 ;
11567 char *kwnames
[] = {
11568 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11574 arg2
= wxString_in_helper(obj1
);
11575 if (arg2
== NULL
) SWIG_fail
;
11579 arg3
= wxString_in_helper(obj2
);
11580 if (arg3
== NULL
) SWIG_fail
;
11584 arg4
= PyInt_AsLong(obj3
) ? true : false;
11585 if (PyErr_Occurred()) SWIG_fail
;
11588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11589 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11591 wxPyEndAllowThreads(__tstate
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11594 resultobj
= PyInt_FromLong((long)result
);
11617 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxFileType
*arg1
= (wxFileType
*) 0 ;
11620 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11621 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11622 int arg3
= (int) 0 ;
11624 bool temp2
= False
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "self",(char *) "cmd",(char *) "index", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11635 arg2
= wxString_in_helper(obj1
);
11636 if (arg2
== NULL
) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= PyInt_FromLong((long)result
);
11662 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxFileType
*arg1
= (wxFileType
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (bool)(arg1
)->Unassociate();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= PyInt_FromLong((long)result
);
11687 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxString
*arg1
= 0 ;
11690 wxString
*arg2
= 0 ;
11691 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11692 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11694 bool temp1
= False
;
11695 bool temp2
= False
;
11696 bool temp3
= False
;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 PyObject
* obj2
= 0 ;
11700 char *kwnames
[] = {
11701 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11706 arg1
= wxString_in_helper(obj0
);
11707 if (arg1
== NULL
) SWIG_fail
;
11711 arg2
= wxString_in_helper(obj1
);
11712 if (arg2
== NULL
) SWIG_fail
;
11717 arg3
= wxString_in_helper(obj2
);
11718 if (arg3
== NULL
) SWIG_fail
;
11723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11724 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11726 wxPyEndAllowThreads(__tstate
);
11727 if (PyErr_Occurred()) SWIG_fail
;
11731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11766 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11769 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11771 return Py_BuildValue((char *)"");
11773 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11774 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11779 static PyObject
*_wrap_TheMimeTypesManager_get() {
11782 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11787 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxString
*arg1
= 0 ;
11790 wxString
*arg2
= 0 ;
11792 bool temp1
= False
;
11793 bool temp2
= False
;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "mimeType",(char *) "wildcard", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11802 arg1
= wxString_in_helper(obj0
);
11803 if (arg1
== NULL
) SWIG_fail
;
11807 arg2
= wxString_in_helper(obj1
);
11808 if (arg2
== NULL
) SWIG_fail
;
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11815 wxPyEndAllowThreads(__tstate
);
11816 if (PyErr_Occurred()) SWIG_fail
;
11818 resultobj
= PyInt_FromLong((long)result
);
11841 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxMimeTypesManager
*result
;
11844 char *kwnames
[] = {
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11863 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
;
11865 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11866 int arg2
= (int) wxMAILCAP_ALL
;
11867 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11868 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11869 bool temp3
= False
;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj2
= 0 ;
11872 char *kwnames
[] = {
11873 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11880 arg3
= wxString_in_helper(obj2
);
11881 if (arg3
== NULL
) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 Py_INCREF(Py_None
); resultobj
= Py_None
;
11907 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11908 PyObject
*resultobj
;
11909 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11910 PyObject
* obj0
= 0 ;
11911 char *kwnames
[] = {
11912 (char *) "self", NULL
11915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11919 (arg1
)->ClearData();
11921 wxPyEndAllowThreads(__tstate
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11924 Py_INCREF(Py_None
); resultobj
= Py_None
;
11931 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11932 PyObject
*resultobj
;
11933 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11934 wxString
*arg2
= 0 ;
11935 wxFileType
*result
;
11936 bool temp2
= False
;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 char *kwnames
[] = {
11940 (char *) "self",(char *) "ext", NULL
11943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11946 arg2
= wxString_in_helper(obj1
);
11947 if (arg2
== NULL
) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11972 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11975 wxString
*arg2
= 0 ;
11976 wxFileType
*result
;
11977 bool temp2
= False
;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 char *kwnames
[] = {
11981 (char *) "self",(char *) "mimeType", NULL
11984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11987 arg2
= wxString_in_helper(obj1
);
11988 if (arg2
== NULL
) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12013 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12014 PyObject
*resultobj
;
12015 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12016 wxString
*arg2
= 0 ;
12017 bool arg3
= (bool) False
;
12019 bool temp2
= False
;
12020 PyObject
* obj0
= 0 ;
12021 PyObject
* obj1
= 0 ;
12022 PyObject
* obj2
= 0 ;
12023 char *kwnames
[] = {
12024 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12030 arg2
= wxString_in_helper(obj1
);
12031 if (arg2
== NULL
) SWIG_fail
;
12035 arg3
= PyInt_AsLong(obj2
) ? true : false;
12036 if (PyErr_Occurred()) SWIG_fail
;
12039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12040 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= PyInt_FromLong((long)result
);
12060 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12061 PyObject
*resultobj
;
12062 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12063 wxString
*arg2
= 0 ;
12065 bool temp2
= False
;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char *kwnames
[] = {
12069 (char *) "self",(char *) "filename", NULL
12072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
12073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12075 arg2
= wxString_in_helper(obj1
);
12076 if (arg2
== NULL
) SWIG_fail
;
12080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12081 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
12083 wxPyEndAllowThreads(__tstate
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12086 resultobj
= PyInt_FromLong((long)result
);
12101 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
;
12103 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12105 PyObject
* obj0
= 0 ;
12106 char *kwnames
[] = {
12107 (char *) "self", NULL
12110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
12111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
12116 wxPyEndAllowThreads(__tstate
);
12117 if (PyErr_Occurred()) SWIG_fail
;
12119 resultobj
= result
;
12126 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12127 PyObject
*resultobj
;
12128 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12129 wxFileTypeInfo
*arg2
= 0 ;
12130 PyObject
* obj0
= 0 ;
12131 PyObject
* obj1
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self",(char *) "ft", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12138 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12139 if (arg2
== NULL
) {
12140 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 Py_INCREF(Py_None
); resultobj
= Py_None
;
12156 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12159 wxFileTypeInfo
*arg2
= 0 ;
12160 wxFileType
*result
;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "ftInfo", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 if (arg2
== NULL
) {
12171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12187 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12190 wxFileType
*arg2
= (wxFileType
*) 0 ;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self",(char *) "ft", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (bool)(arg1
)->Unassociate(arg2
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= PyInt_FromLong((long)result
);
12215 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12242 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12244 return Py_BuildValue((char *)"");
12246 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12247 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12252 static PyObject
*_wrap_ART_TOOLBAR_get() {
12257 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12259 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12266 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12267 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12272 static PyObject
*_wrap_ART_MENU_get() {
12277 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12279 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12286 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12287 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12292 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12297 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12299 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12306 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12307 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12312 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12317 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12319 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12326 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12327 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12332 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12337 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12339 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12346 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12347 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12352 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12357 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12359 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12366 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12367 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12372 static PyObject
*_wrap_ART_OTHER_get() {
12377 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12379 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12386 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12387 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12392 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12397 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12399 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12406 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12407 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12412 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12417 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12419 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12426 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12427 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12432 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12437 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12439 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12446 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12447 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12452 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12457 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12459 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12466 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12467 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12472 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12477 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12479 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12486 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12487 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12492 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12497 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12499 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12506 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12507 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12512 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12517 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12519 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12526 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12527 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12532 static PyObject
*_wrap_ART_GO_BACK_get() {
12537 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12539 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12546 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12547 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12552 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12557 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12559 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12566 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12567 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12572 static PyObject
*_wrap_ART_GO_UP_get() {
12577 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12579 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12586 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12587 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12592 static PyObject
*_wrap_ART_GO_DOWN_get() {
12597 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12599 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12606 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12607 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12612 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12617 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12619 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12626 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12627 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12632 static PyObject
*_wrap_ART_GO_HOME_get() {
12637 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12639 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12646 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12647 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12652 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12657 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12659 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12666 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12667 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12672 static PyObject
*_wrap_ART_PRINT_get() {
12677 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12679 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12686 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12687 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12692 static PyObject
*_wrap_ART_HELP_get() {
12697 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12699 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12706 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12707 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12712 static PyObject
*_wrap_ART_TIP_get() {
12717 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12719 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12726 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12727 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12732 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12737 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12739 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12746 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12747 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12752 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12757 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12759 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12766 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12767 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12772 static PyObject
*_wrap_ART_NEW_DIR_get() {
12777 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12779 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12786 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12787 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12792 static PyObject
*_wrap_ART_FOLDER_get() {
12797 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12799 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12806 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12807 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12812 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12817 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12819 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12826 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12827 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12832 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12837 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12839 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12846 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12847 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12852 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12857 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12859 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12866 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12867 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12872 static PyObject
*_wrap_ART_TICK_MARK_get() {
12877 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12879 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12886 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12887 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12892 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12897 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12899 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12906 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12907 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12912 static PyObject
*_wrap_ART_ERROR_get() {
12917 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12919 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12926 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12927 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12932 static PyObject
*_wrap_ART_QUESTION_get() {
12937 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12939 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12946 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12947 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12952 static PyObject
*_wrap_ART_WARNING_get() {
12957 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12959 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12966 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12967 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12972 static PyObject
*_wrap_ART_INFORMATION_get() {
12977 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12979 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12986 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12987 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12992 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12997 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12999 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13006 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxPyArtProvider
*result
;
13009 char *kwnames
[] = {
13013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxPyArtProvider
*)new wxPyArtProvider();
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
13028 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13031 PyObject
*arg2
= (PyObject
*) 0 ;
13032 PyObject
*arg3
= (PyObject
*) 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 PyObject
* obj2
= 0 ;
13036 char *kwnames
[] = {
13037 (char *) "self",(char *) "self",(char *) "_class", NULL
13040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 Py_INCREF(Py_None
); resultobj
= Py_None
;
13058 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "provider", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 wxPyArtProvider::PushProvider(arg1
);
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 Py_INCREF(Py_None
); resultobj
= Py_None
;
13082 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13085 char *kwnames
[] = {
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (bool)wxPyArtProvider::PopProvider();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= PyInt_FromLong((long)result
);
13104 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "provider", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= PyInt_FromLong((long)result
);
13129 static PyObject
*_wrap_ArtProvider_GetBitmap(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_GetBitmap",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::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13174 wxBitmap
* resultptr
;
13175 resultptr
= new wxBitmap((wxBitmap
&) result
);
13176 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13200 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxString
*arg1
= 0 ;
13203 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13204 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13205 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13206 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13208 bool temp1
= False
;
13209 bool temp2
= False
;
13211 PyObject
* obj0
= 0 ;
13212 PyObject
* obj1
= 0 ;
13213 PyObject
* obj2
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "id",(char *) "client",(char *) "size", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13220 arg1
= wxString_in_helper(obj0
);
13221 if (arg1
== NULL
) SWIG_fail
;
13226 arg2
= wxString_in_helper(obj1
);
13227 if (arg2
== NULL
) SWIG_fail
;
13234 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13239 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13245 wxIcon
* resultptr
;
13246 resultptr
= new wxIcon((wxIcon
&) result
);
13247 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13271 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13274 PyObject
* obj0
= 0 ;
13275 char *kwnames
[] = {
13276 (char *) "self", NULL
13279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
13280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 wxPyArtProvider_Destroy(arg1
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 Py_INCREF(Py_None
); resultobj
= Py_None
;
13295 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13298 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13300 return Py_BuildValue((char *)"");
13302 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13319 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13329 wxConfigBase
*result
;
13330 PyObject
* obj0
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "pConfig", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13351 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 bool arg1
= (bool) True
;
13354 wxConfigBase
*result
;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "createOnDemand", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13362 arg1
= PyInt_AsLong(obj0
) ? true : false;
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13379 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxConfigBase
*result
;
13382 char *kwnames
[] = {
13386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (wxConfigBase
*)wxConfigBase::Create();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13401 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 char *kwnames
[] = {
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 wxConfigBase::DontCreateOnDemand();
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13425 wxString
*arg2
= 0 ;
13426 bool temp2
= False
;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "strPath", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13436 arg2
= wxString_in_helper(obj1
);
13437 if (arg2
== NULL
) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 (arg1
)->SetPath((wxString
const &)*arg2
);
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 Py_INCREF(Py_None
); resultobj
= Py_None
;
13462 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 char *kwnames
[] = {
13468 (char *) "self", NULL
13471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13477 result
= (wxString
*) &_result_ref
;
13480 wxPyEndAllowThreads(__tstate
);
13481 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13487 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13496 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= result
;
13521 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13526 PyObject
* obj0
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "index", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13535 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= result
;
13547 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
;
13549 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13551 PyObject
* obj0
= 0 ;
13552 char *kwnames
[] = {
13553 (char *) "self", NULL
13556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= result
;
13572 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self",(char *) "index", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= result
;
13598 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13601 bool arg2
= (bool) False
;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 char *kwnames
[] = {
13606 (char *) "self",(char *) "bRecursive", NULL
13609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13612 arg2
= PyInt_AsLong(obj1
) ? true : false;
13613 if (PyErr_Occurred()) SWIG_fail
;
13616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13617 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13619 wxPyEndAllowThreads(__tstate
);
13620 if (PyErr_Occurred()) SWIG_fail
;
13622 resultobj
= PyInt_FromLong((long)result
);
13629 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13630 PyObject
*resultobj
;
13631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13632 bool arg2
= (bool) False
;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 char *kwnames
[] = {
13637 (char *) "self",(char *) "bRecursive", NULL
13640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13643 arg2
= PyInt_AsLong(obj1
) ? true : false;
13644 if (PyErr_Occurred()) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= PyInt_FromLong((long)result
);
13660 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13663 wxString
*arg2
= 0 ;
13665 bool temp2
= False
;
13666 PyObject
* obj0
= 0 ;
13667 PyObject
* obj1
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "strName", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13675 arg2
= wxString_in_helper(obj1
);
13676 if (arg2
== NULL
) SWIG_fail
;
13680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13681 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13683 wxPyEndAllowThreads(__tstate
);
13684 if (PyErr_Occurred()) SWIG_fail
;
13686 resultobj
= PyInt_FromLong((long)result
);
13701 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13704 wxString
*arg2
= 0 ;
13706 bool temp2
= False
;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self",(char *) "strName", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13716 arg2
= wxString_in_helper(obj1
);
13717 if (arg2
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= PyInt_FromLong((long)result
);
13742 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13745 wxString
*arg2
= 0 ;
13747 bool temp2
= False
;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "strName", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13757 arg2
= wxString_in_helper(obj1
);
13758 if (arg2
== NULL
) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= PyInt_FromLong((long)result
);
13783 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13786 wxString
*arg2
= 0 ;
13788 bool temp2
= False
;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 char *kwnames
[] = {
13792 (char *) "self",(char *) "name", NULL
13795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13798 arg2
= wxString_in_helper(obj1
);
13799 if (arg2
== NULL
) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= PyInt_FromLong((long)result
);
13824 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13825 PyObject
*resultobj
;
13826 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13827 wxString
*arg2
= 0 ;
13828 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13829 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13831 bool temp2
= False
;
13832 bool temp3
= False
;
13833 PyObject
* obj0
= 0 ;
13834 PyObject
* obj1
= 0 ;
13835 PyObject
* obj2
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13843 arg2
= wxString_in_helper(obj1
);
13844 if (arg2
== NULL
) SWIG_fail
;
13849 arg3
= wxString_in_helper(obj2
);
13850 if (arg3
== NULL
) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13890 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13891 PyObject
*resultobj
;
13892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13893 wxString
*arg2
= 0 ;
13894 long arg3
= (long) 0 ;
13896 bool temp2
= False
;
13897 PyObject
* obj0
= 0 ;
13898 PyObject
* obj1
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13906 arg2
= wxString_in_helper(obj1
);
13907 if (arg2
== NULL
) SWIG_fail
;
13911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13912 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= PyInt_FromLong((long)result
);
13932 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13933 PyObject
*resultobj
;
13934 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13935 wxString
*arg2
= 0 ;
13936 double arg3
= (double) 0.0 ;
13938 bool temp2
= False
;
13939 PyObject
* obj0
= 0 ;
13940 PyObject
* obj1
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13948 arg2
= wxString_in_helper(obj1
);
13949 if (arg2
== NULL
) SWIG_fail
;
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= PyFloat_FromDouble(result
);
13974 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13977 wxString
*arg2
= 0 ;
13978 bool arg3
= (bool) False
;
13980 bool temp2
= False
;
13981 PyObject
* obj0
= 0 ;
13982 PyObject
* obj1
= 0 ;
13983 PyObject
* obj2
= 0 ;
13984 char *kwnames
[] = {
13985 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13991 arg2
= wxString_in_helper(obj1
);
13992 if (arg2
== NULL
) SWIG_fail
;
13996 arg3
= PyInt_AsLong(obj2
) ? true : false;
13997 if (PyErr_Occurred()) SWIG_fail
;
14000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14001 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= PyInt_FromLong((long)result
);
14021 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14022 PyObject
*resultobj
;
14023 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14024 wxString
*arg2
= 0 ;
14025 wxString
*arg3
= 0 ;
14027 bool temp2
= False
;
14028 bool temp3
= False
;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 PyObject
* obj2
= 0 ;
14032 char *kwnames
[] = {
14033 (char *) "self",(char *) "key",(char *) "value", NULL
14036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14039 arg2
= wxString_in_helper(obj1
);
14040 if (arg2
== NULL
) SWIG_fail
;
14044 arg3
= wxString_in_helper(obj2
);
14045 if (arg3
== NULL
) SWIG_fail
;
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= PyInt_FromLong((long)result
);
14078 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14079 PyObject
*resultobj
;
14080 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14081 wxString
*arg2
= 0 ;
14084 bool temp2
= False
;
14085 PyObject
* obj0
= 0 ;
14086 PyObject
* obj1
= 0 ;
14087 char *kwnames
[] = {
14088 (char *) "self",(char *) "key",(char *) "value", NULL
14091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14094 arg2
= wxString_in_helper(obj1
);
14095 if (arg2
== NULL
) SWIG_fail
;
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14102 wxPyEndAllowThreads(__tstate
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= PyInt_FromLong((long)result
);
14120 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14121 PyObject
*resultobj
;
14122 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14123 wxString
*arg2
= 0 ;
14126 bool temp2
= False
;
14127 PyObject
* obj0
= 0 ;
14128 PyObject
* obj1
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self",(char *) "key",(char *) "value", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14136 arg2
= wxString_in_helper(obj1
);
14137 if (arg2
== NULL
) SWIG_fail
;
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= PyInt_FromLong((long)result
);
14162 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14165 wxString
*arg2
= 0 ;
14168 bool temp2
= False
;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self",(char *) "key",(char *) "value", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14179 arg2
= wxString_in_helper(obj1
);
14180 if (arg2
== NULL
) SWIG_fail
;
14183 arg3
= PyInt_AsLong(obj2
) ? true : false;
14184 if (PyErr_Occurred()) SWIG_fail
;
14186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14187 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14189 wxPyEndAllowThreads(__tstate
);
14190 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= PyInt_FromLong((long)result
);
14207 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14210 bool arg2
= (bool) False
;
14212 PyObject
* obj0
= 0 ;
14213 PyObject
* obj1
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self",(char *) "bCurrentOnly", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14221 arg2
= PyInt_AsLong(obj1
) ? true : false;
14222 if (PyErr_Occurred()) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (bool)(arg1
)->Flush(arg2
);
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= PyInt_FromLong((long)result
);
14238 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14241 wxString
*arg2
= 0 ;
14242 wxString
*arg3
= 0 ;
14244 bool temp2
= False
;
14245 bool temp3
= False
;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14256 arg2
= wxString_in_helper(obj1
);
14257 if (arg2
== NULL
) SWIG_fail
;
14261 arg3
= wxString_in_helper(obj2
);
14262 if (arg3
== NULL
) SWIG_fail
;
14266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14267 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14272 resultobj
= PyInt_FromLong((long)result
);
14295 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14296 PyObject
*resultobj
;
14297 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14298 wxString
*arg2
= 0 ;
14299 wxString
*arg3
= 0 ;
14301 bool temp2
= False
;
14302 bool temp3
= False
;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14313 arg2
= wxString_in_helper(obj1
);
14314 if (arg2
== NULL
) SWIG_fail
;
14318 arg3
= wxString_in_helper(obj2
);
14319 if (arg3
== NULL
) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= PyInt_FromLong((long)result
);
14352 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14353 PyObject
*resultobj
;
14354 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14355 wxString
*arg2
= 0 ;
14356 bool arg3
= (bool) True
;
14358 bool temp2
= False
;
14359 PyObject
* obj0
= 0 ;
14360 PyObject
* obj1
= 0 ;
14361 PyObject
* obj2
= 0 ;
14362 char *kwnames
[] = {
14363 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14369 arg2
= wxString_in_helper(obj1
);
14370 if (arg2
== NULL
) SWIG_fail
;
14374 arg3
= PyInt_AsLong(obj2
) ? true : false;
14375 if (PyErr_Occurred()) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= PyInt_FromLong((long)result
);
14399 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14400 PyObject
*resultobj
;
14401 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14402 wxString
*arg2
= 0 ;
14404 bool temp2
= False
;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 char *kwnames
[] = {
14408 (char *) "self",(char *) "key", NULL
14411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14414 arg2
= wxString_in_helper(obj1
);
14415 if (arg2
== NULL
) SWIG_fail
;
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14422 wxPyEndAllowThreads(__tstate
);
14423 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= PyInt_FromLong((long)result
);
14440 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14453 result
= (bool)(arg1
)->DeleteAll();
14455 wxPyEndAllowThreads(__tstate
);
14456 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= PyInt_FromLong((long)result
);
14465 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= PyInt_FromLong((long)result
);
14490 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14493 bool arg2
= (bool) True
;
14494 PyObject
* obj0
= 0 ;
14495 PyObject
* obj1
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "self",(char *) "bDoIt", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14503 arg2
= PyInt_AsLong(obj1
) ? true : false;
14504 if (PyErr_Occurred()) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->SetExpandEnvVars(arg2
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14523 bool arg2
= (bool) True
;
14524 PyObject
* obj0
= 0 ;
14525 PyObject
* obj1
= 0 ;
14526 char *kwnames
[] = {
14527 (char *) "self",(char *) "bDoIt", NULL
14530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14533 arg2
= PyInt_AsLong(obj1
) ? true : false;
14534 if (PyErr_Occurred()) SWIG_fail
;
14537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14538 (arg1
)->SetRecordDefaults(arg2
);
14540 wxPyEndAllowThreads(__tstate
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14543 Py_INCREF(Py_None
); resultobj
= Py_None
;
14550 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14551 PyObject
*resultobj
;
14552 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14554 PyObject
* obj0
= 0 ;
14555 char *kwnames
[] = {
14556 (char *) "self", NULL
14559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14565 wxPyEndAllowThreads(__tstate
);
14566 if (PyErr_Occurred()) SWIG_fail
;
14568 resultobj
= PyInt_FromLong((long)result
);
14575 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14578 wxString
*arg2
= 0 ;
14580 bool temp2
= False
;
14581 PyObject
* obj0
= 0 ;
14582 PyObject
* obj1
= 0 ;
14583 char *kwnames
[] = {
14584 (char *) "self",(char *) "str", NULL
14587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14590 arg2
= wxString_in_helper(obj1
);
14591 if (arg2
== NULL
) SWIG_fail
;
14595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14596 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14622 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14644 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14653 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14668 wxPyEndAllowThreads(__tstate
);
14669 if (PyErr_Occurred()) SWIG_fail
;
14673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14684 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14687 wxString
*arg2
= 0 ;
14688 bool temp2
= False
;
14689 PyObject
* obj0
= 0 ;
14690 PyObject
* obj1
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self",(char *) "appName", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14698 arg2
= wxString_in_helper(obj1
);
14699 if (arg2
== NULL
) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 (arg1
)->SetAppName((wxString
const &)*arg2
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14727 wxString
*arg2
= 0 ;
14728 bool temp2
= False
;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "vendorName", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14738 arg2
= wxString_in_helper(obj1
);
14739 if (arg2
== NULL
) SWIG_fail
;
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14746 wxPyEndAllowThreads(__tstate
);
14747 if (PyErr_Occurred()) SWIG_fail
;
14749 Py_INCREF(Py_None
); resultobj
= Py_None
;
14764 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 char *kwnames
[] = {
14770 (char *) "self",(char *) "style", NULL
14773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 (arg1
)->SetStyle(arg2
);
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 Py_INCREF(Py_None
); resultobj
= Py_None
;
14789 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
;
14791 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14793 PyObject
* obj0
= 0 ;
14794 char *kwnames
[] = {
14795 (char *) "self", NULL
14798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= PyInt_FromLong((long)result
);
14814 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14817 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14819 return Py_BuildValue((char *)"");
14821 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14824 wxString
*arg2
= 0 ;
14825 wxConfigPathChanger
*result
;
14826 bool temp2
= False
;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 char *kwnames
[] = {
14830 (char *) "pContainer",(char *) "strEntry", NULL
14833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14836 arg2
= wxString_in_helper(obj1
);
14837 if (arg2
== NULL
) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14862 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 wxPyEndAllowThreads(__tstate
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14879 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14901 result
= (wxString
*) &_result_ref
;
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14911 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14920 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14923 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14925 return Py_BuildValue((char *)"");
14927 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14928 PyObject
*resultobj
;
14929 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14930 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14931 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14932 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14933 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14934 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14935 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14936 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14937 long arg5
= (long) 0 ;
14939 bool temp1
= False
;
14940 bool temp2
= False
;
14941 bool temp3
= False
;
14942 bool temp4
= False
;
14943 PyObject
* obj0
= 0 ;
14944 PyObject
* obj1
= 0 ;
14945 PyObject
* obj2
= 0 ;
14946 PyObject
* obj3
= 0 ;
14947 char *kwnames
[] = {
14948 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14954 arg1
= wxString_in_helper(obj0
);
14955 if (arg1
== NULL
) SWIG_fail
;
14961 arg2
= wxString_in_helper(obj1
);
14962 if (arg2
== NULL
) SWIG_fail
;
14968 arg3
= wxString_in_helper(obj2
);
14969 if (arg3
== NULL
) SWIG_fail
;
14975 arg4
= wxString_in_helper(obj3
);
14976 if (arg4
== NULL
) SWIG_fail
;
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14984 wxPyEndAllowThreads(__tstate
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
15026 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxConfig
*arg1
= (wxConfig
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 wxPyEndAllowThreads(__tstate
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15043 Py_INCREF(Py_None
); resultobj
= Py_None
;
15050 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
15052 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15053 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
15055 return Py_BuildValue((char *)"");
15057 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15060 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15061 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15062 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15063 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15064 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15065 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15066 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15067 long arg5
= (long) 0 ;
15068 wxFileConfig
*result
;
15069 bool temp1
= False
;
15070 bool temp2
= False
;
15071 bool temp3
= False
;
15072 bool temp4
= False
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 PyObject
* obj3
= 0 ;
15077 char *kwnames
[] = {
15078 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
15084 arg1
= wxString_in_helper(obj0
);
15085 if (arg1
== NULL
) SWIG_fail
;
15091 arg2
= wxString_in_helper(obj1
);
15092 if (arg2
== NULL
) SWIG_fail
;
15098 arg3
= wxString_in_helper(obj2
);
15099 if (arg3
== NULL
) SWIG_fail
;
15105 arg4
= wxString_in_helper(obj3
);
15106 if (arg4
== NULL
) SWIG_fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15156 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 Py_INCREF(Py_None
); resultobj
= Py_None
;
15180 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15183 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15185 return Py_BuildValue((char *)"");
15187 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxString
*arg1
= 0 ;
15191 bool temp1
= False
;
15192 PyObject
* obj0
= 0 ;
15193 char *kwnames
[] = {
15194 (char *) "sz", NULL
15197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15199 arg1
= wxString_in_helper(obj0
);
15200 if (arg1
== NULL
) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15231 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
15232 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
15237 static PyObject
*_wrap_DateFormatStr_get() {
15242 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15244 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15251 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
15252 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
15257 static PyObject
*_wrap_TimeSpanFormatStr_get() {
15262 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15264 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15271 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15274 char *kwnames
[] = {
15275 (char *) "country", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 Py_INCREF(Py_None
); resultobj
= Py_None
;
15293 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15296 char *kwnames
[] = {
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (int)wxDateTime::GetCountry();
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= PyInt_FromLong((long)result
);
15315 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15317 int arg1
= (int) wxDateTime::Country_Default
;
15319 char *kwnames
[] = {
15320 (char *) "country", NULL
15323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15326 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15328 wxPyEndAllowThreads(__tstate
);
15329 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= PyInt_FromLong((long)result
);
15338 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 int arg1
= (int) wxDateTime::Gregorian
;
15342 char *kwnames
[] = {
15343 (char *) "cal", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= PyInt_FromLong((long)result
);
15361 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15365 char *kwnames
[] = {
15366 (char *) "year", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= PyInt_FromLong((long)result
);
15384 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 int arg1
= (int) wxDateTime::Gregorian
;
15388 char *kwnames
[] = {
15389 (char *) "cal", NULL
15392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= PyInt_FromLong((long)result
);
15407 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15408 PyObject
*resultobj
;
15409 int arg1
= (int) wxDateTime::Inv_Year
;
15410 int arg2
= (int) wxDateTime::Gregorian
;
15412 char *kwnames
[] = {
15413 (char *) "year",(char *) "cal", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= PyInt_FromLong((long)result
);
15431 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 int arg1
= (int) wxDateTime::Inv_Year
;
15435 char *kwnames
[] = {
15436 (char *) "year", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15442 result
= (int)wxDateTime::GetCentury(arg1
);
15444 wxPyEndAllowThreads(__tstate
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15447 resultobj
= PyInt_FromLong((long)result
);
15454 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15457 int arg2
= (int) wxDateTime::Gregorian
;
15459 char *kwnames
[] = {
15460 (char *) "year",(char *) "cal", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15471 resultobj
= PyInt_FromLong((long)result
);
15478 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15481 int arg2
= (int) wxDateTime::Inv_Year
;
15482 int arg3
= (int) wxDateTime::Gregorian
;
15484 char *kwnames
[] = {
15485 (char *) "month",(char *) "year",(char *) "cal", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= PyInt_FromLong((long)result
);
15503 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15506 int arg2
= (int) wxDateTime::Name_Full
;
15508 char *kwnames
[] = {
15509 (char *) "month",(char *) "flags", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15533 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15536 int arg2
= (int) wxDateTime::Name_Full
;
15538 char *kwnames
[] = {
15539 (char *) "weekday",(char *) "flags", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15563 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxString
*arg1
= (wxString
*) 0 ;
15566 wxString
*arg2
= (wxString
*) 0 ;
15567 bool temp1
= False
;
15568 bool temp2
= False
;
15569 PyObject
* obj0
= 0 ;
15570 PyObject
* obj1
= 0 ;
15571 char *kwnames
[] = {
15572 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15577 arg1
= wxString_in_helper(obj0
);
15578 if (arg1
== NULL
) SWIG_fail
;
15582 arg2
= wxString_in_helper(obj1
);
15583 if (arg2
== NULL
) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 Py_INCREF(Py_None
); resultobj
= Py_None
;
15616 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15617 PyObject
*resultobj
;
15618 int arg1
= (int) wxDateTime::Inv_Year
;
15619 int arg2
= (int) wxDateTime::Country_Default
;
15621 char *kwnames
[] = {
15622 (char *) "year",(char *) "country", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15630 wxPyEndAllowThreads(__tstate
);
15631 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= PyInt_FromLong((long)result
);
15640 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15641 PyObject
*resultobj
;
15642 int arg1
= (int) wxDateTime::Inv_Year
;
15643 int arg2
= (int) wxDateTime::Country_Default
;
15645 char *kwnames
[] = {
15646 (char *) "year",(char *) "country", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 wxDateTime
* resultptr
;
15659 resultptr
= new wxDateTime((wxDateTime
&) result
);
15660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15668 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15669 PyObject
*resultobj
;
15670 int arg1
= (int) wxDateTime::Inv_Year
;
15671 int arg2
= (int) wxDateTime::Country_Default
;
15673 char *kwnames
[] = {
15674 (char *) "year",(char *) "country", NULL
15677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15686 wxDateTime
* resultptr
;
15687 resultptr
= new wxDateTime((wxDateTime
&) result
);
15688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15696 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15697 PyObject
*resultobj
;
15699 char *kwnames
[] = {
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= wxDateTime::Now();
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15712 wxDateTime
* resultptr
;
15713 resultptr
= new wxDateTime((wxDateTime
&) result
);
15714 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15722 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15725 char *kwnames
[] = {
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15732 result
= wxDateTime::UNow();
15734 wxPyEndAllowThreads(__tstate
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15738 wxDateTime
* resultptr
;
15739 resultptr
= new wxDateTime((wxDateTime
&) result
);
15740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15748 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15751 char *kwnames
[] = {
15755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= wxDateTime::Today();
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15764 wxDateTime
* resultptr
;
15765 resultptr
= new wxDateTime((wxDateTime
&) result
);
15766 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15774 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxDateTime
*result
;
15777 char *kwnames
[] = {
15781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15784 result
= (wxDateTime
*)new wxDateTime();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15796 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
;
15799 wxDateTime
*result
;
15800 PyObject
* obj0
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "timet", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15806 arg1
= (time_t) PyInt_AsLong(obj0
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (wxDateTime
*)new wxDateTime(arg1
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15822 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15823 PyObject
*resultobj
;
15825 wxDateTime
*result
;
15826 char *kwnames
[] = {
15827 (char *) "jdn", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15833 result
= (wxDateTime
*)new wxDateTime(arg1
);
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15845 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15848 int arg2
= (int) 0 ;
15849 int arg3
= (int) 0 ;
15850 int arg4
= (int) 0 ;
15851 wxDateTime
*result
;
15852 char *kwnames
[] = {
15853 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15871 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15874 int arg2
= (int) wxDateTime::Inv_Month
;
15875 int arg3
= (int) wxDateTime::Inv_Year
;
15876 int arg4
= (int) 0 ;
15877 int arg5
= (int) 0 ;
15878 int arg6
= (int) 0 ;
15879 int arg7
= (int) 0 ;
15880 wxDateTime
*result
;
15881 char *kwnames
[] = {
15882 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15888 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15890 wxPyEndAllowThreads(__tstate
);
15891 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15900 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15903 PyObject
* obj0
= 0 ;
15904 char *kwnames
[] = {
15905 (char *) "self", NULL
15908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 Py_INCREF(Py_None
); resultobj
= Py_None
;
15924 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15927 wxDateTime
*result
;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15939 result
= (wxDateTime
*) &_result_ref
;
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15952 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15956 wxDateTime
*result
;
15957 PyObject
* obj0
= 0 ;
15958 PyObject
* obj1
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self",(char *) "timet", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 arg2
= (time_t) PyInt_AsLong(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15971 result
= (wxDateTime
*) &_result_ref
;
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15984 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15988 wxDateTime
*result
;
15989 PyObject
* obj0
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "jdn", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15999 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
16000 result
= (wxDateTime
*) &_result_ref
;
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16013 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16014 PyObject
*resultobj
;
16015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16017 int arg3
= (int) 0 ;
16018 int arg4
= (int) 0 ;
16019 int arg5
= (int) 0 ;
16020 wxDateTime
*result
;
16021 PyObject
* obj0
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16031 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
16032 result
= (wxDateTime
*) &_result_ref
;
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16045 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16046 PyObject
*resultobj
;
16047 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16049 int arg3
= (int) wxDateTime::Inv_Month
;
16050 int arg4
= (int) wxDateTime::Inv_Year
;
16051 int arg5
= (int) 0 ;
16052 int arg6
= (int) 0 ;
16053 int arg7
= (int) 0 ;
16054 int arg8
= (int) 0 ;
16055 wxDateTime
*result
;
16056 PyObject
* obj0
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16066 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
16067 result
= (wxDateTime
*) &_result_ref
;
16070 wxPyEndAllowThreads(__tstate
);
16071 if (PyErr_Occurred()) SWIG_fail
;
16073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16080 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16081 PyObject
*resultobj
;
16082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16083 wxDateTime
*result
;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
16095 result
= (wxDateTime
*) &_result_ref
;
16098 wxPyEndAllowThreads(__tstate
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16108 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16109 PyObject
*resultobj
;
16110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16112 wxDateTime
*result
;
16113 PyObject
* obj0
= 0 ;
16114 char *kwnames
[] = {
16115 (char *) "self",(char *) "year", NULL
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
16119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16123 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
16124 result
= (wxDateTime
*) &_result_ref
;
16127 wxPyEndAllowThreads(__tstate
);
16128 if (PyErr_Occurred()) SWIG_fail
;
16130 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16137 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16138 PyObject
*resultobj
;
16139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16141 wxDateTime
*result
;
16142 PyObject
* obj0
= 0 ;
16143 char *kwnames
[] = {
16144 (char *) "self",(char *) "month", NULL
16147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
16148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
16153 result
= (wxDateTime
*) &_result_ref
;
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16166 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16170 wxDateTime
*result
;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self",(char *) "day", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
16182 result
= (wxDateTime
*) &_result_ref
;
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16195 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16199 wxDateTime
*result
;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self",(char *) "hour", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
16211 result
= (wxDateTime
*) &_result_ref
;
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16224 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
;
16226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16228 wxDateTime
*result
;
16229 PyObject
* obj0
= 0 ;
16230 char *kwnames
[] = {
16231 (char *) "self",(char *) "minute", NULL
16234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
16235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16240 result
= (wxDateTime
*) &_result_ref
;
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16253 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16254 PyObject
*resultobj
;
16255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16257 wxDateTime
*result
;
16258 PyObject
* obj0
= 0 ;
16259 char *kwnames
[] = {
16260 (char *) "self",(char *) "second", NULL
16263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16268 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16269 result
= (wxDateTime
*) &_result_ref
;
16272 wxPyEndAllowThreads(__tstate
);
16273 if (PyErr_Occurred()) SWIG_fail
;
16275 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16282 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16283 PyObject
*resultobj
;
16284 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16286 wxDateTime
*result
;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "self",(char *) "millisecond", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16298 result
= (wxDateTime
*) &_result_ref
;
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16311 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16315 int arg3
= (int) wxDateTime::Monday_First
;
16316 wxDateTime
*result
;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16328 result
= (wxDateTime
*) &_result_ref
;
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16334 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16341 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16342 PyObject
*resultobj
;
16343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16345 int arg3
= (int) wxDateTime::Monday_First
;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16356 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16362 wxDateTime
* resultptr
;
16363 resultptr
= new wxDateTime((wxDateTime
&) result
);
16364 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16372 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16376 wxDateTime
*result
;
16377 PyObject
* obj0
= 0 ;
16378 char *kwnames
[] = {
16379 (char *) "self",(char *) "weekday", NULL
16382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16388 result
= (wxDateTime
*) &_result_ref
;
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16401 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "self",(char *) "weekday", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 wxDateTime
* resultptr
;
16422 resultptr
= new wxDateTime((wxDateTime
&) result
);
16423 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16431 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16435 wxDateTime
*result
;
16436 PyObject
* obj0
= 0 ;
16437 char *kwnames
[] = {
16438 (char *) "self",(char *) "weekday", NULL
16441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16447 result
= (wxDateTime
*) &_result_ref
;
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16460 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "weekday", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16480 wxDateTime
* resultptr
;
16481 resultptr
= new wxDateTime((wxDateTime
&) result
);
16482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16490 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16494 int arg3
= (int) 1 ;
16495 int arg4
= (int) wxDateTime::Inv_Month
;
16496 int arg5
= (int) wxDateTime::Inv_Year
;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16507 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16509 wxPyEndAllowThreads(__tstate
);
16510 if (PyErr_Occurred()) SWIG_fail
;
16512 resultobj
= PyInt_FromLong((long)result
);
16519 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16520 PyObject
*resultobj
;
16521 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16523 int arg3
= (int) wxDateTime::Inv_Month
;
16524 int arg4
= (int) wxDateTime::Inv_Year
;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= PyInt_FromLong((long)result
);
16547 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16551 int arg3
= (int) wxDateTime::Inv_Month
;
16552 int arg4
= (int) wxDateTime::Inv_Year
;
16554 PyObject
* obj0
= 0 ;
16555 char *kwnames
[] = {
16556 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16569 wxDateTime
* resultptr
;
16570 resultptr
= new wxDateTime((wxDateTime
&) result
);
16571 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16579 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16583 int arg3
= (int) wxDateTime::Mon
;
16584 int arg4
= (int) wxDateTime::Monday_First
;
16586 PyObject
* obj0
= 0 ;
16587 char *kwnames
[] = {
16588 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16595 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16597 wxPyEndAllowThreads(__tstate
);
16598 if (PyErr_Occurred()) SWIG_fail
;
16600 resultobj
= PyInt_FromLong((long)result
);
16607 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16608 PyObject
*resultobj
;
16609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16611 int arg3
= (int) wxDateTime::Mon
;
16612 int arg4
= (int) wxDateTime::Monday_First
;
16614 PyObject
* obj0
= 0 ;
16615 char *kwnames
[] = {
16616 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16623 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16625 wxPyEndAllowThreads(__tstate
);
16626 if (PyErr_Occurred()) SWIG_fail
;
16629 wxDateTime
* resultptr
;
16630 resultptr
= new wxDateTime((wxDateTime
&) result
);
16631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16639 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16642 int arg2
= (int) wxDateTime::Inv_Month
;
16643 int arg3
= (int) wxDateTime::Inv_Year
;
16644 wxDateTime
*result
;
16645 PyObject
* obj0
= 0 ;
16646 char *kwnames
[] = {
16647 (char *) "self",(char *) "month",(char *) "year", NULL
16650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16656 result
= (wxDateTime
*) &_result_ref
;
16659 wxPyEndAllowThreads(__tstate
);
16660 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16669 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16672 int arg2
= (int) wxDateTime::Inv_Month
;
16673 int arg3
= (int) wxDateTime::Inv_Year
;
16675 PyObject
* obj0
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self",(char *) "month",(char *) "year", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16684 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16690 wxDateTime
* resultptr
;
16691 resultptr
= new wxDateTime((wxDateTime
&) result
);
16692 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16700 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16704 wxDateTime
*result
;
16705 PyObject
* obj0
= 0 ;
16706 char *kwnames
[] = {
16707 (char *) "self",(char *) "yday", NULL
16710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16716 result
= (wxDateTime
*) &_result_ref
;
16719 wxPyEndAllowThreads(__tstate
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16722 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16729 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self",(char *) "yday", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 result
= (arg1
)->GetYearDay(arg2
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16749 wxDateTime
* resultptr
;
16750 resultptr
= new wxDateTime((wxDateTime
&) result
);
16751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16759 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16760 PyObject
*resultobj
;
16761 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 result
= (double)(arg1
)->GetJulianDayNumber();
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= PyFloat_FromDouble(result
);
16784 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
;
16786 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16788 PyObject
* obj0
= 0 ;
16789 char *kwnames
[] = {
16790 (char *) "self", NULL
16793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16797 result
= (double)(arg1
)->GetJDN();
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= PyFloat_FromDouble(result
);
16809 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16822 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16824 wxPyEndAllowThreads(__tstate
);
16825 if (PyErr_Occurred()) SWIG_fail
;
16827 resultobj
= PyFloat_FromDouble(result
);
16834 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16835 PyObject
*resultobj
;
16836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16838 PyObject
* obj0
= 0 ;
16839 char *kwnames
[] = {
16840 (char *) "self", NULL
16843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (double)(arg1
)->GetMJD();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= PyFloat_FromDouble(result
);
16859 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (double)(arg1
)->GetRataDie();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= PyFloat_FromDouble(result
);
16884 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16887 wxDateTime::TimeZone
*arg2
= 0 ;
16888 bool arg3
= (bool) False
;
16890 bool temp2
= False
;
16891 PyObject
* obj0
= 0 ;
16892 PyObject
* obj1
= 0 ;
16893 PyObject
* obj2
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16901 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16905 arg3
= PyInt_AsLong(obj2
) ? true : false;
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16916 wxDateTime
* resultptr
;
16917 resultptr
= new wxDateTime((wxDateTime
&) result
);
16918 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16921 if (temp2
) delete arg2
;
16926 if (temp2
) delete arg2
;
16932 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16935 wxDateTime::TimeZone
*arg2
= 0 ;
16936 bool arg3
= (bool) False
;
16937 wxDateTime
*result
;
16938 bool temp2
= False
;
16939 PyObject
* obj0
= 0 ;
16940 PyObject
* obj1
= 0 ;
16941 PyObject
* obj2
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16949 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16953 arg3
= PyInt_AsLong(obj2
) ? true : false;
16954 if (PyErr_Occurred()) SWIG_fail
;
16957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16960 result
= (wxDateTime
*) &_result_ref
;
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16968 if (temp2
) delete arg2
;
16973 if (temp2
) delete arg2
;
16979 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16982 bool arg2
= (bool) False
;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self",(char *) "noDST", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16993 arg2
= PyInt_AsLong(obj1
) ? true : false;
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= (arg1
)->ToGMT(arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17004 wxDateTime
* resultptr
;
17005 resultptr
= new wxDateTime((wxDateTime
&) result
);
17006 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17014 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17017 bool arg2
= (bool) False
;
17018 wxDateTime
*result
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "self",(char *) "noDST", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
17026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17028 arg2
= PyInt_AsLong(obj1
) ? true : false;
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
17035 result
= (wxDateTime
*) &_result_ref
;
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17048 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17051 int arg2
= (int) wxDateTime::Country_Default
;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "self",(char *) "country", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= PyInt_FromLong((long)result
);
17074 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17075 PyObject
*resultobj
;
17076 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17078 PyObject
* obj0
= 0 ;
17079 char *kwnames
[] = {
17080 (char *) "self", NULL
17083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
17084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17087 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
17089 wxPyEndAllowThreads(__tstate
);
17090 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= PyInt_FromLong((long)result
);
17099 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17100 PyObject
*resultobj
;
17101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17103 PyObject
* obj0
= 0 ;
17104 char *kwnames
[] = {
17105 (char *) "self", NULL
17108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
17109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 resultobj
= PyInt_FromLong((long)result
);
17124 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17125 PyObject
*resultobj
;
17126 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17127 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17128 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17130 bool temp2
= False
;
17131 PyObject
* obj0
= 0 ;
17132 PyObject
* obj1
= 0 ;
17133 char *kwnames
[] = {
17134 (char *) "self",(char *) "tz", NULL
17137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17141 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= PyInt_FromLong((long)result
);
17154 if (temp2
) delete arg2
;
17159 if (temp2
) delete arg2
;
17165 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17168 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17169 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17171 bool temp2
= False
;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char *kwnames
[] = {
17175 (char *) "self",(char *) "tz", NULL
17178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17182 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= PyInt_FromLong((long)result
);
17195 if (temp2
) delete arg2
;
17200 if (temp2
) delete arg2
;
17206 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17209 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17210 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17212 bool temp2
= False
;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char *kwnames
[] = {
17216 (char *) "self",(char *) "tz", NULL
17219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17223 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= PyInt_FromLong((long)result
);
17236 if (temp2
) delete arg2
;
17241 if (temp2
) delete arg2
;
17247 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17250 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17251 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17253 bool temp2
= False
;
17254 PyObject
* obj0
= 0 ;
17255 PyObject
* obj1
= 0 ;
17256 char *kwnames
[] = {
17257 (char *) "self",(char *) "tz", NULL
17260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17264 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17270 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17272 wxPyEndAllowThreads(__tstate
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17275 resultobj
= PyInt_FromLong((long)result
);
17277 if (temp2
) delete arg2
;
17282 if (temp2
) delete arg2
;
17288 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17291 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17292 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17294 bool temp2
= False
;
17295 PyObject
* obj0
= 0 ;
17296 PyObject
* obj1
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "tz", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17305 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17313 wxPyEndAllowThreads(__tstate
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= PyInt_FromLong((long)result
);
17318 if (temp2
) delete arg2
;
17323 if (temp2
) delete arg2
;
17329 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17330 PyObject
*resultobj
;
17331 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17332 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17333 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17335 bool temp2
= False
;
17336 PyObject
* obj0
= 0 ;
17337 PyObject
* obj1
= 0 ;
17338 char *kwnames
[] = {
17339 (char *) "self",(char *) "tz", NULL
17342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17346 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17352 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17354 wxPyEndAllowThreads(__tstate
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17357 resultobj
= PyInt_FromLong((long)result
);
17359 if (temp2
) delete arg2
;
17364 if (temp2
) delete arg2
;
17370 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17371 PyObject
*resultobj
;
17372 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17373 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17374 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17376 bool temp2
= False
;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "tz", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17387 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= PyInt_FromLong((long)result
);
17400 if (temp2
) delete arg2
;
17405 if (temp2
) delete arg2
;
17411 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17414 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17415 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17417 bool temp2
= False
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "tz", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17428 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17439 resultobj
= PyInt_FromLong((long)result
);
17441 if (temp2
) delete arg2
;
17446 if (temp2
) delete arg2
;
17452 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17455 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17456 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17458 bool temp2
= False
;
17459 PyObject
* obj0
= 0 ;
17460 PyObject
* obj1
= 0 ;
17461 char *kwnames
[] = {
17462 (char *) "self",(char *) "tz", NULL
17465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17469 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17475 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17477 wxPyEndAllowThreads(__tstate
);
17478 if (PyErr_Occurred()) SWIG_fail
;
17480 resultobj
= PyInt_FromLong((long)result
);
17482 if (temp2
) delete arg2
;
17487 if (temp2
) delete arg2
;
17493 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17496 int arg2
= (int) wxDateTime::Monday_First
;
17497 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17498 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17500 bool temp3
= False
;
17501 PyObject
* obj0
= 0 ;
17502 PyObject
* obj2
= 0 ;
17503 char *kwnames
[] = {
17504 (char *) "self",(char *) "flags",(char *) "tz", NULL
17507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17511 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17519 wxPyEndAllowThreads(__tstate
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17522 resultobj
= PyInt_FromLong((long)result
);
17524 if (temp3
) delete arg3
;
17529 if (temp3
) delete arg3
;
17535 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17538 int arg2
= (int) wxDateTime::Monday_First
;
17539 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17540 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17542 bool temp3
= False
;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj2
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "flags",(char *) "tz", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17553 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17564 resultobj
= PyInt_FromLong((long)result
);
17566 if (temp3
) delete arg3
;
17571 if (temp3
) delete arg3
;
17577 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17580 int arg2
= (int) wxDateTime::Country_Default
;
17582 PyObject
* obj0
= 0 ;
17583 char *kwnames
[] = {
17584 (char *) "self",(char *) "country", NULL
17587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17591 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17593 wxPyEndAllowThreads(__tstate
);
17594 if (PyErr_Occurred()) SWIG_fail
;
17596 resultobj
= PyInt_FromLong((long)result
);
17603 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17604 PyObject
*resultobj
;
17605 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17606 wxDateTime
*arg2
= 0 ;
17608 PyObject
* obj0
= 0 ;
17609 PyObject
* obj1
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "datetime", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17617 if (arg2
== NULL
) {
17618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= PyInt_FromLong((long)result
);
17634 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17637 wxDateTime
*arg2
= 0 ;
17639 PyObject
* obj0
= 0 ;
17640 PyObject
* obj1
= 0 ;
17641 char *kwnames
[] = {
17642 (char *) "self",(char *) "datetime", NULL
17645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17648 if (arg2
== NULL
) {
17649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 resultobj
= PyInt_FromLong((long)result
);
17665 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17668 wxDateTime
*arg2
= 0 ;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "datetime", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17678 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17679 if (arg2
== NULL
) {
17680 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= PyInt_FromLong((long)result
);
17696 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17699 wxDateTime
*arg2
= 0 ;
17700 wxDateTime
*arg3
= 0 ;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 PyObject
* obj2
= 0 ;
17705 char *kwnames
[] = {
17706 (char *) "self",(char *) "t1",(char *) "t2", NULL
17709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17712 if (arg2
== NULL
) {
17713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17715 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17716 if (arg3
== NULL
) {
17717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17721 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= PyInt_FromLong((long)result
);
17733 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
;
17735 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17736 wxDateTime
*arg2
= 0 ;
17737 wxDateTime
*arg3
= 0 ;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 PyObject
* obj2
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self",(char *) "t1",(char *) "t2", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17749 if (arg2
== NULL
) {
17750 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17752 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17753 if (arg3
== NULL
) {
17754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17758 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17760 wxPyEndAllowThreads(__tstate
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 resultobj
= PyInt_FromLong((long)result
);
17770 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17771 PyObject
*resultobj
;
17772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17773 wxDateTime
*arg2
= 0 ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 char *kwnames
[] = {
17778 (char *) "self",(char *) "dt", NULL
17781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17784 if (arg2
== NULL
) {
17785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17789 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17791 wxPyEndAllowThreads(__tstate
);
17792 if (PyErr_Occurred()) SWIG_fail
;
17794 resultobj
= PyInt_FromLong((long)result
);
17801 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17802 PyObject
*resultobj
;
17803 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17804 wxDateTime
*arg2
= 0 ;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 char *kwnames
[] = {
17809 (char *) "self",(char *) "dt", NULL
17812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17815 if (arg2
== NULL
) {
17816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= PyInt_FromLong((long)result
);
17832 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17835 wxDateTime
*arg2
= 0 ;
17836 wxTimeSpan
*arg3
= 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 PyObject
* obj2
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "dt",(char *) "ts", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17848 if (arg2
== NULL
) {
17849 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17851 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17852 if (arg3
== NULL
) {
17853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= PyInt_FromLong((long)result
);
17869 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17872 wxTimeSpan
*arg2
= 0 ;
17873 wxDateTime
*result
;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "diff", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 if (arg2
== NULL
) {
17884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17890 result
= (wxDateTime
*) &_result_ref
;
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17903 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17906 wxDateSpan
*arg2
= 0 ;
17907 wxDateTime
*result
;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self",(char *) "diff", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17917 if (arg2
== NULL
) {
17918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17924 result
= (wxDateTime
*) &_result_ref
;
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17937 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17938 PyObject
*resultobj
;
17939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17940 wxTimeSpan
*arg2
= 0 ;
17941 wxDateTime
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17944 char *kwnames
[] = {
17945 (char *) "self",(char *) "diff", NULL
17948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17950 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17951 if (arg2
== NULL
) {
17952 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17957 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17958 result
= (wxDateTime
*) &_result_ref
;
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17971 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
;
17973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17974 wxDateSpan
*arg2
= 0 ;
17975 wxDateTime
*result
;
17976 PyObject
* obj0
= 0 ;
17977 PyObject
* obj1
= 0 ;
17978 char *kwnames
[] = {
17979 (char *) "self",(char *) "diff", NULL
17982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17985 if (arg2
== NULL
) {
17986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17992 result
= (wxDateTime
*) &_result_ref
;
17995 wxPyEndAllowThreads(__tstate
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18005 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18008 wxDateTime
*arg2
= 0 ;
18010 PyObject
* obj0
= 0 ;
18011 PyObject
* obj1
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self",(char *) "dt", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 if (arg2
== NULL
) {
18020 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18030 wxTimeSpan
* resultptr
;
18031 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18032 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18040 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
18041 PyObject
*resultobj
;
18042 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18043 wxTimeSpan
*arg2
= 0 ;
18044 wxDateTime
*result
;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18048 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18051 if (arg2
== NULL
) {
18052 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18057 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
18058 result
= (wxDateTime
*) &_result_ref
;
18061 wxPyEndAllowThreads(__tstate
);
18062 if (PyErr_Occurred()) SWIG_fail
;
18064 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18071 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
18072 PyObject
*resultobj
;
18073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18074 wxDateSpan
*arg2
= 0 ;
18075 wxDateTime
*result
;
18076 PyObject
* obj0
= 0 ;
18077 PyObject
* obj1
= 0 ;
18079 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18081 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18082 if (arg2
== NULL
) {
18083 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
18089 result
= (wxDateTime
*) &_result_ref
;
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18102 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
18107 argc
= PyObject_Length(args
);
18108 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18109 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18115 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18125 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18133 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
18141 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18151 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18159 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
18164 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
18169 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18170 PyObject
*resultobj
;
18171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18172 wxTimeSpan
*arg2
= 0 ;
18173 wxDateTime
*result
;
18174 PyObject
* obj0
= 0 ;
18175 PyObject
* obj1
= 0 ;
18177 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18179 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18180 if (arg2
== NULL
) {
18181 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
18187 result
= (wxDateTime
*) &_result_ref
;
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18200 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18201 PyObject
*resultobj
;
18202 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18203 wxDateSpan
*arg2
= 0 ;
18204 wxDateTime
*result
;
18205 PyObject
* obj0
= 0 ;
18206 PyObject
* obj1
= 0 ;
18208 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18211 if (arg2
== NULL
) {
18212 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
18218 result
= (wxDateTime
*) &_result_ref
;
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18231 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
18236 argc
= PyObject_Length(args
);
18237 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18238 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18244 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18254 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18262 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18270 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18280 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18288 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18293 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18298 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18299 PyObject
*resultobj
;
18300 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18301 wxTimeSpan
*arg2
= 0 ;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18306 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18308 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18309 if (arg2
== NULL
) {
18310 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 wxDateTime
* resultptr
;
18321 resultptr
= new wxDateTime((wxDateTime
&) result
);
18322 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18330 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18331 PyObject
*resultobj
;
18332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18333 wxDateSpan
*arg2
= 0 ;
18335 PyObject
* obj0
= 0 ;
18336 PyObject
* obj1
= 0 ;
18338 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18340 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18341 if (arg2
== NULL
) {
18342 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18346 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18348 wxPyEndAllowThreads(__tstate
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18352 wxDateTime
* resultptr
;
18353 resultptr
= new wxDateTime((wxDateTime
&) result
);
18354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18362 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18367 argc
= PyObject_Length(args
);
18368 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18369 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18375 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18385 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18393 return _wrap_DateTime___add____SWIG_0(self
,args
);
18401 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18411 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18419 return _wrap_DateTime___add____SWIG_1(self
,args
);
18424 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18429 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18430 PyObject
*resultobj
;
18431 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18432 wxDateTime
*arg2
= 0 ;
18434 PyObject
* obj0
= 0 ;
18435 PyObject
* obj1
= 0 ;
18437 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18439 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18440 if (arg2
== NULL
) {
18441 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 wxTimeSpan
* resultptr
;
18452 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18453 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18461 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18462 PyObject
*resultobj
;
18463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18464 wxTimeSpan
*arg2
= 0 ;
18466 PyObject
* obj0
= 0 ;
18467 PyObject
* obj1
= 0 ;
18469 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18472 if (arg2
== NULL
) {
18473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 wxDateTime
* resultptr
;
18484 resultptr
= new wxDateTime((wxDateTime
&) result
);
18485 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18493 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18494 PyObject
*resultobj
;
18495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18496 wxDateSpan
*arg2
= 0 ;
18498 PyObject
* obj0
= 0 ;
18499 PyObject
* obj1
= 0 ;
18501 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18504 if (arg2
== NULL
) {
18505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18509 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18511 wxPyEndAllowThreads(__tstate
);
18512 if (PyErr_Occurred()) SWIG_fail
;
18515 wxDateTime
* resultptr
;
18516 resultptr
= new wxDateTime((wxDateTime
&) result
);
18517 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18525 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18530 argc
= PyObject_Length(args
);
18531 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18532 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18538 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18548 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18556 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18564 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18574 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18582 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18590 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18600 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18608 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18613 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18618 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18619 PyObject
*resultobj
;
18620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18621 wxDateTime
*arg2
= 0 ;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18626 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18628 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18629 if (arg2
== NULL
) {
18630 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 resultobj
= PyInt_FromLong((long)result
);
18646 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18647 PyObject
*resultobj
;
18648 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18649 wxDateTime
*arg2
= 0 ;
18651 PyObject
* obj0
= 0 ;
18652 PyObject
* obj1
= 0 ;
18654 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18657 if (arg2
== NULL
) {
18658 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= PyInt_FromLong((long)result
);
18674 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18675 PyObject
*resultobj
;
18676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18677 wxDateTime
*arg2
= 0 ;
18679 PyObject
* obj0
= 0 ;
18680 PyObject
* obj1
= 0 ;
18682 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18685 if (arg2
== NULL
) {
18686 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= PyInt_FromLong((long)result
);
18702 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18703 PyObject
*resultobj
;
18704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18705 wxDateTime
*arg2
= 0 ;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18710 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18712 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18713 if (arg2
== NULL
) {
18714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= PyInt_FromLong((long)result
);
18730 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18731 PyObject
*resultobj
;
18732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18733 wxDateTime
*arg2
= 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18738 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18740 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18741 if (arg2
== NULL
) {
18742 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 resultobj
= PyInt_FromLong((long)result
);
18758 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18759 PyObject
*resultobj
;
18760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18761 wxDateTime
*arg2
= 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18766 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18769 if (arg2
== NULL
) {
18770 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= PyInt_FromLong((long)result
);
18786 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18789 wxString
*arg2
= 0 ;
18791 bool temp2
= False
;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "date", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18801 arg2
= wxString_in_helper(obj1
);
18802 if (arg2
== NULL
) SWIG_fail
;
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18809 wxPyEndAllowThreads(__tstate
);
18810 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= PyInt_FromLong((long)result
);
18827 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18828 PyObject
*resultobj
;
18829 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18830 wxString
*arg2
= 0 ;
18831 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18832 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18833 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18834 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18836 bool temp2
= False
;
18837 bool temp3
= False
;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 PyObject
* obj2
= 0 ;
18841 PyObject
* obj3
= 0 ;
18842 char *kwnames
[] = {
18843 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18849 arg2
= wxString_in_helper(obj1
);
18850 if (arg2
== NULL
) SWIG_fail
;
18855 arg3
= wxString_in_helper(obj2
);
18856 if (arg3
== NULL
) SWIG_fail
;
18861 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18862 if (arg4
== NULL
) {
18863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18870 wxPyEndAllowThreads(__tstate
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= PyInt_FromLong((long)result
);
18896 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18897 PyObject
*resultobj
;
18898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18899 wxString
*arg2
= 0 ;
18901 bool temp2
= False
;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "datetime", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18911 arg2
= wxString_in_helper(obj1
);
18912 if (arg2
== NULL
) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= PyInt_FromLong((long)result
);
18937 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18940 wxString
*arg2
= 0 ;
18942 bool temp2
= False
;
18943 PyObject
* obj0
= 0 ;
18944 PyObject
* obj1
= 0 ;
18945 char *kwnames
[] = {
18946 (char *) "self",(char *) "date", NULL
18949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18952 arg2
= wxString_in_helper(obj1
);
18953 if (arg2
== NULL
) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= PyInt_FromLong((long)result
);
18978 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18981 wxString
*arg2
= 0 ;
18983 bool temp2
= False
;
18984 PyObject
* obj0
= 0 ;
18985 PyObject
* obj1
= 0 ;
18986 char *kwnames
[] = {
18987 (char *) "self",(char *) "time", NULL
18990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18993 arg2
= wxString_in_helper(obj1
);
18994 if (arg2
== NULL
) SWIG_fail
;
18998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18999 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
19001 wxPyEndAllowThreads(__tstate
);
19002 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= PyInt_FromLong((long)result
);
19019 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19020 PyObject
*resultobj
;
19021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19022 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
19023 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19024 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19025 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19027 bool temp2
= False
;
19028 bool temp3
= False
;
19029 PyObject
* obj0
= 0 ;
19030 PyObject
* obj1
= 0 ;
19031 PyObject
* obj2
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self",(char *) "format",(char *) "tz", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19040 arg2
= wxString_in_helper(obj1
);
19041 if (arg2
== NULL
) SWIG_fail
;
19047 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19070 if (temp3
) delete arg3
;
19079 if (temp3
) delete arg3
;
19085 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= ((wxDateTime
const *)arg1
)->FormatDate();
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19116 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= ((wxDateTime
const *)arg1
)->FormatTime();
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19147 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19160 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19178 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
;
19180 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19182 PyObject
* obj0
= 0 ;
19183 char *kwnames
[] = {
19184 (char *) "self", NULL
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
19188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19191 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
19193 wxPyEndAllowThreads(__tstate
);
19194 if (PyErr_Occurred()) SWIG_fail
;
19198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19209 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
19211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19212 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
19214 return Py_BuildValue((char *)"");
19216 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19220 char *kwnames
[] = {
19221 (char *) "sec", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 result
= wxTimeSpan::Seconds(arg1
);
19229 wxPyEndAllowThreads(__tstate
);
19230 if (PyErr_Occurred()) SWIG_fail
;
19233 wxTimeSpan
* resultptr
;
19234 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19235 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19243 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19246 char *kwnames
[] = {
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= wxTimeSpan::Second();
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19259 wxTimeSpan
* resultptr
;
19260 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19261 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19269 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19273 char *kwnames
[] = {
19274 (char *) "min", NULL
19277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 result
= wxTimeSpan::Minutes(arg1
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 wxTimeSpan
* resultptr
;
19287 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19288 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19296 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19299 char *kwnames
[] = {
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 result
= wxTimeSpan::Minute();
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19312 wxTimeSpan
* resultptr
;
19313 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19314 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19322 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19326 char *kwnames
[] = {
19327 (char *) "hours", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= wxTimeSpan::Hours(arg1
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 wxTimeSpan
* resultptr
;
19340 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19341 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19349 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19352 char *kwnames
[] = {
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19359 result
= wxTimeSpan::Hour();
19361 wxPyEndAllowThreads(__tstate
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19365 wxTimeSpan
* resultptr
;
19366 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19367 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19375 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19379 char *kwnames
[] = {
19380 (char *) "days", NULL
19383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 result
= wxTimeSpan::Days(arg1
);
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19392 wxTimeSpan
* resultptr
;
19393 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19394 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19402 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19405 char *kwnames
[] = {
19409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= wxTimeSpan::Day();
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19418 wxTimeSpan
* resultptr
;
19419 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19420 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19428 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19432 char *kwnames
[] = {
19433 (char *) "days", NULL
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= wxTimeSpan::Weeks(arg1
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19445 wxTimeSpan
* resultptr
;
19446 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19447 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19455 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19458 char *kwnames
[] = {
19462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 result
= wxTimeSpan::Week();
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19471 wxTimeSpan
* resultptr
;
19472 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19473 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19481 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19482 PyObject
*resultobj
;
19483 long arg1
= (long) 0 ;
19484 long arg2
= (long) 0 ;
19485 long arg3
= (long) 0 ;
19486 long arg4
= (long) 0 ;
19487 wxTimeSpan
*result
;
19488 char *kwnames
[] = {
19489 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19507 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 Py_INCREF(Py_None
); resultobj
= Py_None
;
19531 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19532 PyObject
*resultobj
;
19533 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19534 wxTimeSpan
*arg2
= 0 ;
19535 wxTimeSpan
*result
;
19536 PyObject
* obj0
= 0 ;
19537 PyObject
* obj1
= 0 ;
19538 char *kwnames
[] = {
19539 (char *) "self",(char *) "diff", NULL
19542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19545 if (arg2
== NULL
) {
19546 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19552 result
= (wxTimeSpan
*) &_result_ref
;
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19565 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19568 wxTimeSpan
*arg2
= 0 ;
19569 wxTimeSpan
*result
;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "diff", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19579 if (arg2
== NULL
) {
19580 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19586 result
= (wxTimeSpan
*) &_result_ref
;
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19599 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19603 wxTimeSpan
*result
;
19604 PyObject
* obj0
= 0 ;
19605 char *kwnames
[] = {
19606 (char *) "self",(char *) "n", NULL
19609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19615 result
= (wxTimeSpan
*) &_result_ref
;
19618 wxPyEndAllowThreads(__tstate
);
19619 if (PyErr_Occurred()) SWIG_fail
;
19621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19628 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19631 wxTimeSpan
*result
;
19632 PyObject
* obj0
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19643 result
= (wxTimeSpan
*) &_result_ref
;
19646 wxPyEndAllowThreads(__tstate
);
19647 if (PyErr_Occurred()) SWIG_fail
;
19649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19656 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19660 PyObject
* obj0
= 0 ;
19661 char *kwnames
[] = {
19662 (char *) "self", NULL
19665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19671 wxPyEndAllowThreads(__tstate
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19675 wxTimeSpan
* resultptr
;
19676 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19677 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19685 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
;
19687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19688 wxTimeSpan
*arg2
= 0 ;
19689 wxTimeSpan
*result
;
19690 PyObject
* obj0
= 0 ;
19691 PyObject
* obj1
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self",(char *) "diff", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19699 if (arg2
== NULL
) {
19700 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19705 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19706 result
= (wxTimeSpan
*) &_result_ref
;
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19719 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19722 wxTimeSpan
*arg2
= 0 ;
19723 wxTimeSpan
*result
;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self",(char *) "diff", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19732 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 if (arg2
== NULL
) {
19734 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19740 result
= (wxTimeSpan
*) &_result_ref
;
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19753 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19757 wxTimeSpan
*result
;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self",(char *) "n", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19768 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19769 result
= (wxTimeSpan
*) &_result_ref
;
19772 wxPyEndAllowThreads(__tstate
);
19773 if (PyErr_Occurred()) SWIG_fail
;
19775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19782 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19783 PyObject
*resultobj
;
19784 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19785 wxTimeSpan
*result
;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19796 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19797 result
= (wxTimeSpan
*) &_result_ref
;
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19810 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19813 wxTimeSpan
*arg2
= 0 ;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self",(char *) "other", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19824 if (arg2
== NULL
) {
19825 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19835 wxTimeSpan
* resultptr
;
19836 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19837 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19845 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19848 wxTimeSpan
*arg2
= 0 ;
19850 PyObject
* obj0
= 0 ;
19851 PyObject
* obj1
= 0 ;
19852 char *kwnames
[] = {
19853 (char *) "self",(char *) "other", NULL
19856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19858 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19859 if (arg2
== NULL
) {
19860 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19870 wxTimeSpan
* resultptr
;
19871 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19872 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19880 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19885 PyObject
* obj0
= 0 ;
19886 char *kwnames
[] = {
19887 (char *) "self",(char *) "n", NULL
19890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= wxTimeSpan___mul__(arg1
,arg2
);
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19900 wxTimeSpan
* resultptr
;
19901 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19902 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19910 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19911 PyObject
*resultobj
;
19912 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self",(char *) "n", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19930 wxTimeSpan
* resultptr
;
19931 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19932 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19940 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
;
19942 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19943 wxTimeSpan
*arg2
= 0 ;
19945 PyObject
* obj0
= 0 ;
19946 PyObject
* obj1
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self",(char *) "other", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19954 if (arg2
== NULL
) {
19955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19964 resultobj
= PyInt_FromLong((long)result
);
19971 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19974 wxTimeSpan
*arg2
= 0 ;
19976 PyObject
* obj0
= 0 ;
19977 PyObject
* obj1
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self",(char *) "other", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19985 if (arg2
== NULL
) {
19986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= PyInt_FromLong((long)result
);
20002 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20005 wxTimeSpan
*arg2
= 0 ;
20007 PyObject
* obj0
= 0 ;
20008 PyObject
* obj1
= 0 ;
20009 char *kwnames
[] = {
20010 (char *) "self",(char *) "other", NULL
20013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
20014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20016 if (arg2
== NULL
) {
20017 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20021 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
20023 wxPyEndAllowThreads(__tstate
);
20024 if (PyErr_Occurred()) SWIG_fail
;
20026 resultobj
= PyInt_FromLong((long)result
);
20033 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20035 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20036 wxTimeSpan
*arg2
= 0 ;
20038 PyObject
* obj0
= 0 ;
20039 PyObject
* obj1
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self",(char *) "other", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20047 if (arg2
== NULL
) {
20048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20052 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
20054 wxPyEndAllowThreads(__tstate
);
20055 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= PyInt_FromLong((long)result
);
20064 static PyObject
*_wrap_TimeSpan___eq__(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 *) "other", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",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___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20088 resultobj
= PyInt_FromLong((long)result
);
20095 static PyObject
*_wrap_TimeSpan___ne__(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 *) "other", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",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___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
20116 wxPyEndAllowThreads(__tstate
);
20117 if (PyErr_Occurred()) SWIG_fail
;
20119 resultobj
= PyInt_FromLong((long)result
);
20126 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20127 PyObject
*resultobj
;
20128 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20130 PyObject
* obj0
= 0 ;
20131 char *kwnames
[] = {
20132 (char *) "self", NULL
20135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
20136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20144 resultobj
= PyInt_FromLong((long)result
);
20151 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
;
20153 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20155 PyObject
* obj0
= 0 ;
20156 char *kwnames
[] = {
20157 (char *) "self", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
20161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 resultobj
= PyInt_FromLong((long)result
);
20176 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20177 PyObject
*resultobj
;
20178 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20180 PyObject
* obj0
= 0 ;
20181 char *kwnames
[] = {
20182 (char *) "self", NULL
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
20186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= PyInt_FromLong((long)result
);
20201 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20203 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20204 wxTimeSpan
*arg2
= 0 ;
20206 PyObject
* obj0
= 0 ;
20207 PyObject
* obj1
= 0 ;
20208 char *kwnames
[] = {
20209 (char *) "self",(char *) "ts", NULL
20212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20214 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20215 if (arg2
== NULL
) {
20216 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= PyInt_FromLong((long)result
);
20232 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
;
20234 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20235 wxTimeSpan
*arg2
= 0 ;
20237 PyObject
* obj0
= 0 ;
20238 PyObject
* obj1
= 0 ;
20239 char *kwnames
[] = {
20240 (char *) "self",(char *) "ts", NULL
20243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20245 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20246 if (arg2
== NULL
) {
20247 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 resultobj
= PyInt_FromLong((long)result
);
20263 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20266 wxTimeSpan
*arg2
= 0 ;
20268 PyObject
* obj0
= 0 ;
20269 PyObject
* obj1
= 0 ;
20270 char *kwnames
[] = {
20271 (char *) "self",(char *) "t", NULL
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20277 if (arg2
== NULL
) {
20278 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20282 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 resultobj
= PyInt_FromLong((long)result
);
20294 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20295 PyObject
*resultobj
;
20296 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= PyInt_FromLong((long)result
);
20319 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 resultobj
= PyInt_FromLong((long)result
);
20344 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20348 PyObject
* obj0
= 0 ;
20349 char *kwnames
[] = {
20350 (char *) "self", NULL
20353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20357 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20359 wxPyEndAllowThreads(__tstate
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 resultobj
= PyInt_FromLong((long)result
);
20369 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20370 PyObject
*resultobj
;
20371 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20373 PyObject
* obj0
= 0 ;
20374 char *kwnames
[] = {
20375 (char *) "self", NULL
20378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= PyInt_FromLong((long)result
);
20394 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20413 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20414 hi
= PyLong_FromLong( (&result
)->GetHi() );
20415 lo
= PyLong_FromLong( (&result
)->GetLo() );
20416 shifter
= PyLong_FromLong(32);
20417 shifted
= PyNumber_Lshift(hi
, shifter
);
20418 resultobj
= PyNumber_Or(shifted
, lo
);
20421 Py_DECREF(shifter
);
20422 Py_DECREF(shifted
);
20430 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20449 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20450 hi
= PyLong_FromLong( (&result
)->GetHi() );
20451 lo
= PyLong_FromLong( (&result
)->GetLo() );
20452 shifter
= PyLong_FromLong(32);
20453 shifted
= PyNumber_Lshift(hi
, shifter
);
20454 resultobj
= PyNumber_Or(shifted
, lo
);
20457 Py_DECREF(shifter
);
20458 Py_DECREF(shifted
);
20466 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20469 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20470 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20472 bool temp2
= False
;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20475 char *kwnames
[] = {
20476 (char *) "self",(char *) "format", NULL
20479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20483 arg2
= wxString_in_helper(obj1
);
20484 if (arg2
== NULL
) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20497 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20499 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20516 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20519 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20521 return Py_BuildValue((char *)"");
20523 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 int arg1
= (int) 0 ;
20526 int arg2
= (int) 0 ;
20527 int arg3
= (int) 0 ;
20528 int arg4
= (int) 0 ;
20529 wxDateSpan
*result
;
20530 char *kwnames
[] = {
20531 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20549 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20552 PyObject
* obj0
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20566 Py_INCREF(Py_None
); resultobj
= Py_None
;
20573 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20574 PyObject
*resultobj
;
20577 char *kwnames
[] = {
20578 (char *) "days", NULL
20581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= wxDateSpan::Days(arg1
);
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20590 wxDateSpan
* resultptr
;
20591 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20592 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20600 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20601 PyObject
*resultobj
;
20603 char *kwnames
[] = {
20607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= wxDateSpan::Day();
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20616 wxDateSpan
* resultptr
;
20617 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20618 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20626 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
;
20630 char *kwnames
[] = {
20631 (char *) "weeks", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 result
= wxDateSpan::Weeks(arg1
);
20639 wxPyEndAllowThreads(__tstate
);
20640 if (PyErr_Occurred()) SWIG_fail
;
20643 wxDateSpan
* resultptr
;
20644 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20645 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20653 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20656 char *kwnames
[] = {
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= wxDateSpan::Week();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 wxDateSpan
* resultptr
;
20670 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20679 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20683 char *kwnames
[] = {
20684 (char *) "mon", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20690 result
= wxDateSpan::Months(arg1
);
20692 wxPyEndAllowThreads(__tstate
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 wxDateSpan
* resultptr
;
20697 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20706 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20709 char *kwnames
[] = {
20713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20716 result
= wxDateSpan::Month();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20722 wxDateSpan
* resultptr
;
20723 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20724 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20732 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20736 char *kwnames
[] = {
20737 (char *) "years", NULL
20740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20743 result
= wxDateSpan::Years(arg1
);
20745 wxPyEndAllowThreads(__tstate
);
20746 if (PyErr_Occurred()) SWIG_fail
;
20749 wxDateSpan
* resultptr
;
20750 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20759 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20762 char *kwnames
[] = {
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= wxDateSpan::Year();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20775 wxDateSpan
* resultptr
;
20776 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20777 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20785 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20789 wxDateSpan
*result
;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "n", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20801 result
= (wxDateSpan
*) &_result_ref
;
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20814 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20818 wxDateSpan
*result
;
20819 PyObject
* obj0
= 0 ;
20820 char *kwnames
[] = {
20821 (char *) "self",(char *) "n", NULL
20824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20829 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20830 result
= (wxDateSpan
*) &_result_ref
;
20833 wxPyEndAllowThreads(__tstate
);
20834 if (PyErr_Occurred()) SWIG_fail
;
20836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20843 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20847 wxDateSpan
*result
;
20848 PyObject
* obj0
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self",(char *) "n", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20858 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20859 result
= (wxDateSpan
*) &_result_ref
;
20862 wxPyEndAllowThreads(__tstate
);
20863 if (PyErr_Occurred()) SWIG_fail
;
20865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20872 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20873 PyObject
*resultobj
;
20874 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20876 wxDateSpan
*result
;
20877 PyObject
* obj0
= 0 ;
20878 char *kwnames
[] = {
20879 (char *) "self",(char *) "n", NULL
20882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20888 result
= (wxDateSpan
*) &_result_ref
;
20891 wxPyEndAllowThreads(__tstate
);
20892 if (PyErr_Occurred()) SWIG_fail
;
20894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20901 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20902 PyObject
*resultobj
;
20903 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20905 PyObject
* obj0
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= PyInt_FromLong((long)result
);
20926 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20927 PyObject
*resultobj
;
20928 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20930 PyObject
* obj0
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20941 wxPyEndAllowThreads(__tstate
);
20942 if (PyErr_Occurred()) SWIG_fail
;
20944 resultobj
= PyInt_FromLong((long)result
);
20951 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20952 PyObject
*resultobj
;
20953 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20955 PyObject
* obj0
= 0 ;
20956 char *kwnames
[] = {
20957 (char *) "self", NULL
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20964 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= PyInt_FromLong((long)result
);
20976 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20977 PyObject
*resultobj
;
20978 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20980 PyObject
* obj0
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20989 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20994 resultobj
= PyInt_FromLong((long)result
);
21001 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21002 PyObject
*resultobj
;
21003 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21005 PyObject
* obj0
= 0 ;
21006 char *kwnames
[] = {
21007 (char *) "self", NULL
21010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
21011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 resultobj
= PyInt_FromLong((long)result
);
21026 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21029 wxDateSpan
*arg2
= 0 ;
21030 wxDateSpan
*result
;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "other", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21039 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21040 if (arg2
== NULL
) {
21041 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21047 result
= (wxDateSpan
*) &_result_ref
;
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21060 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21063 wxDateSpan
*arg2
= 0 ;
21064 wxDateSpan
*result
;
21065 PyObject
* obj0
= 0 ;
21066 PyObject
* obj1
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self",(char *) "other", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21073 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21074 if (arg2
== NULL
) {
21075 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
21081 result
= (wxDateSpan
*) &_result_ref
;
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21094 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21097 wxDateSpan
*result
;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 wxDateSpan
&_result_ref
= (arg1
)->Neg();
21109 result
= (wxDateSpan
*) &_result_ref
;
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21122 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21126 wxDateSpan
*result
;
21127 PyObject
* obj0
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "factor", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21138 result
= (wxDateSpan
*) &_result_ref
;
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21151 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21154 wxDateSpan
*arg2
= 0 ;
21155 wxDateSpan
*result
;
21156 PyObject
* obj0
= 0 ;
21157 PyObject
* obj1
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self",(char *) "other", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21164 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21165 if (arg2
== NULL
) {
21166 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21171 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
21172 result
= (wxDateSpan
*) &_result_ref
;
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21185 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21188 wxDateSpan
*arg2
= 0 ;
21189 wxDateSpan
*result
;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self",(char *) "other", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21199 if (arg2
== NULL
) {
21200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
21206 result
= (wxDateSpan
*) &_result_ref
;
21209 wxPyEndAllowThreads(__tstate
);
21210 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21219 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21221 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21222 wxDateSpan
*result
;
21223 PyObject
* obj0
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 wxDateSpan
&_result_ref
= (arg1
)->operator -();
21234 result
= (wxDateSpan
*) &_result_ref
;
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21247 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21251 wxDateSpan
*result
;
21252 PyObject
* obj0
= 0 ;
21253 char *kwnames
[] = {
21254 (char *) "self",(char *) "factor", NULL
21257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21262 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21263 result
= (wxDateSpan
*) &_result_ref
;
21266 wxPyEndAllowThreads(__tstate
);
21267 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21276 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21277 PyObject
*resultobj
;
21278 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21279 wxDateSpan
*arg2
= 0 ;
21281 PyObject
* obj0
= 0 ;
21282 PyObject
* obj1
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self",(char *) "other", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21290 if (arg2
== NULL
) {
21291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 wxDateSpan
* resultptr
;
21302 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21303 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21311 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21314 wxDateSpan
*arg2
= 0 ;
21316 PyObject
* obj0
= 0 ;
21317 PyObject
* obj1
= 0 ;
21318 char *kwnames
[] = {
21319 (char *) "self",(char *) "other", NULL
21322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21324 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 if (arg2
== NULL
) {
21326 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21330 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21332 wxPyEndAllowThreads(__tstate
);
21333 if (PyErr_Occurred()) SWIG_fail
;
21336 wxDateSpan
* resultptr
;
21337 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21346 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21347 PyObject
*resultobj
;
21348 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21351 PyObject
* obj0
= 0 ;
21352 char *kwnames
[] = {
21353 (char *) "self",(char *) "n", NULL
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 result
= wxDateSpan___mul__(arg1
,arg2
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21366 wxDateSpan
* resultptr
;
21367 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21368 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21376 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
;
21378 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self",(char *) "n", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= wxDateSpan___rmul__(arg1
,arg2
);
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 wxDateSpan
* resultptr
;
21397 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21398 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21406 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21408 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21409 wxDateSpan
*arg2
= 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "other", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21420 if (arg2
== NULL
) {
21421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21425 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21427 wxPyEndAllowThreads(__tstate
);
21428 if (PyErr_Occurred()) SWIG_fail
;
21430 resultobj
= PyInt_FromLong((long)result
);
21437 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21440 wxDateSpan
*arg2
= 0 ;
21442 PyObject
* obj0
= 0 ;
21443 PyObject
* obj1
= 0 ;
21444 char *kwnames
[] = {
21445 (char *) "self",(char *) "other", NULL
21448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21451 if (arg2
== NULL
) {
21452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= PyInt_FromLong((long)result
);
21468 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21471 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21473 return Py_BuildValue((char *)"");
21475 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21478 char *kwnames
[] = {
21482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (long)wxGetLocalTime();
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= PyInt_FromLong((long)result
);
21497 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21500 char *kwnames
[] = {
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21507 result
= (long)wxGetUTCTime();
21509 wxPyEndAllowThreads(__tstate
);
21510 if (PyErr_Occurred()) SWIG_fail
;
21512 resultobj
= PyInt_FromLong((long)result
);
21519 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21520 PyObject
*resultobj
;
21522 char *kwnames
[] = {
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (long)wxGetCurrentTime();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= PyInt_FromLong((long)result
);
21541 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21544 char *kwnames
[] = {
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= wxGetLocalTimeMillis();
21553 wxPyEndAllowThreads(__tstate
);
21554 if (PyErr_Occurred()) SWIG_fail
;
21557 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21558 hi
= PyLong_FromLong( (&result
)->GetHi() );
21559 lo
= PyLong_FromLong( (&result
)->GetLo() );
21560 shifter
= PyLong_FromLong(32);
21561 shifted
= PyNumber_Lshift(hi
, shifter
);
21562 resultobj
= PyNumber_Or(shifted
, lo
);
21565 Py_DECREF(shifter
);
21566 Py_DECREF(shifted
);
21574 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21575 PyObject
*resultobj
;
21577 wxDataFormat
*result
;
21578 char *kwnames
[] = {
21579 (char *) "type", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21597 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxString
*arg1
= 0 ;
21600 wxDataFormat
*result
;
21601 bool temp1
= False
;
21602 PyObject
* obj0
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "format", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21609 arg1
= wxString_in_helper(obj0
);
21610 if (arg1
== NULL
) SWIG_fail
;
21614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21615 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21617 wxPyEndAllowThreads(__tstate
);
21618 if (PyErr_Occurred()) SWIG_fail
;
21620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21635 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21636 PyObject
*resultobj
;
21637 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21638 PyObject
* obj0
= 0 ;
21639 char *kwnames
[] = {
21640 (char *) "self", NULL
21643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 Py_INCREF(Py_None
); resultobj
= Py_None
;
21659 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21660 PyObject
*resultobj
;
21661 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21664 PyObject
* obj0
= 0 ;
21666 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= PyInt_FromLong((long)result
);
21682 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21683 PyObject
*resultobj
;
21684 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21687 PyObject
* obj0
= 0 ;
21689 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21698 resultobj
= PyInt_FromLong((long)result
);
21705 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21706 PyObject
*resultobj
;
21707 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21708 wxDataFormat
*arg2
= 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21713 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21716 if (arg2
== NULL
) {
21717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= PyInt_FromLong((long)result
);
21733 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21738 argc
= PyObject_Length(args
);
21739 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21740 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21746 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21756 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21764 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21772 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21781 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21784 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21789 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21794 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21795 PyObject
*resultobj
;
21796 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21797 wxDataFormat
*arg2
= 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21802 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21805 if (arg2
== NULL
) {
21806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= PyInt_FromLong((long)result
);
21822 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21827 argc
= PyObject_Length(args
);
21828 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21829 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21835 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21845 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21853 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21861 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21870 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21873 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21878 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21883 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21887 PyObject
* obj0
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "format", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21896 (arg1
)->SetType((wxDataFormatId
)arg2
);
21898 wxPyEndAllowThreads(__tstate
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21901 Py_INCREF(Py_None
); resultobj
= Py_None
;
21908 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21909 PyObject
*resultobj
;
21910 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21912 PyObject
* obj0
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= PyInt_FromLong((long)result
);
21933 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21937 PyObject
* obj0
= 0 ;
21938 char *kwnames
[] = {
21939 (char *) "self", NULL
21942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 result
= ((wxDataFormat
const *)arg1
)->GetId();
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21953 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21955 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21964 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21967 wxString
*arg2
= 0 ;
21968 bool temp2
= False
;
21969 PyObject
* obj0
= 0 ;
21970 PyObject
* obj1
= 0 ;
21971 char *kwnames
[] = {
21972 (char *) "self",(char *) "format", NULL
21975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21978 arg2
= wxString_in_helper(obj1
);
21979 if (arg2
== NULL
) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21984 (arg1
)->SetId((wxString
const &)*arg2
);
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 Py_INCREF(Py_None
); resultobj
= Py_None
;
22004 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
22006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22007 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
22009 return Py_BuildValue((char *)"");
22011 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
22012 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
22017 static PyObject
*_wrap_FormatInvalid_get() {
22020 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
22025 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 wxPyEndAllowThreads(__tstate
);
22040 if (PyErr_Occurred()) SWIG_fail
;
22042 Py_INCREF(Py_None
); resultobj
= Py_None
;
22049 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22052 int arg2
= (int) wxDataObject::Get
;
22053 SwigValueWrapper
< wxDataFormat
> result
;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self",(char *) "dir", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 wxDataFormat
* resultptr
;
22070 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
22071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
22079 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22082 int arg2
= (int) wxDataObject::Get
;
22084 PyObject
* obj0
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self",(char *) "dir", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= PyInt_FromLong((long)result
);
22105 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22108 wxDataFormat
*arg2
= 0 ;
22109 int arg3
= (int) wxDataObject::Get
;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "format",(char *) "dir", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22120 if (arg2
== NULL
) {
22121 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= PyInt_FromLong((long)result
);
22137 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22140 wxDataFormat
*arg2
= 0 ;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "format", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22150 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22151 if (arg2
== NULL
) {
22152 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22161 resultobj
= PyInt_FromLong((long)result
);
22168 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22169 PyObject
*resultobj
;
22170 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22171 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
22172 int arg3
= (int) wxDataObject::Get
;
22173 PyObject
* obj0
= 0 ;
22174 PyObject
* obj1
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self",(char *) "formats",(char *) "dir", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22189 Py_INCREF(Py_None
); resultobj
= Py_None
;
22196 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22197 PyObject
*resultobj
;
22198 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22199 wxDataFormat
*arg2
= 0 ;
22200 void *arg3
= (void *) 0 ;
22202 PyObject
* obj0
= 0 ;
22203 PyObject
* obj1
= 0 ;
22204 PyObject
* obj2
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "format",(char *) "buf", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22212 if (arg2
== NULL
) {
22213 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22215 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= PyInt_FromLong((long)result
);
22230 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22233 wxDataFormat
*arg2
= 0 ;
22235 void *arg4
= (void *) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 PyObject
* obj3
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22248 if (arg2
== NULL
) {
22249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22251 arg3
= (size_t) PyInt_AsLong(obj2
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22253 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= PyInt_FromLong((long)result
);
22268 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22271 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22273 return Py_BuildValue((char *)"");
22275 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22278 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22279 wxDataObjectSimple
*result
;
22280 PyObject
* obj0
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "format", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22288 if (arg1
== NULL
) {
22289 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22306 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22309 wxDataFormat
*result
;
22310 PyObject
* obj0
= 0 ;
22311 char *kwnames
[] = {
22312 (char *) "self", NULL
22315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22321 result
= (wxDataFormat
*) &_result_ref
;
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22334 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22337 wxDataFormat
*arg2
= 0 ;
22338 PyObject
* obj0
= 0 ;
22339 PyObject
* obj1
= 0 ;
22340 char *kwnames
[] = {
22341 (char *) "self",(char *) "format", NULL
22344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22347 if (arg2
== NULL
) {
22348 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 Py_INCREF(Py_None
); resultobj
= Py_None
;
22364 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22367 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22369 return Py_BuildValue((char *)"");
22371 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22374 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22375 wxPyDataObjectSimple
*result
;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "format", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22384 if (arg1
== NULL
) {
22385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22402 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22405 PyObject
*arg2
= (PyObject
*) 0 ;
22406 PyObject
*arg3
= (PyObject
*) 0 ;
22407 PyObject
* obj0
= 0 ;
22408 PyObject
* obj1
= 0 ;
22409 PyObject
* obj2
= 0 ;
22410 char *kwnames
[] = {
22411 (char *) "self",(char *) "self",(char *) "_class", NULL
22414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 Py_INCREF(Py_None
); resultobj
= Py_None
;
22432 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22435 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22437 return Py_BuildValue((char *)"");
22439 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxDataObjectComposite
*result
;
22442 char *kwnames
[] = {
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22461 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22464 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22465 int arg3
= (int) False
;
22466 PyObject
* obj0
= 0 ;
22467 PyObject
* obj1
= 0 ;
22468 char *kwnames
[] = {
22469 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22477 (arg1
)->Add(arg2
,arg3
);
22479 wxPyEndAllowThreads(__tstate
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22482 Py_INCREF(Py_None
); resultobj
= Py_None
;
22489 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22492 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22494 return Py_BuildValue((char *)"");
22496 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22499 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22500 wxTextDataObject
*result
;
22501 bool temp1
= False
;
22502 PyObject
* obj0
= 0 ;
22503 char *kwnames
[] = {
22504 (char *) "text", NULL
22507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22510 arg1
= wxString_in_helper(obj0
);
22511 if (arg1
== NULL
) SWIG_fail
;
22516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22517 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22519 wxPyEndAllowThreads(__tstate
);
22520 if (PyErr_Occurred()) SWIG_fail
;
22522 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22537 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= (size_t)(arg1
)->GetTextLength();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 resultobj
= PyInt_FromLong((long)result
);
22562 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22563 PyObject
*resultobj
;
22564 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22566 PyObject
* obj0
= 0 ;
22567 char *kwnames
[] = {
22568 (char *) "self", NULL
22571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (arg1
)->GetText();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22593 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22594 PyObject
*resultobj
;
22595 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22596 wxString
*arg2
= 0 ;
22597 bool temp2
= False
;
22598 PyObject
* obj0
= 0 ;
22599 PyObject
* obj1
= 0 ;
22600 char *kwnames
[] = {
22601 (char *) "self",(char *) "text", NULL
22604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22607 arg2
= wxString_in_helper(obj1
);
22608 if (arg2
== NULL
) SWIG_fail
;
22612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22613 (arg1
)->SetText((wxString
const &)*arg2
);
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 Py_INCREF(Py_None
); resultobj
= Py_None
;
22633 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22636 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22638 return Py_BuildValue((char *)"");
22640 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22643 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22644 wxPyTextDataObject
*result
;
22645 bool temp1
= False
;
22646 PyObject
* obj0
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "text", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22654 arg1
= wxString_in_helper(obj0
);
22655 if (arg1
== NULL
) SWIG_fail
;
22660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22661 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22663 wxPyEndAllowThreads(__tstate
);
22664 if (PyErr_Occurred()) SWIG_fail
;
22666 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22681 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22682 PyObject
*resultobj
;
22683 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22684 PyObject
*arg2
= (PyObject
*) 0 ;
22685 PyObject
*arg3
= (PyObject
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 PyObject
* obj1
= 0 ;
22688 PyObject
* obj2
= 0 ;
22689 char *kwnames
[] = {
22690 (char *) "self",(char *) "self",(char *) "_class", NULL
22693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22714 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22716 return Py_BuildValue((char *)"");
22718 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22721 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22722 wxBitmapDataObject
*result
;
22723 PyObject
* obj0
= 0 ;
22724 char *kwnames
[] = {
22725 (char *) "bitmap", NULL
22728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22731 if (arg1
== NULL
) {
22732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22749 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22768 wxBitmap
* resultptr
;
22769 resultptr
= new wxBitmap((wxBitmap
&) result
);
22770 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22778 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22779 PyObject
*resultobj
;
22780 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22781 wxBitmap
*arg2
= 0 ;
22782 PyObject
* obj0
= 0 ;
22783 PyObject
* obj1
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self",(char *) "bitmap", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22791 if (arg2
== NULL
) {
22792 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22796 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22798 wxPyEndAllowThreads(__tstate
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22801 Py_INCREF(Py_None
); resultobj
= Py_None
;
22808 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22811 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22813 return Py_BuildValue((char *)"");
22815 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22818 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22819 wxPyBitmapDataObject
*result
;
22820 PyObject
* obj0
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "bitmap", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22828 if (arg1
== NULL
) {
22829 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22834 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22836 wxPyEndAllowThreads(__tstate
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22846 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22848 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22849 PyObject
*arg2
= (PyObject
*) 0 ;
22850 PyObject
*arg3
= (PyObject
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 PyObject
* obj1
= 0 ;
22853 PyObject
* obj2
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self",(char *) "self",(char *) "_class", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22866 wxPyEndAllowThreads(__tstate
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 Py_INCREF(Py_None
); resultobj
= Py_None
;
22876 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22879 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22881 return Py_BuildValue((char *)"");
22883 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxFileDataObject
*result
;
22886 char *kwnames
[] = {
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22893 result
= (wxFileDataObject
*)new wxFileDataObject();
22895 wxPyEndAllowThreads(__tstate
);
22896 if (PyErr_Occurred()) SWIG_fail
;
22898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22905 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22906 PyObject
*resultobj
;
22907 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22908 wxArrayString
*result
;
22909 PyObject
* obj0
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22919 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22920 result
= (wxArrayString
*) &_result_ref
;
22923 wxPyEndAllowThreads(__tstate
);
22924 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= wxArrayString2PyList_helper(*result
);
22935 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22938 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22940 return Py_BuildValue((char *)"");
22942 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22945 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22946 wxCustomDataObject
*result
;
22947 PyObject
* obj0
= 0 ;
22948 char *kwnames
[] = {
22949 (char *) "format", NULL
22952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22955 if (arg1
== NULL
) {
22956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22961 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22973 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22975 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22976 PyObject
*arg2
= (PyObject
*) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 PyObject
* obj1
= 0 ;
22979 char *kwnames
[] = {
22980 (char *) "self",(char *) "data", NULL
22983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxCustomDataObject_TakeData(arg1
,arg2
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 Py_INCREF(Py_None
); resultobj
= Py_None
;
23000 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
;
23002 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23003 PyObject
*arg2
= (PyObject
*) 0 ;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 char *kwnames
[] = {
23008 (char *) "self",(char *) "data", NULL
23011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= PyInt_FromLong((long)result
);
23028 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23032 PyObject
* obj0
= 0 ;
23033 char *kwnames
[] = {
23034 (char *) "self", NULL
23037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
23038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (size_t)(arg1
)->GetSize();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= PyInt_FromLong((long)result
);
23053 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= result
;
23078 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23081 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
23083 return Py_BuildValue((char *)"");
23085 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxURLDataObject
*result
;
23088 char *kwnames
[] = {
23092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= (wxURLDataObject
*)new wxURLDataObject();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23100 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
23107 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23108 PyObject
*resultobj
;
23109 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23111 PyObject
* obj0
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23120 result
= (arg1
)->GetURL();
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23138 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23141 wxString
*arg2
= 0 ;
23142 bool temp2
= False
;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "url", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 arg2
= wxString_in_helper(obj1
);
23153 if (arg2
== NULL
) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 (arg1
)->SetURL((wxString
const &)*arg2
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23178 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23181 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
23183 return Py_BuildValue((char *)"");
23185 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxMetafileDataObject
*result
;
23188 char *kwnames
[] = {
23192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
23194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23195 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
23197 wxPyEndAllowThreads(__tstate
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23200 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
23207 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
23210 wxMetafile
*arg2
= 0 ;
23211 PyObject
* obj0
= 0 ;
23212 PyObject
* obj1
= 0 ;
23213 char *kwnames
[] = {
23214 (char *) "self",(char *) "metafile", NULL
23217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
23218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23220 if (arg2
== NULL
) {
23221 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 Py_INCREF(Py_None
); resultobj
= Py_None
;
23237 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
23241 PyObject
* obj0
= 0 ;
23242 char *kwnames
[] = {
23243 (char *) "self", NULL
23246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23256 wxMetafile
* resultptr
;
23257 resultptr
= new wxMetafile((wxMetafile
&) result
);
23258 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
23266 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23269 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
23271 return Py_BuildValue((char *)"");
23273 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23277 char *kwnames
[] = {
23278 (char *) "res", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= PyInt_FromLong((long)result
);
23296 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxWindow
*arg1
= (wxWindow
*) 0 ;
23299 wxCursor
const &arg2_defvalue
= wxNullCursor
;
23300 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
23301 wxCursor
const &arg3_defvalue
= wxNullCursor
;
23302 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
23303 wxCursor
const &arg4_defvalue
= wxNullCursor
;
23304 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
23305 wxPyDropSource
*result
;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 PyObject
* obj2
= 0 ;
23309 PyObject
* obj3
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23317 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23318 if (arg2
== NULL
) {
23319 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23323 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23324 if (arg3
== NULL
) {
23325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23329 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23330 if (arg4
== NULL
) {
23331 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23336 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
23338 wxPyEndAllowThreads(__tstate
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23348 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23349 PyObject
*resultobj
;
23350 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23351 PyObject
*arg2
= (PyObject
*) 0 ;
23352 PyObject
*arg3
= (PyObject
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 PyObject
* obj2
= 0 ;
23357 char *kwnames
[] = {
23358 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 Py_INCREF(Py_None
); resultobj
= Py_None
;
23379 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 Py_INCREF(Py_None
); resultobj
= Py_None
;
23403 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23406 wxDataObject
*arg2
= 0 ;
23407 PyObject
* obj0
= 0 ;
23408 PyObject
* obj1
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "data", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23416 if (arg2
== NULL
) {
23417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetData(*arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23436 wxDataObject
*result
;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23458 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23459 PyObject
*resultobj
;
23460 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23462 wxCursor
*arg3
= 0 ;
23463 PyObject
* obj0
= 0 ;
23464 PyObject
* obj2
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self",(char *) "res",(char *) "cursor", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23471 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23472 if (arg3
== NULL
) {
23473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 Py_INCREF(Py_None
); resultobj
= Py_None
;
23489 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23492 int arg2
= (int) wxDrag_CopyOnly
;
23494 PyObject
* obj0
= 0 ;
23495 char *kwnames
[] = {
23496 (char *) "self",(char *) "flags", NULL
23499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= (int)(arg1
)->DoDragDrop(arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 resultobj
= PyInt_FromLong((long)result
);
23515 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23516 PyObject
*resultobj
;
23517 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23520 PyObject
* obj0
= 0 ;
23521 char *kwnames
[] = {
23522 (char *) "self",(char *) "effect", NULL
23525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23531 wxPyEndAllowThreads(__tstate
);
23532 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= PyInt_FromLong((long)result
);
23541 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23544 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23546 return Py_BuildValue((char *)"");
23548 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23549 PyObject
*resultobj
;
23550 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23551 wxPyDropTarget
*result
;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "dataObject", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23563 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23565 wxPyEndAllowThreads(__tstate
);
23566 if (PyErr_Occurred()) SWIG_fail
;
23568 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23575 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23576 PyObject
*resultobj
;
23577 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23578 PyObject
*arg2
= (PyObject
*) 0 ;
23579 PyObject
*arg3
= (PyObject
*) 0 ;
23580 PyObject
* obj0
= 0 ;
23581 PyObject
* obj1
= 0 ;
23582 PyObject
* obj2
= 0 ;
23583 char *kwnames
[] = {
23584 (char *) "self",(char *) "self",(char *) "_class", NULL
23587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 Py_INCREF(Py_None
); resultobj
= Py_None
;
23605 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 Py_INCREF(Py_None
); resultobj
= Py_None
;
23629 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23632 wxDataObject
*result
;
23633 PyObject
* obj0
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23642 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23644 wxPyEndAllowThreads(__tstate
);
23645 if (PyErr_Occurred()) SWIG_fail
;
23647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23654 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23655 PyObject
*resultobj
;
23656 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23657 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "dataObject", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23666 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 (arg1
)->SetDataObject(arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 Py_INCREF(Py_None
); resultobj
= Py_None
;
23681 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23688 PyObject
* obj0
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= PyInt_FromLong((long)result
);
23709 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23716 PyObject
* obj0
= 0 ;
23717 char *kwnames
[] = {
23718 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= PyInt_FromLong((long)result
);
23737 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 char *kwnames
[] = {
23742 (char *) "self", NULL
23745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23749 (arg1
)->base_OnLeave();
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 Py_INCREF(Py_None
); resultobj
= Py_None
;
23761 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23762 PyObject
*resultobj
;
23763 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23767 PyObject
* obj0
= 0 ;
23768 char *kwnames
[] = {
23769 (char *) "self",(char *) "x",(char *) "y", NULL
23772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23778 wxPyEndAllowThreads(__tstate
);
23779 if (PyErr_Occurred()) SWIG_fail
;
23781 resultobj
= PyInt_FromLong((long)result
);
23788 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "self", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 result
= (bool)(arg1
)->GetData();
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= PyInt_FromLong((long)result
);
23813 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23816 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23818 return Py_BuildValue((char *)"");
23820 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxPyTextDropTarget
*result
;
23823 char *kwnames
[] = {
23827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23842 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,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_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,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_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,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_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23929 PyObject
*resultobj
;
23930 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23931 PyObject
* obj0
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,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_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23958 PyObject
* obj0
= 0 ;
23959 char *kwnames
[] = {
23960 (char *) "self",(char *) "x",(char *) "y", NULL
23963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,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_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,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
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24010 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
24012 return Py_BuildValue((char *)"");
24014 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxPyFileDropTarget
*result
;
24017 char *kwnames
[] = {
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
24036 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24039 PyObject
*arg2
= (PyObject
*) 0 ;
24040 PyObject
*arg3
= (PyObject
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 PyObject
* obj2
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "self",(char *) "_class", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 Py_INCREF(Py_None
); resultobj
= Py_None
;
24066 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 char *kwnames
[] = {
24075 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= PyInt_FromLong((long)result
);
24094 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24115 resultobj
= PyInt_FromLong((long)result
);
24122 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24123 PyObject
*resultobj
;
24124 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
24131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24134 (arg1
)->base_OnLeave();
24136 wxPyEndAllowThreads(__tstate
);
24137 if (PyErr_Occurred()) SWIG_fail
;
24139 Py_INCREF(Py_None
); resultobj
= Py_None
;
24146 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24147 PyObject
*resultobj
;
24148 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24152 PyObject
* obj0
= 0 ;
24153 char *kwnames
[] = {
24154 (char *) "self",(char *) "x",(char *) "y", NULL
24157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= PyInt_FromLong((long)result
);
24173 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= PyInt_FromLong((long)result
);
24201 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24204 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
24206 return Py_BuildValue((char *)"");
24208 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24209 PyObject
*resultobj
;
24210 wxClipboard
*result
;
24211 char *kwnames
[] = {
24215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 result
= (wxClipboard
*)new wxClipboard();
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
24230 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24232 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24233 PyObject
* obj0
= 0 ;
24234 char *kwnames
[] = {
24235 (char *) "self", NULL
24238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
24239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 Py_INCREF(Py_None
); resultobj
= Py_None
;
24254 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24258 PyObject
* obj0
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (bool)(arg1
)->Open();
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24272 resultobj
= PyInt_FromLong((long)result
);
24279 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24280 PyObject
*resultobj
;
24281 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24307 PyObject
* obj0
= 0 ;
24308 char *kwnames
[] = {
24309 (char *) "self", NULL
24312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= PyInt_FromLong((long)result
);
24328 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24331 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24333 PyObject
* obj0
= 0 ;
24334 PyObject
* obj1
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "data", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24341 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (bool)(arg1
)->AddData(arg2
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= PyInt_FromLong((long)result
);
24356 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24359 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "data", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (bool)(arg1
)->SetData(arg2
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= PyInt_FromLong((long)result
);
24384 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24387 wxDataFormat
*arg2
= 0 ;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "format", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24397 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24398 if (arg2
== NULL
) {
24399 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= PyInt_FromLong((long)result
);
24415 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24418 wxDataObject
*arg2
= 0 ;
24420 PyObject
* obj0
= 0 ;
24421 PyObject
* obj1
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self",(char *) "data", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24428 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24429 if (arg2
== NULL
) {
24430 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 result
= (bool)(arg1
)->GetData(*arg2
);
24436 wxPyEndAllowThreads(__tstate
);
24437 if (PyErr_Occurred()) SWIG_fail
;
24439 resultobj
= PyInt_FromLong((long)result
);
24446 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24447 PyObject
*resultobj
;
24448 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24449 PyObject
* obj0
= 0 ;
24450 char *kwnames
[] = {
24451 (char *) "self", NULL
24454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 Py_INCREF(Py_None
); resultobj
= Py_None
;
24470 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24474 PyObject
* obj0
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (bool)(arg1
)->Flush();
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 resultobj
= PyInt_FromLong((long)result
);
24495 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24498 bool arg2
= (bool) False
;
24499 PyObject
* obj0
= 0 ;
24500 PyObject
* obj1
= 0 ;
24501 char *kwnames
[] = {
24502 (char *) "self",(char *) "primary", NULL
24505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24508 arg2
= PyInt_AsLong(obj1
) ? true : false;
24509 if (PyErr_Occurred()) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 (arg1
)->UsePrimarySelection(arg2
);
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 Py_INCREF(Py_None
); resultobj
= Py_None
;
24525 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24528 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24530 return Py_BuildValue((char *)"");
24532 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24533 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24538 static PyObject
*_wrap_TheClipboard_get() {
24541 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24546 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24549 wxClipboardLocker
*result
;
24550 PyObject
* obj0
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "clipboard", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24573 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24576 PyObject
* obj0
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "self", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 Py_INCREF(Py_None
); resultobj
= Py_None
;
24597 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24601 PyObject
* obj0
= 0 ;
24602 char *kwnames
[] = {
24603 (char *) "self", NULL
24606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 resultobj
= PyInt_FromLong((long)result
);
24622 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24624 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24625 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24627 return Py_BuildValue((char *)"");
24629 static PyMethodDef SwigMethods
[] = {
24630 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24637 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24644 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24704 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24712 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24728 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24733 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24736 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24739 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24745 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24759 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24765 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24771 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24774 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24787 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24790 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24791 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24794 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24821 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24823 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24825 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24827 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24834 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24840 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
24853 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24858 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24861 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24878 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24886 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24932 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24960 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24966 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24982 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24998 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
25012 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
25021 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
25064 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
25068 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
25071 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
25074 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
25166 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
25167 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
25168 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
25169 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
25170 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
25171 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
25172 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
25173 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
25174 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
25175 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
25186 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
25231 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
25265 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
25273 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
25274 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
25279 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
25288 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
25292 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
25295 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
25298 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25303 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25306 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25310 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25313 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25316 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25317 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25320 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25322 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25326 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25330 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25334 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25340 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25344 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25351 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25355 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25359 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25363 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25367 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25371 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25380 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25388 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25390 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25391 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25393 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25394 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25396 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25397 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25399 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25400 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25402 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25403 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25405 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25406 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25408 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25409 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25411 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25412 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25414 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25415 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25417 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25418 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25420 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25423 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25424 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25426 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25427 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25429 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25430 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25432 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25433 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25435 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25436 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25438 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25439 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25441 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25442 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25444 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25445 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25447 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25448 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25450 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25451 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25453 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25454 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25456 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25457 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25459 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25460 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25462 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25463 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25465 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25466 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25468 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25469 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25471 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25472 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25474 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25475 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25477 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25480 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25481 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25483 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25484 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25486 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25487 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25489 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25492 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25493 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25495 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25496 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25498 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25499 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25501 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25502 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25504 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25505 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25507 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25508 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25510 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25511 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25513 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25514 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25516 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25517 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25519 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25520 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25522 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25523 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25525 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25526 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25528 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25529 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25531 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25532 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25534 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25535 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25537 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25538 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25540 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25541 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25543 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25544 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25546 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25547 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25549 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25550 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25552 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25553 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25555 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25556 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25558 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25559 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25561 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25562 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25564 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25565 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25567 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25568 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25570 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25571 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25573 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25574 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25576 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25577 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25579 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25580 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25582 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25585 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25586 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25588 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25589 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25591 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25592 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25594 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25595 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25597 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25598 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25600 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25601 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25603 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25604 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25606 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25607 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25609 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25612 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25615 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25618 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25621 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25624 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25627 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25630 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) ((wxSizer
*) x
));
25633 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25634 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25636 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25637 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25639 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25642 static void *_p_wxEventTo_p_wxObject(void *x
) {
25643 return (void *)((wxObject
*) ((wxEvent
*) x
));
25645 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25646 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25648 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25649 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25651 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25652 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25654 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25655 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25657 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25658 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25660 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25661 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25663 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25664 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25666 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25667 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25669 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25670 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25672 static void *_p_wxControlTo_p_wxObject(void *x
) {
25673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25675 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25676 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25678 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25679 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25681 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25682 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25684 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25685 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25687 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25688 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25690 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25691 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25693 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25694 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25696 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25697 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25699 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25700 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25702 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25703 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25705 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25706 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25708 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25711 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25712 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25714 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25715 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25717 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25718 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25720 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25721 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25723 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25724 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25726 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25727 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25729 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25730 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25732 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25733 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25735 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25736 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25738 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25739 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25741 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25742 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25744 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25745 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25747 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25748 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25750 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25751 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25753 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25754 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25756 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25757 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25759 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25760 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25762 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25763 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25765 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25766 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25768 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25769 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25771 static void *_p_wxImageTo_p_wxObject(void *x
) {
25772 return (void *)((wxObject
*) ((wxImage
*) x
));
25774 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25775 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25777 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25778 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25780 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25781 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25783 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25784 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25786 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25787 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25789 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25790 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25792 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25793 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25795 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25796 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25798 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25799 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25801 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25802 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25804 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25805 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25807 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25808 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25810 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25811 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25813 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25814 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25816 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25817 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25819 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25820 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25822 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25823 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25825 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25826 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25828 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25831 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25832 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25834 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25835 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25837 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25838 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25840 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25843 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25844 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25846 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25847 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25849 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25852 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25853 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25855 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25858 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25859 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25861 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25862 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25864 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25865 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25867 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25868 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25870 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25871 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25873 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25874 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25876 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25877 return (void *)((wxWindow
*) ((wxControl
*) x
));
25879 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25880 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25882 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25883 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25885 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25886 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25888 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25889 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25891 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25892 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25893 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25894 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25895 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}};
25896 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25897 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25898 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}};
25899 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}};
25900 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25901 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25902 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25903 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25904 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25905 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25906 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25907 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25908 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25909 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25910 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25911 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25912 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25913 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25914 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25915 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25916 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25917 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25918 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25919 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25920 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25921 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25922 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25923 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}};
25924 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25925 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25926 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25927 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25928 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25929 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25930 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25931 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25932 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25933 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25934 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25935 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25936 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25937 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}};
25938 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}};
25939 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25940 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25941 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25942 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25943 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25944 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25945 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25946 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25947 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25948 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25949 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25950 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25951 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25952 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25953 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}};
25954 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25955 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25956 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25957 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}};
25958 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25959 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25960 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25961 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25962 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25963 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25964 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}};
25965 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25966 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25967 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25968 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25969 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25970 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25971 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25972 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25973 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25975 static swig_type_info
*swig_types_initial
[] = {
25976 _swigt__p_wxLogChain
,
25977 _swigt__p_wxMutexGuiLocker
,
25978 _swigt__p_wxMetafile
,
25979 _swigt__p_wxFileHistory
,
25981 _swigt__p_wxDateTime__TimeZone
,
25984 _swigt__p_wxConfigBase
,
25986 _swigt__p_wxFileType
,
25987 _swigt__p_wxLogGui
,
25989 _swigt__p_wxDataFormat
,
25990 _swigt__p_wxTimerEvent
,
25994 _swigt__p_wxClipboard
,
25995 _swigt__p_wxStopWatch
,
25997 _swigt__p_wxClipboardLocker
,
25999 _swigt__p_wxLogStderr
,
26000 _swigt__p_wxLogTextCtrl
,
26001 _swigt__p_wxTextCtrl
,
26002 _swigt__p_wxBusyCursor
,
26003 _swigt__p_wxFileDataObject
,
26004 _swigt__p_wxPyBitmapDataObject
,
26005 _swigt__p_wxPyTextDataObject
,
26006 _swigt__p_wxBitmapDataObject
,
26007 _swigt__p_wxTextDataObject
,
26008 _swigt__p_wxDataObject
,
26009 _swigt__p_wxCustomDataObject
,
26010 _swigt__p_wxURLDataObject
,
26011 _swigt__p_wxMetafileDataObject
,
26012 _swigt__p_wxTimerRunner
,
26013 _swigt__p_wxLogWindow
,
26014 _swigt__p_wxTimeSpan
,
26015 _swigt__p_wxArrayString
,
26016 _swigt__p_wxWindowDisabler
,
26017 _swigt__p_wxToolTip
,
26018 _swigt__p_wxDataObjectComposite
,
26019 _swigt__p_wxFileConfig
,
26020 _swigt__p_wxSystemSettings
,
26021 _swigt__p_wxPyDataObjectSimple
,
26022 _swigt__p_wxDataObjectSimple
,
26023 _swigt__p_wxEvtHandler
,
26025 _swigt__p_wxSingleInstanceChecker
,
26026 _swigt__p_wxFileTypeInfo
,
26029 _swigt__p_wxMimeTypesManager
,
26030 _swigt__p_wxPyArtProvider
,
26031 _swigt__p_wxPyTipProvider
,
26032 _swigt__p_wxTipProvider
,
26033 _swigt__p_wxJoystick
,
26034 _swigt__p_wxSystemOptions
,
26036 _swigt__p_wxJoystickEvent
,
26037 _swigt__p_wxCursor
,
26038 _swigt__p_wxObject
,
26039 _swigt__p_wxOutputStream
,
26040 _swigt__p_wxDateTime
,
26041 _swigt__p_wxPyDropSource
,
26042 _swigt__p_wxWindow
,
26043 _swigt__p_wxString
,
26044 _swigt__p_wxPyProcess
,
26045 _swigt__p_wxBitmap
,
26046 _swigt__p_wxConfig
,
26048 _swigt__p_wxBusyInfo
,
26049 _swigt__p_wxPyDropTarget
,
26050 _swigt__p_wxPyTextDropTarget
,
26051 _swigt__p_wxPyFileDropTarget
,
26052 _swigt__p_wxProcessEvent
,
26054 _swigt__p_wxLogNull
,
26055 _swigt__p_wxColour
,
26056 _swigt__p_wxConfigPathChanger
,
26057 _swigt__p_wxPyTimer
,
26058 _swigt__p_wxDateSpan
,
26063 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26065 static swig_const_info swig_const_table
[] = {
26066 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
26102 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
26103 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
26104 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
26105 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
26106 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
26107 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
26117 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
26118 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
26119 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
26120 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
26121 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
26122 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
26123 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
26124 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
26125 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
26126 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
26127 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
26128 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
26129 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
26130 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
26131 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
26132 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
26133 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
26134 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
26135 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
26136 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
26137 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
26138 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
26139 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
26140 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
26141 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
26142 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
26143 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
26144 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
26145 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
26146 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
26147 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
26148 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
26149 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
26150 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
26151 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
26152 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
26153 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
26154 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
26155 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
26156 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
26157 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
26158 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
26159 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
26160 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
26161 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
26162 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
26163 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
26164 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
26165 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
26166 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
26167 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
26168 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
26169 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
26170 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
26171 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
26172 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
26173 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26174 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26175 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26176 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26177 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26178 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26179 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26180 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26181 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26182 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26183 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
26184 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
26185 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
26186 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
26187 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
26188 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
26189 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
26190 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
26191 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
26192 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
26193 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
26194 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
26195 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
26196 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
26197 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
26198 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
26199 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
26200 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
26201 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
26202 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
26203 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
26204 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
26205 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
26206 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
26207 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
26208 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
26209 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
26210 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
26211 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
26212 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
26213 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
26214 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
26215 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
26216 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
26217 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
26218 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
26219 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
26220 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
26221 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
26222 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
26223 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
26224 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
26225 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
26226 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
26227 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
26228 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
26229 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
26230 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
26231 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
26232 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
26233 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
26234 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
26235 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
26236 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
26237 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
26238 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
26239 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
26240 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
26241 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
26242 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
26243 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
26244 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
26245 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
26246 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
26247 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
26248 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
26249 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
26250 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
26251 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
26252 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
26253 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
26254 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
26255 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
26256 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
26257 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
26258 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
26259 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
26260 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
26261 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
26262 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
26263 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
26264 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
26265 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
26266 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
26267 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
26268 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
26269 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
26270 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
26271 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
26272 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
26273 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
26274 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
26275 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
26276 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
26277 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
26278 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
26279 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
26280 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
26281 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
26282 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
26283 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
26284 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
26285 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
26286 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
26287 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
26288 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
26289 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
26290 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
26291 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
26292 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
26293 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
26294 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
26295 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
26296 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
26297 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
26298 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
26299 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
26300 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
26301 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
26302 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
26303 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
26304 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
26305 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
26306 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26307 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26308 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26309 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26310 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26311 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26312 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26313 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26314 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26315 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26316 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26317 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26318 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26319 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26320 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26321 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26322 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26323 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26324 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26325 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26326 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26327 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26328 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26329 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26330 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26331 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26332 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26333 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26334 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26335 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26336 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26337 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26338 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26339 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26340 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26341 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26342 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26343 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26344 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26345 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26346 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26347 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26348 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26349 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26350 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26351 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26352 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26353 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26354 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26355 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26356 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26357 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26358 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26359 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26360 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26361 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26362 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26363 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26364 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26365 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26366 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26367 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26368 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26369 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26370 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26371 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26372 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26373 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26374 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26375 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26376 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26377 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26378 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26379 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26380 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26381 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26382 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26383 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26384 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26385 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26386 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26387 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26388 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26389 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26390 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26391 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26392 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26393 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26394 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26395 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26396 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26397 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26398 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26399 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26400 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26401 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26402 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26403 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26404 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26405 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26406 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26407 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26408 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26409 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26410 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26411 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26412 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26413 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26414 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26415 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26416 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26417 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26418 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26419 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26420 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26421 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26422 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26423 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26433 SWIGEXPORT(void) SWIG_init(void) {
26434 static PyObject
*SWIG_globals
= 0;
26435 static int typeinit
= 0;
26438 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26439 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26440 d
= PyModule_GetDict(m
);
26443 for (i
= 0; swig_types_initial
[i
]; i
++) {
26444 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26448 SWIG_InstallConstants(d
,swig_const_table
);
26450 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26451 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26452 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26453 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26454 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26455 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26457 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26459 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26460 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26461 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26462 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26463 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26464 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26465 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26466 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26467 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26468 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26469 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26470 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26471 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26472 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26473 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26474 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26475 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26476 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26477 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26478 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26479 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26480 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26481 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26482 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26483 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26484 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26485 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26486 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26487 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26488 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26489 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26490 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26491 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26492 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26493 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26494 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26495 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26496 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26497 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26498 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26499 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26500 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26501 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26503 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26505 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
26506 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
26507 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26509 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26510 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26511 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26512 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26514 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);