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>
1047 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1050 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1051 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1052 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1053 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1054 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1057 class wxPyTextDropTarget
: public wxTextDropTarget
{
1059 wxPyTextDropTarget() {}
1061 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1063 DEC_PYCALLBACK__(OnLeave
);
1064 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1065 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1066 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1067 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1072 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1073 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1074 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1075 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1076 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1077 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1081 class wxPyFileDropTarget
: public wxFileDropTarget
{
1083 wxPyFileDropTarget() {}
1085 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1087 DEC_PYCALLBACK__(OnLeave
);
1088 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1089 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1090 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1091 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1096 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1097 const wxArrayString
& filenames
) {
1099 wxPyBeginBlockThreads();
1100 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1101 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1102 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1105 wxPyEndBlockThreads();
1111 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1112 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1113 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1114 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1115 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1120 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1124 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1125 PyObject
*resultobj
;
1129 (char *) "index", NULL
1132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1135 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1137 wxPyEndAllowThreads(__tstate
);
1138 if (PyErr_Occurred()) SWIG_fail
;
1141 wxColour
* resultptr
;
1142 resultptr
= new wxColour((wxColour
&) result
);
1143 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1151 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1152 PyObject
*resultobj
;
1156 (char *) "index", NULL
1159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1162 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1164 wxPyEndAllowThreads(__tstate
);
1165 if (PyErr_Occurred()) SWIG_fail
;
1169 resultptr
= new wxFont((wxFont
&) result
);
1170 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1178 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1183 (char *) "index", NULL
1186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1189 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1191 wxPyEndAllowThreads(__tstate
);
1192 if (PyErr_Occurred()) SWIG_fail
;
1194 resultobj
= PyInt_FromLong((long)result
);
1201 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1202 PyObject
*resultobj
;
1206 (char *) "index", NULL
1209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1212 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1214 wxPyEndAllowThreads(__tstate
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1217 resultobj
= PyInt_FromLong((long)result
);
1224 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1225 PyObject
*resultobj
;
1231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1234 result
= (int)wxSystemSettings::GetScreenType();
1236 wxPyEndAllowThreads(__tstate
);
1237 if (PyErr_Occurred()) SWIG_fail
;
1239 resultobj
= PyInt_FromLong((long)result
);
1246 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1247 PyObject
*resultobj
;
1250 (char *) "screen", NULL
1253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 Py_INCREF(Py_None
); resultobj
= Py_None
;
1268 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1271 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1273 return Py_BuildValue((char *)"");
1275 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1276 PyObject
*resultobj
;
1277 wxSystemOptions
*result
;
1282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1285 result
= (wxSystemOptions
*)new wxSystemOptions();
1287 wxPyEndAllowThreads(__tstate
);
1288 if (PyErr_Occurred()) SWIG_fail
;
1290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1297 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1298 PyObject
*resultobj
;
1299 wxString
*arg1
= 0 ;
1300 wxString
*arg2
= 0 ;
1301 bool temp1
= False
;
1302 bool temp2
= False
;
1303 PyObject
* obj0
= 0 ;
1304 PyObject
* obj1
= 0 ;
1306 (char *) "name",(char *) "value", NULL
1309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1311 arg1
= wxString_in_helper(obj0
);
1312 if (arg1
== NULL
) SWIG_fail
;
1316 arg2
= wxString_in_helper(obj1
);
1317 if (arg2
== NULL
) SWIG_fail
;
1321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1322 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1324 wxPyEndAllowThreads(__tstate
);
1325 if (PyErr_Occurred()) SWIG_fail
;
1327 Py_INCREF(Py_None
); resultobj
= Py_None
;
1350 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1351 PyObject
*resultobj
;
1352 wxString
*arg1
= 0 ;
1354 bool temp1
= False
;
1355 PyObject
* obj0
= 0 ;
1357 (char *) "name",(char *) "value", NULL
1360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1362 arg1
= wxString_in_helper(obj0
);
1363 if (arg1
== NULL
) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1388 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
*resultobj
;
1390 wxString
*arg1
= 0 ;
1392 bool temp1
= False
;
1393 PyObject
* obj0
= 0 ;
1395 (char *) "name", NULL
1398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1400 arg1
= wxString_in_helper(obj0
);
1401 if (arg1
== NULL
) SWIG_fail
;
1405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1406 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1408 wxPyEndAllowThreads(__tstate
);
1409 if (PyErr_Occurred()) SWIG_fail
;
1413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1432 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1433 PyObject
*resultobj
;
1434 wxString
*arg1
= 0 ;
1436 bool temp1
= False
;
1437 PyObject
* obj0
= 0 ;
1439 (char *) "name", NULL
1442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1444 arg1
= wxString_in_helper(obj0
);
1445 if (arg1
== NULL
) SWIG_fail
;
1449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1450 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1452 wxPyEndAllowThreads(__tstate
);
1453 if (PyErr_Occurred()) SWIG_fail
;
1455 resultobj
= PyInt_FromLong((long)result
);
1470 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1471 PyObject
*resultobj
;
1472 wxString
*arg1
= 0 ;
1474 bool temp1
= False
;
1475 PyObject
* obj0
= 0 ;
1477 (char *) "name", NULL
1480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1482 arg1
= wxString_in_helper(obj0
);
1483 if (arg1
== NULL
) SWIG_fail
;
1487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1488 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1490 wxPyEndAllowThreads(__tstate
);
1491 if (PyErr_Occurred()) SWIG_fail
;
1493 resultobj
= PyInt_FromLong((long)result
);
1508 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1511 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1513 return Py_BuildValue((char *)"");
1515 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1516 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1521 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1526 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1528 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1535 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1536 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1541 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1546 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1548 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1555 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1556 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1561 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1566 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1568 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1575 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 result
= (long)wxNewId();
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 resultobj
= PyInt_FromLong((long)result
);
1597 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 Py_INCREF(Py_None
); resultobj
= Py_None
;
1619 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 result
= (long)wxGetCurrentId();
1631 wxPyEndAllowThreads(__tstate
);
1632 if (PyErr_Occurred()) SWIG_fail
;
1634 resultobj
= PyInt_FromLong((long)result
);
1641 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1642 PyObject
*resultobj
;
1647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1652 wxPyEndAllowThreads(__tstate
);
1653 if (PyErr_Occurred()) SWIG_fail
;
1655 Py_INCREF(Py_None
); resultobj
= Py_None
;
1662 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1663 PyObject
*resultobj
;
1668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 bool arg1
= (bool) True
;
1687 PyObject
* obj0
= 0 ;
1689 (char *) "resetTimer", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1694 arg1
= PyInt_AsLong(obj0
) ? true : false;
1695 if (PyErr_Occurred()) SWIG_fail
;
1698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1699 result
= (long)wxGetElapsedTime(arg1
);
1701 wxPyEndAllowThreads(__tstate
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1704 resultobj
= PyInt_FromLong((long)result
);
1711 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1712 PyObject
*resultobj
;
1713 int *arg1
= (int *) 0 ;
1714 int *arg2
= (int *) 0 ;
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 wxGetMousePosition(arg1
,arg2
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 Py_INCREF(Py_None
); resultobj
= Py_None
;
1733 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1734 resultobj
= t_output_helper(resultobj
,o
);
1737 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1738 resultobj
= t_output_helper(resultobj
,o
);
1746 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1747 PyObject
*resultobj
;
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1756 result
= (bool)wxIsBusy();
1758 wxPyEndAllowThreads(__tstate
);
1759 if (PyErr_Occurred()) SWIG_fail
;
1761 resultobj
= PyInt_FromLong((long)result
);
1768 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1796 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1799 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1801 bool temp1
= False
;
1802 PyObject
* obj0
= 0 ;
1804 (char *) "command", NULL
1807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1810 arg1
= wxString_in_helper(obj0
);
1811 if (arg1
== NULL
) SWIG_fail
;
1816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1817 result
= (bool)wxShell((wxString
const &)*arg1
);
1819 wxPyEndAllowThreads(__tstate
);
1820 if (PyErr_Occurred()) SWIG_fail
;
1822 resultobj
= PyInt_FromLong((long)result
);
1837 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 wxPyEndAllowThreads(__tstate
);
1849 if (PyErr_Occurred()) SWIG_fail
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
*resultobj
;
1860 int *arg1
= (int *) 0 ;
1861 int *arg2
= (int *) 0 ;
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1874 result
= (int)wxGetOsVersion(arg1
,arg2
);
1876 wxPyEndAllowThreads(__tstate
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1879 resultobj
= PyInt_FromLong((long)result
);
1881 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1882 resultobj
= t_output_helper(resultobj
,o
);
1885 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1886 resultobj
= t_output_helper(resultobj
,o
);
1894 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1895 PyObject
*resultobj
;
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1904 result
= wxGetOsDescription();
1906 wxPyEndAllowThreads(__tstate
);
1907 if (PyErr_Occurred()) SWIG_fail
;
1911 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1913 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1922 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1932 result
= (long)wxGetFreeMemory();
1934 wxPyEndAllowThreads(__tstate
);
1935 if (PyErr_Occurred()) SWIG_fail
;
1937 resultobj
= PyInt_FromLong((long)result
);
1944 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1945 PyObject
*resultobj
;
1949 (char *) "wFlags", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 resultobj
= PyInt_FromLong((long)result
);
1967 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1971 (char *) "secs", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 unsigned long arg1
;
1992 PyObject
* obj0
= 0 ;
1994 (char *) "milliseconds", NULL
1997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
1998 arg1
= (unsigned long) PyInt_AsLong(obj0
);
1999 if (PyErr_Occurred()) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2007 Py_INCREF(Py_None
); resultobj
= Py_None
;
2014 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2015 PyObject
*resultobj
;
2017 PyObject
* obj0
= 0 ;
2019 (char *) "enable", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2023 arg1
= PyInt_AsLong(obj0
) ? true : false;
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 wxEnableTopLevelWindows(arg1
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxString
*arg1
= 0 ;
2043 bool temp1
= False
;
2044 PyObject
* obj0
= 0 ;
2049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2051 arg1
= wxString_in_helper(obj0
);
2052 if (arg1
== NULL
) SWIG_fail
;
2056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2057 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2059 wxPyEndAllowThreads(__tstate
);
2060 if (PyErr_Occurred()) SWIG_fail
;
2064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2083 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2084 PyObject
*resultobj
;
2090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2093 result
= wxGetEmailAddress();
2095 wxPyEndAllowThreads(__tstate
);
2096 if (PyErr_Occurred()) SWIG_fail
;
2100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2111 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2112 PyObject
*resultobj
;
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2121 result
= wxGetHostName();
2123 wxPyEndAllowThreads(__tstate
);
2124 if (PyErr_Occurred()) SWIG_fail
;
2128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2139 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2149 result
= wxGetFullHostName();
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2167 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2168 PyObject
*resultobj
;
2174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 result
= wxGetUserId();
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2195 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2196 PyObject
*resultobj
;
2202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 result
= wxGetUserName();
2207 wxPyEndAllowThreads(__tstate
);
2208 if (PyErr_Occurred()) SWIG_fail
;
2212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2223 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2224 PyObject
*resultobj
;
2230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= wxGetHomeDir();
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2242 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2251 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2254 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2256 bool temp1
= False
;
2257 PyObject
* obj0
= 0 ;
2259 (char *) "user", NULL
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2265 arg1
= wxString_in_helper(obj0
);
2266 if (arg1
== NULL
) SWIG_fail
;
2271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2272 result
= wxGetUserHome((wxString
const &)*arg1
);
2274 wxPyEndAllowThreads(__tstate
);
2275 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2298 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 unsigned long result
;
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 result
= (unsigned long)wxGetProcessId();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 resultobj
= PyInt_FromLong((long)result
);
2320 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2344 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2345 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2346 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2347 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2348 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2349 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2350 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2351 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2352 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2353 int arg6
= (int) 0 ;
2354 wxWindow
*arg7
= (wxWindow
*) NULL
;
2355 int arg8
= (int) -1 ;
2356 int arg9
= (int) -1 ;
2358 bool temp1
= False
;
2359 bool temp2
= False
;
2360 bool temp3
= False
;
2361 bool temp4
= False
;
2362 bool temp5
= False
;
2363 PyObject
* obj0
= 0 ;
2364 PyObject
* obj1
= 0 ;
2365 PyObject
* obj2
= 0 ;
2366 PyObject
* obj3
= 0 ;
2367 PyObject
* obj4
= 0 ;
2368 PyObject
* obj6
= 0 ;
2370 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2376 arg1
= wxString_in_helper(obj0
);
2377 if (arg1
== NULL
) SWIG_fail
;
2383 arg2
= wxString_in_helper(obj1
);
2384 if (arg2
== NULL
) SWIG_fail
;
2390 arg3
= wxString_in_helper(obj2
);
2391 if (arg3
== NULL
) SWIG_fail
;
2397 arg4
= wxString_in_helper(obj3
);
2398 if (arg4
== NULL
) SWIG_fail
;
2404 arg5
= wxString_in_helper(obj4
);
2405 if (arg5
== NULL
) SWIG_fail
;
2410 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2472 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxString
*arg1
= 0 ;
2475 wxString
*arg2
= 0 ;
2476 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2477 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2478 wxWindow
*arg4
= (wxWindow
*) NULL
;
2480 bool temp1
= False
;
2481 bool temp2
= False
;
2482 bool temp3
= False
;
2483 PyObject
* obj0
= 0 ;
2484 PyObject
* obj1
= 0 ;
2485 PyObject
* obj2
= 0 ;
2486 PyObject
* obj3
= 0 ;
2488 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2493 arg1
= wxString_in_helper(obj0
);
2494 if (arg1
== NULL
) SWIG_fail
;
2498 arg2
= wxString_in_helper(obj1
);
2499 if (arg2
== NULL
) SWIG_fail
;
2504 arg3
= wxString_in_helper(obj2
);
2505 if (arg3
== NULL
) SWIG_fail
;
2510 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2523 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2556 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2557 PyObject
*resultobj
;
2558 wxString
*arg1
= 0 ;
2559 wxString
*arg2
= 0 ;
2560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2562 wxWindow
*arg4
= (wxWindow
*) NULL
;
2564 bool temp1
= False
;
2565 bool temp2
= False
;
2566 bool temp3
= False
;
2567 PyObject
* obj0
= 0 ;
2568 PyObject
* obj1
= 0 ;
2569 PyObject
* obj2
= 0 ;
2570 PyObject
* obj3
= 0 ;
2572 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2577 arg1
= wxString_in_helper(obj0
);
2578 if (arg1
== NULL
) SWIG_fail
;
2582 arg2
= wxString_in_helper(obj1
);
2583 if (arg2
== NULL
) SWIG_fail
;
2588 arg3
= wxString_in_helper(obj2
);
2589 if (arg3
== NULL
) SWIG_fail
;
2594 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2640 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2641 PyObject
*resultobj
;
2642 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2643 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2644 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2645 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2646 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2649 wxWindow
*arg5
= (wxWindow
*) NULL
;
2651 bool temp1
= False
;
2652 bool temp2
= False
;
2654 PyObject
* obj0
= 0 ;
2655 PyObject
* obj1
= 0 ;
2656 PyObject
* obj3
= 0 ;
2657 PyObject
* obj4
= 0 ;
2659 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2665 arg1
= wxString_in_helper(obj0
);
2666 if (arg1
== NULL
) SWIG_fail
;
2672 arg2
= wxString_in_helper(obj1
);
2673 if (arg2
== NULL
) SWIG_fail
;
2680 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2684 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2690 wxPyEndAllowThreads(__tstate
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2722 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2723 PyObject
*resultobj
;
2724 wxString
*arg1
= 0 ;
2725 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2726 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2727 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2728 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2729 wxWindow
*arg4
= (wxWindow
*) NULL
;
2730 int arg5
= (int) -1 ;
2731 int arg6
= (int) -1 ;
2732 bool arg7
= (bool) True
;
2734 bool temp1
= False
;
2735 bool temp2
= False
;
2736 bool temp3
= False
;
2737 PyObject
* obj0
= 0 ;
2738 PyObject
* obj1
= 0 ;
2739 PyObject
* obj2
= 0 ;
2740 PyObject
* obj3
= 0 ;
2741 PyObject
* obj6
= 0 ;
2743 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2748 arg1
= wxString_in_helper(obj0
);
2749 if (arg1
== NULL
) SWIG_fail
;
2754 arg2
= wxString_in_helper(obj1
);
2755 if (arg2
== NULL
) SWIG_fail
;
2761 arg3
= wxString_in_helper(obj2
);
2762 if (arg3
== NULL
) SWIG_fail
;
2767 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2770 arg7
= PyInt_AsLong(obj6
) ? true : false;
2771 if (PyErr_Occurred()) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2817 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxString
*arg1
= 0 ;
2820 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2821 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2822 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2823 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2824 wxWindow
*arg4
= (wxWindow
*) NULL
;
2826 bool temp1
= False
;
2827 bool temp2
= False
;
2828 bool temp3
= False
;
2829 PyObject
* obj0
= 0 ;
2830 PyObject
* obj1
= 0 ;
2831 PyObject
* obj2
= 0 ;
2832 PyObject
* obj3
= 0 ;
2834 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2839 arg1
= wxString_in_helper(obj0
);
2840 if (arg1
== NULL
) SWIG_fail
;
2845 arg2
= wxString_in_helper(obj1
);
2846 if (arg2
== NULL
) SWIG_fail
;
2852 arg3
= wxString_in_helper(obj2
);
2853 if (arg3
== NULL
) SWIG_fail
;
2858 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2904 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxString
*arg1
= 0 ;
2907 wxString
*arg2
= 0 ;
2909 wxString
*arg4
= (wxString
*) 0 ;
2910 wxWindow
*arg5
= (wxWindow
*) NULL
;
2911 int arg6
= (int) -1 ;
2912 int arg7
= (int) -1 ;
2913 bool arg8
= (bool) True
;
2914 int arg9
= (int) 150 ;
2915 int arg10
= (int) 200 ;
2917 bool temp1
= False
;
2918 bool temp2
= False
;
2919 PyObject
* obj0
= 0 ;
2920 PyObject
* obj1
= 0 ;
2921 PyObject
* obj2
= 0 ;
2922 PyObject
* obj3
= 0 ;
2923 PyObject
* obj6
= 0 ;
2925 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2930 arg1
= wxString_in_helper(obj0
);
2931 if (arg1
== NULL
) SWIG_fail
;
2935 arg2
= wxString_in_helper(obj1
);
2936 if (arg2
== NULL
) SWIG_fail
;
2940 arg3
= PyList_Size(obj2
);
2941 arg4
= wxString_LIST_helper(obj2
);
2942 if (arg4
== NULL
) SWIG_fail
;
2945 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2948 arg8
= PyInt_AsLong(obj6
) ? true : false;
2949 if (PyErr_Occurred()) SWIG_fail
;
2952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2953 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2955 wxPyEndAllowThreads(__tstate
);
2956 if (PyErr_Occurred()) SWIG_fail
;
2960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2974 if (arg4
) delete [] arg4
;
2987 if (arg4
) delete [] arg4
;
2993 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxString
*arg1
= 0 ;
2996 wxString
*arg2
= 0 ;
2998 wxString
*arg4
= (wxString
*) 0 ;
2999 wxWindow
*arg5
= (wxWindow
*) NULL
;
3000 int arg6
= (int) -1 ;
3001 int arg7
= (int) -1 ;
3002 bool arg8
= (bool) True
;
3003 int arg9
= (int) 150 ;
3004 int arg10
= (int) 200 ;
3006 bool temp1
= False
;
3007 bool temp2
= False
;
3008 PyObject
* obj0
= 0 ;
3009 PyObject
* obj1
= 0 ;
3010 PyObject
* obj2
= 0 ;
3011 PyObject
* obj3
= 0 ;
3012 PyObject
* obj6
= 0 ;
3014 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
3019 arg1
= wxString_in_helper(obj0
);
3020 if (arg1
== NULL
) SWIG_fail
;
3024 arg2
= wxString_in_helper(obj1
);
3025 if (arg2
== NULL
) SWIG_fail
;
3029 arg3
= PyList_Size(obj2
);
3030 arg4
= wxString_LIST_helper(obj2
);
3031 if (arg4
== NULL
) SWIG_fail
;
3034 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3037 arg8
= PyInt_AsLong(obj6
) ? true : false;
3038 if (PyErr_Occurred()) SWIG_fail
;
3041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3042 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3044 wxPyEndAllowThreads(__tstate
);
3045 if (PyErr_Occurred()) SWIG_fail
;
3047 resultobj
= PyInt_FromLong((long)result
);
3057 if (arg4
) delete [] arg4
;
3070 if (arg4
) delete [] arg4
;
3076 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxString
*arg1
= 0 ;
3079 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3080 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3081 int arg3
= (int) wxOK
|wxCENTRE
;
3082 wxWindow
*arg4
= (wxWindow
*) NULL
;
3083 int arg5
= (int) -1 ;
3084 int arg6
= (int) -1 ;
3086 bool temp1
= False
;
3087 bool temp2
= False
;
3088 PyObject
* obj0
= 0 ;
3089 PyObject
* obj1
= 0 ;
3090 PyObject
* obj3
= 0 ;
3092 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3097 arg1
= wxString_in_helper(obj0
);
3098 if (arg1
== NULL
) SWIG_fail
;
3103 arg2
= wxString_in_helper(obj1
);
3104 if (arg2
== NULL
) SWIG_fail
;
3109 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3113 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3115 wxPyEndAllowThreads(__tstate
);
3116 if (PyErr_Occurred()) SWIG_fail
;
3118 resultobj
= PyInt_FromLong((long)result
);
3141 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxString
*arg1
= 0 ;
3144 wxString
*arg2
= 0 ;
3145 wxString
*arg3
= 0 ;
3147 long arg5
= (long) 0 ;
3148 long arg6
= (long) 100 ;
3149 wxWindow
*arg7
= (wxWindow
*) NULL
;
3150 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3151 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3153 bool temp1
= False
;
3154 bool temp2
= False
;
3155 bool temp3
= False
;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3159 PyObject
* obj2
= 0 ;
3160 PyObject
* obj6
= 0 ;
3161 PyObject
* obj7
= 0 ;
3163 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3168 arg1
= wxString_in_helper(obj0
);
3169 if (arg1
== NULL
) SWIG_fail
;
3173 arg2
= wxString_in_helper(obj1
);
3174 if (arg2
== NULL
) SWIG_fail
;
3178 arg3
= wxString_in_helper(obj2
);
3179 if (arg3
== NULL
) SWIG_fail
;
3183 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3188 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3193 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3195 wxPyEndAllowThreads(__tstate
);
3196 if (PyErr_Occurred()) SWIG_fail
;
3198 resultobj
= PyInt_FromLong((long)result
);
3229 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= (bool)wxColourDisplay();
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= PyInt_FromLong((long)result
);
3251 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (int)wxDisplayDepth();
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= PyInt_FromLong((long)result
);
3273 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3283 result
= (int)wxGetDisplayDepth();
3285 wxPyEndAllowThreads(__tstate
);
3286 if (PyErr_Occurred()) SWIG_fail
;
3288 resultobj
= PyInt_FromLong((long)result
);
3295 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3296 PyObject
*resultobj
;
3297 int *arg1
= (int *) 0 ;
3298 int *arg2
= (int *) 0 ;
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3310 wxDisplaySize(arg1
,arg2
);
3312 wxPyEndAllowThreads(__tstate
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3315 Py_INCREF(Py_None
); resultobj
= Py_None
;
3317 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3318 resultobj
= t_output_helper(resultobj
,o
);
3321 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3322 resultobj
= t_output_helper(resultobj
,o
);
3330 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3331 PyObject
*resultobj
;
3337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3340 result
= wxGetDisplaySize();
3342 wxPyEndAllowThreads(__tstate
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3347 resultptr
= new wxSize((wxSize
&) result
);
3348 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3356 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3357 PyObject
*resultobj
;
3358 int *arg1
= (int *) 0 ;
3359 int *arg2
= (int *) 0 ;
3368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3371 wxDisplaySizeMM(arg1
,arg2
);
3373 wxPyEndAllowThreads(__tstate
);
3374 if (PyErr_Occurred()) SWIG_fail
;
3376 Py_INCREF(Py_None
); resultobj
= Py_None
;
3378 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3379 resultobj
= t_output_helper(resultobj
,o
);
3382 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3383 resultobj
= t_output_helper(resultobj
,o
);
3391 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3392 PyObject
*resultobj
;
3398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3401 result
= wxGetDisplaySizeMM();
3403 wxPyEndAllowThreads(__tstate
);
3404 if (PyErr_Occurred()) SWIG_fail
;
3408 resultptr
= new wxSize((wxSize
&) result
);
3409 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3417 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3418 PyObject
*resultobj
;
3419 int *arg1
= (int *) 0 ;
3420 int *arg2
= (int *) 0 ;
3421 int *arg3
= (int *) 0 ;
3422 int *arg4
= (int *) 0 ;
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3438 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3440 wxPyEndAllowThreads(__tstate
);
3441 if (PyErr_Occurred()) SWIG_fail
;
3443 Py_INCREF(Py_None
); resultobj
= Py_None
;
3445 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3446 resultobj
= t_output_helper(resultobj
,o
);
3449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3450 resultobj
= t_output_helper(resultobj
,o
);
3453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3454 resultobj
= t_output_helper(resultobj
,o
);
3457 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3458 resultobj
= t_output_helper(resultobj
,o
);
3466 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3467 PyObject
*resultobj
;
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 result
= wxGetClientDisplayRect();
3478 wxPyEndAllowThreads(__tstate
);
3479 if (PyErr_Occurred()) SWIG_fail
;
3483 resultptr
= new wxRect((wxRect
&) result
);
3484 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3492 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxCursor
*arg1
= 0 ;
3495 PyObject
* obj0
= 0 ;
3497 (char *) "cursor", NULL
3500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3509 wxPyEndAllowThreads(__tstate
);
3510 if (PyErr_Occurred()) SWIG_fail
;
3512 Py_INCREF(Py_None
); resultobj
= Py_None
;
3519 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3520 PyObject
*resultobj
;
3521 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3522 PyObject
* obj0
= 0 ;
3524 (char *) "cursor", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3533 wxBeginBusyCursor(arg1
);
3535 wxPyEndAllowThreads(__tstate
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3538 Py_INCREF(Py_None
); resultobj
= Py_None
;
3545 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3546 PyObject
*resultobj
;
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3555 result
= (wxWindow
*)wxGetActiveWindow();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3561 resultobj
= wxPyMake_wxObject(result
);
3569 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3574 PyObject
* obj0
= 0 ;
3579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3582 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3588 wxPyEndAllowThreads(__tstate
);
3589 if (PyErr_Occurred()) SWIG_fail
;
3592 resultobj
= wxPyMake_wxObject(result
);
3600 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3601 PyObject
*resultobj
;
3605 PyObject
* obj0
= 0 ;
3610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3613 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3617 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3619 wxPyEndAllowThreads(__tstate
);
3620 if (PyErr_Occurred()) SWIG_fail
;
3623 resultobj
= wxPyMake_wxObject(result
);
3631 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3632 PyObject
*resultobj
;
3633 wxWindow
*arg1
= (wxWindow
*) 0 ;
3635 PyObject
* obj0
= 0 ;
3637 (char *) "win", NULL
3640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3644 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3650 resultobj
= wxPyMake_wxObject(result
);
3658 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3663 (char *) "key", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetKeyState",kwnames
,&arg1
)) goto fail
;
3668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3669 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
3671 wxPyEndAllowThreads(__tstate
);
3672 if (PyErr_Occurred()) SWIG_fail
;
3674 resultobj
= PyInt_FromLong((long)result
);
3681 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3682 PyObject
*resultobj
;
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 wxWakeUpMainThread();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3695 Py_INCREF(Py_None
); resultobj
= Py_None
;
3702 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3724 PyObject
*resultobj
;
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3734 wxPyEndAllowThreads(__tstate
);
3735 if (PyErr_Occurred()) SWIG_fail
;
3737 Py_INCREF(Py_None
); resultobj
= Py_None
;
3744 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxMutexGuiLocker
*result
;
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3766 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 (char *) "self", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 Py_INCREF(Py_None
); resultobj
= Py_None
;
3790 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3793 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3795 return Py_BuildValue((char *)"");
3797 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3798 PyObject
*resultobj
;
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (bool)wxThread_IsMain();
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 resultobj
= PyInt_FromLong((long)result
);
3819 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxString
*arg1
= 0 ;
3823 bool temp1
= False
;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "tip", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3831 arg1
= wxString_in_helper(obj0
);
3832 if (arg1
== NULL
) SWIG_fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= wxPyMake_wxObject(result
);
3859 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
;
3861 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3862 wxString
*arg2
= 0 ;
3863 bool temp2
= False
;
3864 PyObject
* obj0
= 0 ;
3865 PyObject
* obj1
= 0 ;
3867 (char *) "self",(char *) "tip", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3873 arg2
= wxString_in_helper(obj1
);
3874 if (arg2
== NULL
) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 (arg1
)->SetTip((wxString
const &)*arg2
);
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3905 (char *) "self", NULL
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= (arg1
)->GetTip();
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3919 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3921 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3930 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 result
= (wxWindow
*)(arg1
)->GetWindow();
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= wxPyMake_wxObject(result
);
3957 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3960 PyObject
* obj0
= 0 ;
3962 (char *) "flag", NULL
3965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3966 arg1
= PyInt_AsLong(obj0
) ? true : false;
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 wxToolTip::Enable(arg1
);
3972 wxPyEndAllowThreads(__tstate
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 Py_INCREF(Py_None
); resultobj
= Py_None
;
3982 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3983 PyObject
*resultobj
;
3986 (char *) "milliseconds", NULL
3989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 wxToolTip::SetDelay(arg1
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 Py_INCREF(Py_None
); resultobj
= Py_None
;
4004 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4007 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4009 return Py_BuildValue((char *)"");
4011 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4013 wxWindow
*arg1
= (wxWindow
*) 0 ;
4017 PyObject
* obj0
= 0 ;
4018 PyObject
* obj1
= 0 ;
4020 (char *) "window",(char *) "size", NULL
4023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4027 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4043 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4044 PyObject
*resultobj
;
4045 wxCaret
*arg1
= (wxCaret
*) 0 ;
4046 PyObject
* obj0
= 0 ;
4048 (char *) "self", NULL
4051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxCaret
*arg1
= (wxCaret
*) 0 ;
4071 PyObject
* obj0
= 0 ;
4073 (char *) "self", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4080 result
= (bool)(arg1
)->IsOk();
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= PyInt_FromLong((long)result
);
4092 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxCaret
*arg1
= (wxCaret
*) 0 ;
4096 PyObject
* obj0
= 0 ;
4098 (char *) "self", NULL
4101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (bool)(arg1
)->IsVisible();
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= PyInt_FromLong((long)result
);
4117 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxCaret
*arg1
= (wxCaret
*) 0 ;
4121 PyObject
* obj0
= 0 ;
4123 (char *) "self", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (arg1
)->GetPosition();
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4136 wxPoint
* resultptr
;
4137 resultptr
= new wxPoint((wxPoint
&) result
);
4138 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4146 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 wxCaret
*arg1
= (wxCaret
*) 0 ;
4149 int *arg2
= (int *) 0 ;
4150 int *arg3
= (int *) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 (arg1
)->GetPosition(arg2
,arg3
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 Py_INCREF(Py_None
); resultobj
= Py_None
;
4171 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4172 resultobj
= t_output_helper(resultobj
,o
);
4175 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4176 resultobj
= t_output_helper(resultobj
,o
);
4184 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxCaret
*arg1
= (wxCaret
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "self", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (arg1
)->GetSize();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4204 resultptr
= new wxSize((wxSize
&) result
);
4205 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4213 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxCaret
*arg1
= (wxCaret
*) 0 ;
4216 int *arg2
= (int *) 0 ;
4217 int *arg3
= (int *) 0 ;
4220 PyObject
* obj0
= 0 ;
4222 (char *) "self", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4231 (arg1
)->GetSize(arg2
,arg3
);
4233 wxPyEndAllowThreads(__tstate
);
4234 if (PyErr_Occurred()) SWIG_fail
;
4236 Py_INCREF(Py_None
); resultobj
= Py_None
;
4238 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4239 resultobj
= t_output_helper(resultobj
,o
);
4242 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4243 resultobj
= t_output_helper(resultobj
,o
);
4251 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxCaret
*arg1
= (wxCaret
*) 0 ;
4255 PyObject
* obj0
= 0 ;
4257 (char *) "self", NULL
4260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4264 result
= (wxWindow
*)(arg1
)->GetWindow();
4266 wxPyEndAllowThreads(__tstate
);
4267 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= wxPyMake_wxObject(result
);
4278 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxCaret
*arg1
= (wxCaret
*) 0 ;
4283 PyObject
* obj0
= 0 ;
4285 (char *) "self",(char *) "x",(char *) "y", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 (arg1
)->Move(arg2
,arg3
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 Py_INCREF(Py_None
); resultobj
= Py_None
;
4304 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxCaret
*arg1
= (wxCaret
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4312 (char *) "self",(char *) "pt", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4319 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 (arg1
)->Move((wxPoint
const &)*arg2
);
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 Py_INCREF(Py_None
); resultobj
= Py_None
;
4335 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxCaret
*arg1
= (wxCaret
*) 0 ;
4340 PyObject
* obj0
= 0 ;
4342 (char *) "self",(char *) "width",(char *) "height", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetSize(arg2
,arg3
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 Py_INCREF(Py_None
); resultobj
= Py_None
;
4361 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
;
4363 wxCaret
*arg1
= (wxCaret
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4369 (char *) "self",(char *) "size", NULL
4372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4376 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 (arg1
)->SetSize((wxSize
const &)*arg2
);
4382 wxPyEndAllowThreads(__tstate
);
4383 if (PyErr_Occurred()) SWIG_fail
;
4385 Py_INCREF(Py_None
); resultobj
= Py_None
;
4392 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4393 PyObject
*resultobj
;
4394 wxCaret
*arg1
= (wxCaret
*) 0 ;
4395 int arg2
= (int) True
;
4396 PyObject
* obj0
= 0 ;
4398 (char *) "self",(char *) "show", NULL
4401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4410 Py_INCREF(Py_None
); resultobj
= Py_None
;
4417 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxCaret
*arg1
= (wxCaret
*) 0 ;
4420 PyObject
* obj0
= 0 ;
4422 (char *) "self", NULL
4425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4444 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4446 return Py_BuildValue((char *)"");
4448 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 result
= (int)wxCaret_GetBlinkTime();
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= PyInt_FromLong((long)result
);
4470 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4471 PyObject
*resultobj
;
4474 (char *) "milliseconds", NULL
4477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 wxCaret_SetBlinkTime(arg1
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4485 Py_INCREF(Py_None
); resultobj
= Py_None
;
4492 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4495 wxBusyCursor
*result
;
4496 PyObject
* obj0
= 0 ;
4498 (char *) "cursor", NULL
4501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4519 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4522 PyObject
* obj0
= 0 ;
4524 (char *) "self", NULL
4527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4533 wxPyEndAllowThreads(__tstate
);
4534 if (PyErr_Occurred()) SWIG_fail
;
4536 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4546 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4548 return Py_BuildValue((char *)"");
4550 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxWindow
*arg1
= (wxWindow
*) NULL
;
4553 wxWindowDisabler
*result
;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "winToSkip", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4577 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4580 PyObject
* obj0
= 0 ;
4582 (char *) "self", NULL
4585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4601 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4604 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4606 return Py_BuildValue((char *)"");
4608 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4609 PyObject
*resultobj
;
4610 wxString
*arg1
= 0 ;
4612 bool temp1
= False
;
4613 PyObject
* obj0
= 0 ;
4615 (char *) "message", NULL
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4620 arg1
= wxString_in_helper(obj0
);
4621 if (arg1
== NULL
) SWIG_fail
;
4625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4626 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4646 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4660 wxPyEndAllowThreads(__tstate
);
4661 if (PyErr_Occurred()) SWIG_fail
;
4663 Py_INCREF(Py_None
); resultobj
= Py_None
;
4670 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4673 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4675 return Py_BuildValue((char *)"");
4677 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4678 PyObject
*resultobj
;
4679 wxStopWatch
*result
;
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4687 result
= (wxStopWatch
*)new wxStopWatch();
4689 wxPyEndAllowThreads(__tstate
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4699 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4700 PyObject
*resultobj
;
4701 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4702 long arg2
= (long) 0 ;
4703 PyObject
* obj0
= 0 ;
4705 (char *) "self",(char *) "t0", NULL
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 (arg1
)->Start(arg2
);
4714 wxPyEndAllowThreads(__tstate
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 Py_INCREF(Py_None
); resultobj
= Py_None
;
4724 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4725 PyObject
*resultobj
;
4726 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4727 PyObject
* obj0
= 0 ;
4729 (char *) "self", NULL
4732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4738 wxPyEndAllowThreads(__tstate
);
4739 if (PyErr_Occurred()) SWIG_fail
;
4741 Py_INCREF(Py_None
); resultobj
= Py_None
;
4748 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "self", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 wxPyEndAllowThreads(__tstate
);
4763 if (PyErr_Occurred()) SWIG_fail
;
4765 Py_INCREF(Py_None
); resultobj
= Py_None
;
4772 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4776 PyObject
* obj0
= 0 ;
4778 (char *) "self", NULL
4781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4785 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4787 wxPyEndAllowThreads(__tstate
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4790 resultobj
= PyInt_FromLong((long)result
);
4797 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4800 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4802 return Py_BuildValue((char *)"");
4804 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4805 PyObject
*resultobj
;
4806 int arg1
= (int) 9 ;
4807 wxFileHistory
*result
;
4809 (char *) "maxFiles", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4827 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4830 PyObject
* obj0
= 0 ;
4832 (char *) "self", NULL
4835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 wxPyEndAllowThreads(__tstate
);
4842 if (PyErr_Occurred()) SWIG_fail
;
4844 Py_INCREF(Py_None
); resultobj
= Py_None
;
4851 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4854 wxString
*arg2
= 0 ;
4855 bool temp2
= False
;
4856 PyObject
* obj0
= 0 ;
4857 PyObject
* obj1
= 0 ;
4859 (char *) "self",(char *) "file", NULL
4862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4865 arg2
= wxString_in_helper(obj1
);
4866 if (arg2
== NULL
) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4876 Py_INCREF(Py_None
); resultobj
= Py_None
;
4891 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self",(char *) "i", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 (arg1
)->RemoveFileFromHistory(arg2
);
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= PyInt_FromLong((long)result
);
4941 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4944 wxMenu
*arg2
= (wxMenu
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4946 PyObject
* obj1
= 0 ;
4948 (char *) "self",(char *) "menu", NULL
4951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->UseMenu(arg2
);
4958 wxPyEndAllowThreads(__tstate
);
4959 if (PyErr_Occurred()) SWIG_fail
;
4961 Py_INCREF(Py_None
); resultobj
= Py_None
;
4968 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4971 wxMenu
*arg2
= (wxMenu
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4973 PyObject
* obj1
= 0 ;
4975 (char *) "self",(char *) "menu", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4980 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 (arg1
)->RemoveMenu(arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4998 wxConfigBase
*arg2
= 0 ;
4999 PyObject
* obj0
= 0 ;
5000 PyObject
* obj1
= 0 ;
5002 (char *) "self",(char *) "config", NULL
5005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5009 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5013 (arg1
)->Load(*arg2
);
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 Py_INCREF(Py_None
); resultobj
= Py_None
;
5025 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5026 PyObject
*resultobj
;
5027 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5028 wxConfigBase
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "config", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5039 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 (arg1
)->Save(*arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 Py_INCREF(Py_None
); resultobj
= Py_None
;
5055 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5058 PyObject
* obj0
= 0 ;
5060 (char *) "self", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5067 (arg1
)->AddFilesToMenu();
5069 wxPyEndAllowThreads(__tstate
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 Py_INCREF(Py_None
); resultobj
= Py_None
;
5079 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
;
5081 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5082 wxMenu
*arg2
= (wxMenu
*) 0 ;
5083 PyObject
* obj0
= 0 ;
5084 PyObject
* obj1
= 0 ;
5086 (char *) "self",(char *) "menu", NULL
5089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5091 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5094 (arg1
)->AddFilesToMenu(arg2
);
5096 wxPyEndAllowThreads(__tstate
);
5097 if (PyErr_Occurred()) SWIG_fail
;
5099 Py_INCREF(Py_None
); resultobj
= Py_None
;
5106 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5111 PyObject
* obj0
= 0 ;
5113 (char *) "self",(char *) "i", NULL
5116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5120 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5122 wxPyEndAllowThreads(__tstate
);
5123 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5138 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5139 PyObject
*resultobj
;
5140 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5142 PyObject
* obj0
= 0 ;
5144 (char *) "self", NULL
5147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5151 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5153 wxPyEndAllowThreads(__tstate
);
5154 if (PyErr_Occurred()) SWIG_fail
;
5156 resultobj
= PyInt_FromLong((long)result
);
5163 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5166 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5168 return Py_BuildValue((char *)"");
5170 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxString
*arg1
= 0 ;
5173 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5174 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5175 wxSingleInstanceChecker
*result
;
5176 bool temp1
= False
;
5177 bool temp2
= False
;
5178 PyObject
* obj0
= 0 ;
5179 PyObject
* obj1
= 0 ;
5181 (char *) "name",(char *) "path", NULL
5184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5186 arg1
= wxString_in_helper(obj0
);
5187 if (arg1
== NULL
) SWIG_fail
;
5192 arg2
= wxString_in_helper(obj1
);
5193 if (arg2
== NULL
) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5201 wxPyEndAllowThreads(__tstate
);
5202 if (PyErr_Occurred()) SWIG_fail
;
5204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5227 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5228 PyObject
*resultobj
;
5229 wxSingleInstanceChecker
*result
;
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5249 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5252 PyObject
* obj0
= 0 ;
5254 (char *) "self", NULL
5257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5263 wxPyEndAllowThreads(__tstate
);
5264 if (PyErr_Occurred()) SWIG_fail
;
5266 Py_INCREF(Py_None
); resultobj
= Py_None
;
5273 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5274 PyObject
*resultobj
;
5275 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5276 wxString
*arg2
= 0 ;
5277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5280 bool temp2
= False
;
5281 bool temp3
= False
;
5282 PyObject
* obj0
= 0 ;
5283 PyObject
* obj1
= 0 ;
5284 PyObject
* obj2
= 0 ;
5286 (char *) "self",(char *) "name",(char *) "path", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5292 arg2
= wxString_in_helper(obj1
);
5293 if (arg2
== NULL
) SWIG_fail
;
5298 arg3
= wxString_in_helper(obj2
);
5299 if (arg3
== NULL
) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5305 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 resultobj
= PyInt_FromLong((long)result
);
5333 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5334 PyObject
*resultobj
;
5335 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5337 PyObject
* obj0
= 0 ;
5339 (char *) "self", NULL
5342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= PyInt_FromLong((long)result
);
5358 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5361 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5363 return Py_BuildValue((char *)"");
5365 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5366 PyObject
*resultobj
;
5367 wxWindow
*arg1
= (wxWindow
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "window",(char *) "dc",(char *) "method", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5380 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5384 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5386 wxPyEndAllowThreads(__tstate
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5389 Py_INCREF(Py_None
); resultobj
= Py_None
;
5396 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5399 PyObject
* obj0
= 0 ;
5401 (char *) "self", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5410 wxPyEndAllowThreads(__tstate
);
5411 if (PyErr_Occurred()) SWIG_fail
;
5413 Py_INCREF(Py_None
); resultobj
= Py_None
;
5420 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5424 PyObject
* obj0
= 0 ;
5426 (char *) "self", NULL
5429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (arg1
)->GetTip();
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5451 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5457 (char *) "self", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (size_t)(arg1
)->GetCurrentTip();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= PyInt_FromLong((long)result
);
5476 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5479 wxString
*arg2
= 0 ;
5481 bool temp2
= False
;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "tip", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5491 arg2
= wxString_in_helper(obj1
);
5492 if (arg2
== NULL
) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5523 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5526 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5528 return Py_BuildValue((char *)"");
5530 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5531 PyObject
*resultobj
;
5533 wxPyTipProvider
*result
;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "currentTip", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5540 arg1
= (size_t) PyInt_AsLong(obj0
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5556 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5559 PyObject
*arg2
= (PyObject
*) 0 ;
5560 PyObject
*arg3
= (PyObject
*) 0 ;
5561 PyObject
* obj0
= 0 ;
5562 PyObject
* obj1
= 0 ;
5563 PyObject
* obj2
= 0 ;
5565 (char *) "self",(char *) "self",(char *) "_class", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 Py_INCREF(Py_None
); resultobj
= Py_None
;
5586 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5588 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5589 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5591 return Py_BuildValue((char *)"");
5593 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxWindow
*arg1
= (wxWindow
*) 0 ;
5596 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5597 bool arg3
= (bool) True
;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5601 PyObject
* obj2
= 0 ;
5603 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5608 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5610 arg3
= PyInt_AsLong(obj2
) ? true : false;
5611 if (PyErr_Occurred()) SWIG_fail
;
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= PyInt_FromLong((long)result
);
5627 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 wxString
*arg1
= 0 ;
5631 wxTipProvider
*result
;
5632 bool temp1
= False
;
5633 PyObject
* obj0
= 0 ;
5634 PyObject
* obj1
= 0 ;
5636 (char *) "filename",(char *) "currentTip", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5641 arg1
= wxString_in_helper(obj0
);
5642 if (arg1
== NULL
) SWIG_fail
;
5645 arg2
= (size_t) PyInt_AsLong(obj1
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5669 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5672 int arg2
= (int) -1 ;
5674 PyObject
* obj0
= 0 ;
5676 (char *) "owner",(char *) "id", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5697 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5698 PyObject
*resultobj
;
5699 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5700 PyObject
* obj0
= 0 ;
5702 (char *) "self", NULL
5705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5724 PyObject
*arg2
= (PyObject
*) 0 ;
5725 PyObject
*arg3
= (PyObject
*) 0 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5728 PyObject
* obj2
= 0 ;
5730 (char *) "self",(char *) "self",(char *) "_class", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5754 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5755 int arg3
= (int) -1 ;
5756 PyObject
* obj0
= 0 ;
5757 PyObject
* obj1
= 0 ;
5759 (char *) "self",(char *) "owner",(char *) "id", NULL
5762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 (arg1
)->SetOwner(arg2
,arg3
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5772 Py_INCREF(Py_None
); resultobj
= Py_None
;
5779 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5780 PyObject
*resultobj
;
5781 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5782 int arg2
= (int) -1 ;
5783 bool arg3
= (bool) False
;
5785 PyObject
* obj0
= 0 ;
5786 PyObject
* obj2
= 0 ;
5788 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5794 arg3
= PyInt_AsLong(obj2
) ? true : false;
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5799 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5801 wxPyEndAllowThreads(__tstate
);
5802 if (PyErr_Occurred()) SWIG_fail
;
5804 resultobj
= PyInt_FromLong((long)result
);
5811 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5814 PyObject
* obj0
= 0 ;
5816 (char *) "self", NULL
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 Py_INCREF(Py_None
); resultobj
= Py_None
;
5835 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5839 PyObject
* obj0
= 0 ;
5841 (char *) "self", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= PyInt_FromLong((long)result
);
5860 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= PyInt_FromLong((long)result
);
5885 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5886 PyObject
*resultobj
;
5887 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5889 PyObject
* obj0
= 0 ;
5891 (char *) "self", NULL
5894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= PyInt_FromLong((long)result
);
5910 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5911 PyObject
*resultobj
;
5912 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5914 PyObject
* obj0
= 0 ;
5916 (char *) "self", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5923 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
5925 wxPyEndAllowThreads(__tstate
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5928 resultobj
= PyInt_FromLong((long)result
);
5935 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5938 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5940 return Py_BuildValue((char *)"");
5942 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 int arg1
= (int) 0 ;
5945 int arg2
= (int) 0 ;
5946 wxTimerEvent
*result
;
5948 (char *) "timerid",(char *) "interval", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5966 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5972 (char *) "self", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5981 wxPyEndAllowThreads(__tstate
);
5982 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= PyInt_FromLong((long)result
);
5991 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5994 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5996 return Py_BuildValue((char *)"");
5998 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5999 PyObject
*resultobj
;
6001 wxTimerRunner
*result
;
6002 PyObject
* obj0
= 0 ;
6004 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6023 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6024 PyObject
*resultobj
;
6027 bool arg3
= (bool) False
;
6028 wxTimerRunner
*result
;
6029 PyObject
* obj0
= 0 ;
6030 PyObject
* obj2
= 0 ;
6032 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
6033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6038 arg3
= PyInt_AsLong(obj2
) ? true : false;
6039 if (PyErr_Occurred()) SWIG_fail
;
6042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6043 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6045 wxPyEndAllowThreads(__tstate
);
6046 if (PyErr_Occurred()) SWIG_fail
;
6048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6055 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6060 argc
= PyObject_Length(args
);
6061 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6062 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6068 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6076 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6079 if ((argc
>= 2) && (argc
<= 3)) {
6083 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6092 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6096 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6099 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6102 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6108 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6113 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6116 PyObject
* obj0
= 0 ;
6118 (char *) "self", NULL
6121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 wxPyEndAllowThreads(__tstate
);
6128 if (PyErr_Occurred()) SWIG_fail
;
6130 Py_INCREF(Py_None
); resultobj
= Py_None
;
6137 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6138 PyObject
*resultobj
;
6139 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6141 bool arg3
= (bool) False
;
6142 PyObject
* obj0
= 0 ;
6143 PyObject
* obj2
= 0 ;
6145 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6151 arg3
= PyInt_AsLong(obj2
) ? true : false;
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 (arg1
)->Start(arg2
,arg3
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 Py_INCREF(Py_None
); resultobj
= Py_None
;
6168 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6171 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6173 return Py_BuildValue((char *)"");
6175 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6176 PyObject
*resultobj
;
6182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (wxLog
*)new wxLog();
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6197 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6207 result
= (bool)wxLog::IsEnabled();
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= PyInt_FromLong((long)result
);
6219 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6220 PyObject
*resultobj
;
6221 bool arg1
= (bool) True
;
6223 PyObject
* obj0
= 0 ;
6225 (char *) "doIt", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6230 arg1
= PyInt_AsLong(obj0
) ? true : false;
6231 if (PyErr_Occurred()) SWIG_fail
;
6234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6235 result
= (bool)wxLog::EnableLogging(arg1
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6240 resultobj
= PyInt_FromLong((long)result
);
6247 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6248 PyObject
*resultobj
;
6250 wxChar
*arg2
= (wxChar
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6253 PyObject
* obj1
= 0 ;
6254 PyObject
* obj2
= 0 ;
6256 (char *) "level",(char *) "szString",(char *) "t", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6260 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6261 if (PyErr_Occurred()) SWIG_fail
;
6262 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6263 arg3
= (time_t) PyInt_AsLong(obj2
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 Py_INCREF(Py_None
); resultobj
= Py_None
;
6279 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxLog
*arg1
= (wxLog
*) 0 ;
6282 PyObject
* obj0
= 0 ;
6284 (char *) "self", NULL
6287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 Py_INCREF(Py_None
); resultobj
= Py_None
;
6303 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 wxLog::FlushActive();
6314 wxPyEndAllowThreads(__tstate
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6317 Py_INCREF(Py_None
); resultobj
= Py_None
;
6324 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
;
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxLog
*)wxLog::GetActiveTarget();
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6339 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6346 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6347 PyObject
*resultobj
;
6348 wxLog
*arg1
= (wxLog
*) 0 ;
6350 PyObject
* obj0
= 0 ;
6352 (char *) "pLogger", NULL
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6371 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 Py_INCREF(Py_None
); resultobj
= Py_None
;
6392 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6403 wxPyEndAllowThreads(__tstate
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 Py_INCREF(Py_None
); resultobj
= Py_None
;
6413 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6414 PyObject
*resultobj
;
6415 bool arg1
= (bool) True
;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "bVerbose", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6423 arg1
= PyInt_AsLong(obj0
) ? true : false;
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 wxLog::SetVerbose(arg1
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6443 PyObject
* obj0
= 0 ;
6445 (char *) "logLevel", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6449 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6450 if (PyErr_Occurred()) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 wxLog::SetLogLevel(arg1
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6458 Py_INCREF(Py_None
); resultobj
= Py_None
;
6465 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6466 PyObject
*resultobj
;
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxLog::DontCreateOnDemand();
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6486 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6489 PyObject
* obj0
= 0 ;
6491 (char *) "ulMask", NULL
6494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6495 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxLog::SetTraceMask(arg1
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6504 Py_INCREF(Py_None
); resultobj
= Py_None
;
6511 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6512 PyObject
*resultobj
;
6513 wxString
*arg1
= 0 ;
6514 bool temp1
= False
;
6515 PyObject
* obj0
= 0 ;
6517 (char *) "str", NULL
6520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6522 arg1
= wxString_in_helper(obj0
);
6523 if (arg1
== NULL
) SWIG_fail
;
6527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6528 wxLog::AddTraceMask((wxString
const &)*arg1
);
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6533 Py_INCREF(Py_None
); resultobj
= Py_None
;
6548 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
;
6550 wxString
*arg1
= 0 ;
6551 bool temp1
= False
;
6552 PyObject
* obj0
= 0 ;
6554 (char *) "str", NULL
6557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6559 arg1
= wxString_in_helper(obj0
);
6560 if (arg1
== NULL
) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6570 Py_INCREF(Py_None
); resultobj
= Py_None
;
6585 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6594 wxLog::ClearTraceMasks();
6596 wxPyEndAllowThreads(__tstate
);
6597 if (PyErr_Occurred()) SWIG_fail
;
6599 Py_INCREF(Py_None
); resultobj
= Py_None
;
6606 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxArrayString
*result
;
6613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6618 result
= (wxArrayString
*) &_result_ref
;
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= wxArrayString2PyList_helper(*result
);
6633 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxChar
*arg1
= (wxChar
*) 0 ;
6636 PyObject
* obj0
= 0 ;
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 wxLog::SetTimestamp((wxChar
const *)arg1
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 Py_INCREF(Py_None
); resultobj
= Py_None
;
6657 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (bool)wxLog::GetVerbose();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= PyInt_FromLong((long)result
);
6679 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (wxTraceMask
)wxLog::GetTraceMask();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= PyInt_FromLong((long)result
);
6701 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6702 PyObject
*resultobj
;
6703 wxChar
*arg1
= (wxChar
*) 0 ;
6705 PyObject
* obj0
= 0 ;
6707 (char *) "mask", NULL
6710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6719 resultobj
= PyInt_FromLong((long)result
);
6726 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6727 PyObject
*resultobj
;
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 result
= (wxLogLevel
)wxLog::GetLogLevel();
6738 wxPyEndAllowThreads(__tstate
);
6739 if (PyErr_Occurred()) SWIG_fail
;
6741 resultobj
= PyInt_FromLong((long)result
);
6748 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (wxChar
*)wxLog::GetTimestamp();
6760 wxPyEndAllowThreads(__tstate
);
6761 if (PyErr_Occurred()) SWIG_fail
;
6763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6770 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6771 PyObject
*resultobj
;
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= Log_TimeStamp();
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6798 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxLog
*arg1
= (wxLog
*) 0 ;
6801 PyObject
* obj0
= 0 ;
6803 (char *) "self", NULL
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 wxLog_Destroy(arg1
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6815 Py_INCREF(Py_None
); resultobj
= Py_None
;
6822 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6825 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6827 return Py_BuildValue((char *)"");
6829 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6830 PyObject
*resultobj
;
6831 wxLogStderr
*result
;
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (wxLogStderr
*)new wxLogStderr();
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6851 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6854 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6856 return Py_BuildValue((char *)"");
6858 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6859 PyObject
*resultobj
;
6860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6861 wxLogTextCtrl
*result
;
6862 PyObject
* obj0
= 0 ;
6864 (char *) "pTextCtrl", NULL
6867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6883 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6886 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6888 return Py_BuildValue((char *)"");
6890 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6891 PyObject
*resultobj
;
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (wxLogGui
*)new wxLogGui();
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6912 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6915 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6917 return Py_BuildValue((char *)"");
6919 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxFrame
*arg1
= (wxFrame
*) 0 ;
6922 wxString
*arg2
= 0 ;
6923 bool arg3
= (bool) True
;
6924 bool arg4
= (bool) True
;
6925 wxLogWindow
*result
;
6926 bool temp2
= False
;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6930 PyObject
* obj3
= 0 ;
6932 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6938 arg2
= wxString_in_helper(obj1
);
6939 if (arg2
== NULL
) SWIG_fail
;
6943 arg3
= PyInt_AsLong(obj2
) ? true : false;
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 arg4
= PyInt_AsLong(obj3
) ? true : false;
6948 if (PyErr_Occurred()) SWIG_fail
;
6951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6952 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6954 wxPyEndAllowThreads(__tstate
);
6955 if (PyErr_Occurred()) SWIG_fail
;
6957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6972 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
;
6974 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6975 bool arg2
= (bool) True
;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6979 (char *) "self",(char *) "bShow", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6985 arg2
= PyInt_AsLong(obj1
) ? true : false;
6986 if (PyErr_Occurred()) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6995 Py_INCREF(Py_None
); resultobj
= Py_None
;
7002 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7006 PyObject
* obj0
= 0 ;
7008 (char *) "self", NULL
7011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= wxPyMake_wxObject(result
);
7029 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7030 PyObject
*resultobj
;
7031 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7033 PyObject
* obj0
= 0 ;
7035 (char *) "self", NULL
7038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7054 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 resultobj
= PyInt_FromLong((long)result
);
7079 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7086 (char *) "self",(char *) "bDoPass", NULL
7089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7091 arg2
= PyInt_AsLong(obj1
) ? true : false;
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 (arg1
)->PassMessages(arg2
);
7097 wxPyEndAllowThreads(__tstate
);
7098 if (PyErr_Occurred()) SWIG_fail
;
7100 Py_INCREF(Py_None
); resultobj
= Py_None
;
7107 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7110 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7112 return Py_BuildValue((char *)"");
7114 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7115 PyObject
*resultobj
;
7116 wxLog
*arg1
= (wxLog
*) 0 ;
7118 PyObject
* obj0
= 0 ;
7120 (char *) "logger", NULL
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7127 result
= (wxLogChain
*)new wxLogChain(arg1
);
7129 wxPyEndAllowThreads(__tstate
);
7130 if (PyErr_Occurred()) SWIG_fail
;
7132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7139 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7140 PyObject
*resultobj
;
7141 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7142 wxLog
*arg2
= (wxLog
*) 0 ;
7143 PyObject
* obj0
= 0 ;
7144 PyObject
* obj1
= 0 ;
7146 (char *) "self",(char *) "logger", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7151 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 (arg1
)->SetLog(arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7171 PyObject
* obj1
= 0 ;
7173 (char *) "self",(char *) "bDoPass", NULL
7176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7178 arg2
= PyInt_AsLong(obj1
) ? true : false;
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 (arg1
)->PassMessages(arg2
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 Py_INCREF(Py_None
); resultobj
= Py_None
;
7194 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7207 result
= (bool)(arg1
)->IsPassingMessages();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= PyInt_FromLong((long)result
);
7219 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "self", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (wxLog
*)(arg1
)->GetOldLog();
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7244 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7247 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7249 return Py_BuildValue((char *)"");
7251 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 unsigned long result
;
7258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (unsigned long)wxSysErrorCode();
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= PyInt_FromLong((long)result
);
7273 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7274 PyObject
*resultobj
;
7275 unsigned long arg1
= (unsigned long) 0 ;
7277 PyObject
* obj0
= 0 ;
7279 (char *) "nErrCode", NULL
7282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7284 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7289 result
= wxSysErrorMsg(arg1
);
7291 wxPyEndAllowThreads(__tstate
);
7292 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7307 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7309 wxString
*arg1
= 0 ;
7310 bool temp1
= False
;
7311 PyObject
* obj0
= 0 ;
7313 (char *) "msg", NULL
7316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7318 arg1
= wxString_in_helper(obj0
);
7319 if (arg1
== NULL
) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 wxLogFatalError((wxString
const &)*arg1
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7344 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7345 PyObject
*resultobj
;
7346 wxString
*arg1
= 0 ;
7347 bool temp1
= False
;
7348 PyObject
* obj0
= 0 ;
7350 (char *) "msg", NULL
7353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7355 arg1
= wxString_in_helper(obj0
);
7356 if (arg1
== NULL
) SWIG_fail
;
7360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7361 wxLogError((wxString
const &)*arg1
);
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxString
*arg1
= 0 ;
7384 bool temp1
= False
;
7385 PyObject
* obj0
= 0 ;
7387 (char *) "msg", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7392 arg1
= wxString_in_helper(obj0
);
7393 if (arg1
== NULL
) SWIG_fail
;
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 wxLogWarning((wxString
const &)*arg1
);
7400 wxPyEndAllowThreads(__tstate
);
7401 if (PyErr_Occurred()) SWIG_fail
;
7403 Py_INCREF(Py_None
); resultobj
= Py_None
;
7418 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxString
*arg1
= 0 ;
7421 bool temp1
= False
;
7422 PyObject
* obj0
= 0 ;
7424 (char *) "msg", NULL
7427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7429 arg1
= wxString_in_helper(obj0
);
7430 if (arg1
== NULL
) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 wxLogMessage((wxString
const &)*arg1
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 Py_INCREF(Py_None
); resultobj
= Py_None
;
7455 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
;
7457 wxString
*arg1
= 0 ;
7458 bool temp1
= False
;
7459 PyObject
* obj0
= 0 ;
7461 (char *) "msg", NULL
7464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7466 arg1
= wxString_in_helper(obj0
);
7467 if (arg1
== NULL
) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxLogInfo((wxString
const &)*arg1
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 Py_INCREF(Py_None
); resultobj
= Py_None
;
7492 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxString
*arg1
= 0 ;
7495 bool temp1
= False
;
7496 PyObject
* obj0
= 0 ;
7498 (char *) "msg", NULL
7501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7503 arg1
= wxString_in_helper(obj0
);
7504 if (arg1
== NULL
) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 wxLogDebug((wxString
const &)*arg1
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 Py_INCREF(Py_None
); resultobj
= Py_None
;
7529 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxString
*arg1
= 0 ;
7532 bool temp1
= False
;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "msg", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7540 arg1
= wxString_in_helper(obj0
);
7541 if (arg1
== NULL
) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 wxLogVerbose((wxString
const &)*arg1
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 Py_INCREF(Py_None
); resultobj
= Py_None
;
7566 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7567 PyObject
*resultobj
;
7568 wxString
*arg1
= 0 ;
7569 bool temp1
= False
;
7570 PyObject
* obj0
= 0 ;
7572 (char *) "msg", NULL
7575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7577 arg1
= wxString_in_helper(obj0
);
7578 if (arg1
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 wxLogStatus((wxString
const &)*arg1
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxFrame
*arg1
= (wxFrame
*) 0 ;
7606 wxString
*arg2
= 0 ;
7607 bool temp2
= False
;
7608 PyObject
* obj0
= 0 ;
7609 PyObject
* obj1
= 0 ;
7611 (char *) "pFrame",(char *) "msg", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7617 arg2
= wxString_in_helper(obj1
);
7618 if (arg2
== NULL
) SWIG_fail
;
7622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7623 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7625 wxPyEndAllowThreads(__tstate
);
7626 if (PyErr_Occurred()) SWIG_fail
;
7628 Py_INCREF(Py_None
); resultobj
= Py_None
;
7643 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7644 PyObject
*resultobj
;
7645 wxString
*arg1
= 0 ;
7646 bool temp1
= False
;
7647 PyObject
* obj0
= 0 ;
7649 (char *) "msg", NULL
7652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7654 arg1
= wxString_in_helper(obj0
);
7655 if (arg1
== NULL
) SWIG_fail
;
7659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7660 wxLogSysError((wxString
const &)*arg1
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7665 Py_INCREF(Py_None
); resultobj
= Py_None
;
7680 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
7681 PyObject
*resultobj
;
7682 unsigned long arg1
;
7683 wxString
*arg2
= 0 ;
7684 bool temp2
= False
;
7685 PyObject
* obj0
= 0 ;
7686 PyObject
* obj1
= 0 ;
7688 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7689 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 arg2
= wxString_in_helper(obj1
);
7693 if (arg2
== NULL
) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 wxLogTrace(arg1
,(wxString
const &)*arg2
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 Py_INCREF(Py_None
); resultobj
= Py_None
;
7718 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
7719 PyObject
*resultobj
;
7720 wxString
*arg1
= 0 ;
7721 wxString
*arg2
= 0 ;
7722 bool temp1
= False
;
7723 bool temp2
= False
;
7724 PyObject
* obj0
= 0 ;
7725 PyObject
* obj1
= 0 ;
7727 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7729 arg1
= wxString_in_helper(obj0
);
7730 if (arg1
== NULL
) SWIG_fail
;
7734 arg2
= wxString_in_helper(obj1
);
7735 if (arg2
== NULL
) SWIG_fail
;
7739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7740 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 Py_INCREF(Py_None
); resultobj
= Py_None
;
7768 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
7773 argc
= PyObject_Length(args
);
7774 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
7775 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7781 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7791 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7799 return _wrap_LogTrace__SWIG_1(self
,args
);
7806 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7811 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7819 return _wrap_LogTrace__SWIG_0(self
,args
);
7824 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
7829 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7830 PyObject
*resultobj
;
7831 unsigned long arg1
;
7832 wxString
*arg2
= 0 ;
7833 bool temp2
= False
;
7834 PyObject
* obj0
= 0 ;
7835 PyObject
* obj1
= 0 ;
7837 (char *) "level",(char *) "msg", NULL
7840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7841 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7844 arg2
= wxString_in_helper(obj1
);
7845 if (arg2
== NULL
) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7870 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxString
*arg1
= 0 ;
7873 wxString
*arg2
= 0 ;
7874 bool temp1
= False
;
7875 bool temp2
= False
;
7876 PyObject
* obj0
= 0 ;
7877 PyObject
* obj1
= 0 ;
7879 (char *) "title",(char *) "text", NULL
7882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7884 arg1
= wxString_in_helper(obj0
);
7885 if (arg1
== NULL
) SWIG_fail
;
7889 arg2
= wxString_in_helper(obj1
);
7890 if (arg2
== NULL
) SWIG_fail
;
7894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7895 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7897 wxPyEndAllowThreads(__tstate
);
7898 if (PyErr_Occurred()) SWIG_fail
;
7900 Py_INCREF(Py_None
); resultobj
= Py_None
;
7923 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (wxLogNull
*)new wxLogNull();
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7945 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7948 PyObject
* obj0
= 0 ;
7950 (char *) "self", NULL
7953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 wxPyEndAllowThreads(__tstate
);
7960 if (PyErr_Occurred()) SWIG_fail
;
7962 Py_INCREF(Py_None
); resultobj
= Py_None
;
7969 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7972 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7974 return Py_BuildValue((char *)"");
7976 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
;
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (wxPyLog
*)new wxPyLog();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7998 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8001 PyObject
*arg2
= (PyObject
*) 0 ;
8002 PyObject
*arg3
= (PyObject
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8007 (char *) "self",(char *) "self",(char *) "_class", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 Py_INCREF(Py_None
); resultobj
= Py_None
;
8028 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8031 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8033 return Py_BuildValue((char *)"");
8035 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8038 int arg2
= (int) wxSIGTERM
;
8041 (char *) "pid",(char *) "sig", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
8046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8047 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8052 resultobj
= PyInt_FromLong((long)result
);
8059 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8060 PyObject
*resultobj
;
8064 (char *) "pid", NULL
8067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
8069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8070 result
= (bool)wxPyProcess::Exists(arg1
);
8072 wxPyEndAllowThreads(__tstate
);
8073 if (PyErr_Occurred()) SWIG_fail
;
8075 resultobj
= PyInt_FromLong((long)result
);
8082 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxString
*arg1
= 0 ;
8085 int arg2
= (int) wxEXEC_ASYNC
;
8086 wxPyProcess
*result
;
8087 bool temp1
= False
;
8088 PyObject
* obj0
= 0 ;
8090 (char *) "cmd",(char *) "flags", NULL
8093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
8095 arg1
= wxString_in_helper(obj0
);
8096 if (arg1
== NULL
) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8121 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8122 PyObject
*resultobj
;
8123 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8124 int arg2
= (int) -1 ;
8125 wxPyProcess
*result
;
8126 PyObject
* obj0
= 0 ;
8128 (char *) "parent",(char *) "id", NULL
8131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8149 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8150 PyObject
*resultobj
;
8151 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8152 PyObject
*arg2
= (PyObject
*) 0 ;
8153 PyObject
*arg3
= (PyObject
*) 0 ;
8154 PyObject
* obj0
= 0 ;
8155 PyObject
* obj1
= 0 ;
8156 PyObject
* obj2
= 0 ;
8158 (char *) "self",(char *) "self",(char *) "_class", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 Py_INCREF(Py_None
); resultobj
= Py_None
;
8179 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8180 PyObject
*resultobj
;
8181 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8184 PyObject
* obj0
= 0 ;
8186 (char *) "self",(char *) "pid",(char *) "status", NULL
8189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8193 (arg1
)->base_OnTerminate(arg2
,arg3
);
8195 wxPyEndAllowThreads(__tstate
);
8196 if (PyErr_Occurred()) SWIG_fail
;
8198 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "self", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 Py_INCREF(Py_None
); resultobj
= Py_None
;
8229 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (bool)(arg1
)->IsRedirected();
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= PyInt_FromLong((long)result
);
8254 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8255 PyObject
*resultobj
;
8256 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8257 PyObject
* obj0
= 0 ;
8259 (char *) "self", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8268 wxPyEndAllowThreads(__tstate
);
8269 if (PyErr_Occurred()) SWIG_fail
;
8271 Py_INCREF(Py_None
); resultobj
= Py_None
;
8278 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8281 wxInputStream
*result
;
8282 PyObject
* obj0
= 0 ;
8284 (char *) "self", NULL
8287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8297 wxPyInputStream
* _ptr
= NULL
;
8300 _ptr
= new wxPyInputStream(result
);
8302 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8310 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8313 wxInputStream
*result
;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "self", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8329 wxPyInputStream
* _ptr
= NULL
;
8332 _ptr
= new wxPyInputStream(result
);
8334 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8342 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8345 wxOutputStream
*result
;
8346 PyObject
* obj0
= 0 ;
8348 (char *) "self", NULL
8351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8355 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8357 wxPyEndAllowThreads(__tstate
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8367 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8368 PyObject
*resultobj
;
8369 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8370 PyObject
* obj0
= 0 ;
8372 (char *) "self", NULL
8375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 (arg1
)->CloseOutput();
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8391 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8395 PyObject
* obj0
= 0 ;
8397 (char *) "self", NULL
8400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= PyInt_FromLong((long)result
);
8416 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
;
8418 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8420 PyObject
* obj0
= 0 ;
8422 (char *) "self", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8429 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8431 wxPyEndAllowThreads(__tstate
);
8432 if (PyErr_Occurred()) SWIG_fail
;
8434 resultobj
= PyInt_FromLong((long)result
);
8441 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8445 PyObject
* obj0
= 0 ;
8447 (char *) "self", NULL
8450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 resultobj
= PyInt_FromLong((long)result
);
8466 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8469 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8471 return Py_BuildValue((char *)"");
8473 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8474 PyObject
*resultobj
;
8475 int arg1
= (int) 0 ;
8476 int arg2
= (int) 0 ;
8477 int arg3
= (int) 0 ;
8478 wxProcessEvent
*result
;
8480 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8486 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8498 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
;
8500 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8502 PyObject
* obj0
= 0 ;
8504 (char *) "self", NULL
8507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (int)(arg1
)->GetPid();
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyInt_FromLong((long)result
);
8523 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8524 PyObject
*resultobj
;
8525 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8527 PyObject
* obj0
= 0 ;
8529 (char *) "self", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8536 result
= (int)(arg1
)->GetExitCode();
8538 wxPyEndAllowThreads(__tstate
);
8539 if (PyErr_Occurred()) SWIG_fail
;
8541 resultobj
= PyInt_FromLong((long)result
);
8548 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self",(char *) "m_pid", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8559 if (arg1
) (arg1
)->m_pid
= arg2
;
8561 Py_INCREF(Py_None
); resultobj
= Py_None
;
8568 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8569 PyObject
*resultobj
;
8570 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8572 PyObject
* obj0
= 0 ;
8574 (char *) "self", NULL
8577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8579 result
= (int) ((arg1
)->m_pid
);
8581 resultobj
= PyInt_FromLong((long)result
);
8588 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8592 PyObject
* obj0
= 0 ;
8594 (char *) "self",(char *) "m_exitcode", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8599 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8608 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8609 PyObject
*resultobj
;
8610 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8612 PyObject
* obj0
= 0 ;
8614 (char *) "self", NULL
8617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8619 result
= (int) ((arg1
)->m_exitcode
);
8621 resultobj
= PyInt_FromLong((long)result
);
8628 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8631 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8633 return Py_BuildValue((char *)"");
8635 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8636 PyObject
*resultobj
;
8637 wxString
*arg1
= 0 ;
8638 int arg2
= (int) wxEXEC_ASYNC
;
8639 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8641 bool temp1
= False
;
8642 PyObject
* obj0
= 0 ;
8643 PyObject
* obj2
= 0 ;
8645 (char *) "command",(char *) "flags",(char *) "process", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8650 arg1
= wxString_in_helper(obj0
);
8651 if (arg1
== NULL
) SWIG_fail
;
8655 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8659 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8661 wxPyEndAllowThreads(__tstate
);
8662 if (PyErr_Occurred()) SWIG_fail
;
8664 resultobj
= PyInt_FromLong((long)result
);
8679 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 int arg1
= (int) wxJOYSTICK1
;
8684 (char *) "joystick", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (wxJoystick
*)new wxJoystick(arg1
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8702 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
;
8704 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8705 PyObject
* obj0
= 0 ;
8707 (char *) "self", NULL
8710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8730 PyObject
* obj0
= 0 ;
8732 (char *) "self", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 result
= (arg1
)->GetPosition();
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 wxPoint
* resultptr
;
8746 resultptr
= new wxPoint((wxPoint
&) result
);
8747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8755 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8759 PyObject
* obj0
= 0 ;
8761 (char *) "self", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (int)(arg1
)->GetZPosition();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= PyInt_FromLong((long)result
);
8780 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8784 PyObject
* obj0
= 0 ;
8786 (char *) "self", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (int)(arg1
)->GetButtonState();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= PyInt_FromLong((long)result
);
8805 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8811 (char *) "self", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (int)(arg1
)->GetPOVPosition();
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= PyInt_FromLong((long)result
);
8830 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8834 PyObject
* obj0
= 0 ;
8836 (char *) "self", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (int)(arg1
)->GetPOVCTSPosition();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= PyInt_FromLong((long)result
);
8855 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8861 (char *) "self", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (int)(arg1
)->GetRudderPosition();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= PyInt_FromLong((long)result
);
8880 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (int)(arg1
)->GetUPosition();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= PyInt_FromLong((long)result
);
8905 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "self", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (int)(arg1
)->GetVPosition();
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= PyInt_FromLong((long)result
);
8930 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (int)(arg1
)->GetMovementThreshold();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 resultobj
= PyInt_FromLong((long)result
);
8955 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8959 PyObject
* obj0
= 0 ;
8961 (char *) "self",(char *) "threshold", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8968 (arg1
)->SetMovementThreshold(arg2
);
8970 wxPyEndAllowThreads(__tstate
);
8971 if (PyErr_Occurred()) SWIG_fail
;
8973 Py_INCREF(Py_None
); resultobj
= Py_None
;
8980 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8981 PyObject
*resultobj
;
8982 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8984 PyObject
* obj0
= 0 ;
8986 (char *) "self", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 result
= (bool)(arg1
)->IsOk();
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= PyInt_FromLong((long)result
);
9005 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9006 PyObject
*resultobj
;
9007 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9009 PyObject
* obj0
= 0 ;
9011 (char *) "self", NULL
9014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9018 result
= (int)(arg1
)->GetNumberJoysticks();
9020 wxPyEndAllowThreads(__tstate
);
9021 if (PyErr_Occurred()) SWIG_fail
;
9023 resultobj
= PyInt_FromLong((long)result
);
9030 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9031 PyObject
*resultobj
;
9032 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9034 PyObject
* obj0
= 0 ;
9036 (char *) "self", NULL
9039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (int)(arg1
)->GetManufacturerId();
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= PyInt_FromLong((long)result
);
9055 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9059 PyObject
* obj0
= 0 ;
9061 (char *) "self", NULL
9064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 result
= (int)(arg1
)->GetProductId();
9070 wxPyEndAllowThreads(__tstate
);
9071 if (PyErr_Occurred()) SWIG_fail
;
9073 resultobj
= PyInt_FromLong((long)result
);
9080 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9084 PyObject
* obj0
= 0 ;
9086 (char *) "self", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (arg1
)->GetProductName();
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9111 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (int)(arg1
)->GetXMin();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= PyInt_FromLong((long)result
);
9136 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9140 PyObject
* obj0
= 0 ;
9142 (char *) "self", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (int)(arg1
)->GetYMin();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= PyInt_FromLong((long)result
);
9161 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9165 PyObject
* obj0
= 0 ;
9167 (char *) "self", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (int)(arg1
)->GetZMin();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= PyInt_FromLong((long)result
);
9186 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "self", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (int)(arg1
)->GetXMax();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= PyInt_FromLong((long)result
);
9211 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (int)(arg1
)->GetYMax();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= PyInt_FromLong((long)result
);
9236 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "self", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (int)(arg1
)->GetZMax();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= PyInt_FromLong((long)result
);
9261 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (int)(arg1
)->GetNumberButtons();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= PyInt_FromLong((long)result
);
9286 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (int)(arg1
)->GetNumberAxes();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= PyInt_FromLong((long)result
);
9311 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9317 (char *) "self", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (int)(arg1
)->GetMaxButtons();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= PyInt_FromLong((long)result
);
9336 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (int)(arg1
)->GetMaxAxes();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= PyInt_FromLong((long)result
);
9361 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (int)(arg1
)->GetPollingMin();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= PyInt_FromLong((long)result
);
9386 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (int)(arg1
)->GetPollingMax();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= PyInt_FromLong((long)result
);
9411 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (int)(arg1
)->GetRudderMin();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= PyInt_FromLong((long)result
);
9436 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (int)(arg1
)->GetRudderMax();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= PyInt_FromLong((long)result
);
9461 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (int)(arg1
)->GetUMin();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= PyInt_FromLong((long)result
);
9486 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (int)(arg1
)->GetUMax();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= PyInt_FromLong((long)result
);
9511 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (int)(arg1
)->GetVMin();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= PyInt_FromLong((long)result
);
9536 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (int)(arg1
)->GetVMax();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= PyInt_FromLong((long)result
);
9561 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->HasRudder();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= PyInt_FromLong((long)result
);
9586 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (bool)(arg1
)->HasZ();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= PyInt_FromLong((long)result
);
9611 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9624 result
= (bool)(arg1
)->HasU();
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= PyInt_FromLong((long)result
);
9636 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9637 PyObject
*resultobj
;
9638 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9640 PyObject
* obj0
= 0 ;
9642 (char *) "self", NULL
9645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (bool)(arg1
)->HasV();
9651 wxPyEndAllowThreads(__tstate
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= PyInt_FromLong((long)result
);
9661 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9662 PyObject
*resultobj
;
9663 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9665 PyObject
* obj0
= 0 ;
9667 (char *) "self", NULL
9670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)(arg1
)->HasPOV();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= PyInt_FromLong((long)result
);
9686 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 result
= (bool)(arg1
)->HasPOV4Dir();
9701 wxPyEndAllowThreads(__tstate
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= PyInt_FromLong((long)result
);
9711 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9712 PyObject
*resultobj
;
9713 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9717 (char *) "self", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (bool)(arg1
)->HasPOVCTS();
9726 wxPyEndAllowThreads(__tstate
);
9727 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= PyInt_FromLong((long)result
);
9736 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9737 PyObject
*resultobj
;
9738 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9739 wxWindow
*arg2
= (wxWindow
*) 0 ;
9740 int arg3
= (int) 0 ;
9742 PyObject
* obj0
= 0 ;
9743 PyObject
* obj1
= 0 ;
9745 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= PyInt_FromLong((long)result
);
9765 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9771 (char *) "self", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (bool)(arg1
)->ReleaseCapture();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= PyInt_FromLong((long)result
);
9790 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9793 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9795 return Py_BuildValue((char *)"");
9797 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9800 wxPoint
*arg2
= (wxPoint
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9802 PyObject
* obj1
= 0 ;
9804 (char *) "self",(char *) "m_pos", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9810 if (arg1
) (arg1
)->m_pos
= *arg2
;
9812 Py_INCREF(Py_None
); resultobj
= Py_None
;
9819 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9830 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9839 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9843 PyObject
* obj0
= 0 ;
9845 (char *) "self",(char *) "m_zPosition", NULL
9848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9850 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9852 Py_INCREF(Py_None
); resultobj
= Py_None
;
9859 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9860 PyObject
*resultobj
;
9861 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9863 PyObject
* obj0
= 0 ;
9865 (char *) "self", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9870 result
= (int) ((arg1
)->m_zPosition
);
9872 resultobj
= PyInt_FromLong((long)result
);
9879 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9883 PyObject
* obj0
= 0 ;
9885 (char *) "self",(char *) "m_buttonChange", NULL
9888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9890 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9892 Py_INCREF(Py_None
); resultobj
= Py_None
;
9899 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9910 result
= (int) ((arg1
)->m_buttonChange
);
9912 resultobj
= PyInt_FromLong((long)result
);
9919 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
;
9921 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9923 PyObject
* obj0
= 0 ;
9925 (char *) "self",(char *) "m_buttonState", NULL
9928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9930 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9932 Py_INCREF(Py_None
); resultobj
= Py_None
;
9939 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9941 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9943 PyObject
* obj0
= 0 ;
9945 (char *) "self", NULL
9948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9950 result
= (int) ((arg1
)->m_buttonState
);
9952 resultobj
= PyInt_FromLong((long)result
);
9959 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self",(char *) "m_joyStick", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9970 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9972 Py_INCREF(Py_None
); resultobj
= Py_None
;
9979 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9990 result
= (int) ((arg1
)->m_joyStick
);
9992 resultobj
= PyInt_FromLong((long)result
);
9999 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10002 int arg2
= (int) 0 ;
10003 int arg3
= (int) wxJOYSTICK1
;
10004 int arg4
= (int) 0 ;
10005 wxJoystickEvent
*result
;
10006 char *kwnames
[] = {
10007 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10025 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10038 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10040 wxPyEndAllowThreads(__tstate
);
10041 if (PyErr_Occurred()) SWIG_fail
;
10044 wxPoint
* resultptr
;
10045 resultptr
= new wxPoint((wxPoint
&) result
);
10046 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10054 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 resultobj
= PyInt_FromLong((long)result
);
10079 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 char *kwnames
[] = {
10085 (char *) "self", NULL
10088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10092 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10094 wxPyEndAllowThreads(__tstate
);
10095 if (PyErr_Occurred()) SWIG_fail
;
10097 resultobj
= PyInt_FromLong((long)result
);
10104 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10108 PyObject
* obj0
= 0 ;
10109 char *kwnames
[] = {
10110 (char *) "self", NULL
10113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= PyInt_FromLong((long)result
);
10129 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10133 PyObject
* obj0
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= PyInt_FromLong((long)result
);
10154 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
;
10156 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10158 PyObject
* obj0
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "stick", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 (arg1
)->SetJoystick(arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10183 PyObject
* obj0
= 0 ;
10184 char *kwnames
[] = {
10185 (char *) "self",(char *) "state", NULL
10188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 (arg1
)->SetButtonState(arg2
);
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 Py_INCREF(Py_None
); resultobj
= Py_None
;
10204 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self",(char *) "change", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 (arg1
)->SetButtonChange(arg2
);
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 Py_INCREF(Py_None
); resultobj
= Py_None
;
10229 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10232 wxPoint
*arg2
= 0 ;
10234 PyObject
* obj0
= 0 ;
10235 PyObject
* obj1
= 0 ;
10236 char *kwnames
[] = {
10237 (char *) "self",(char *) "pos", NULL
10240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10244 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 Py_INCREF(Py_None
); resultobj
= Py_None
;
10260 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10261 PyObject
*resultobj
;
10262 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10264 PyObject
* obj0
= 0 ;
10265 char *kwnames
[] = {
10266 (char *) "self",(char *) "zPos", NULL
10269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 (arg1
)->SetZPosition(arg2
);
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10278 Py_INCREF(Py_None
); resultobj
= Py_None
;
10285 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= PyInt_FromLong((long)result
);
10310 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10325 wxPyEndAllowThreads(__tstate
);
10326 if (PyErr_Occurred()) SWIG_fail
;
10328 resultobj
= PyInt_FromLong((long)result
);
10335 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10339 PyObject
* obj0
= 0 ;
10340 char *kwnames
[] = {
10341 (char *) "self", NULL
10344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= PyInt_FromLong((long)result
);
10360 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10363 int arg2
= (int) wxJOY_BUTTON_ANY
;
10365 PyObject
* obj0
= 0 ;
10366 char *kwnames
[] = {
10367 (char *) "self",(char *) "but", NULL
10370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= PyInt_FromLong((long)result
);
10386 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10389 int arg2
= (int) wxJOY_BUTTON_ANY
;
10391 PyObject
* obj0
= 0 ;
10392 char *kwnames
[] = {
10393 (char *) "self",(char *) "but", NULL
10396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= PyInt_FromLong((long)result
);
10412 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10415 int arg2
= (int) wxJOY_BUTTON_ANY
;
10417 PyObject
* obj0
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self",(char *) "but", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= PyInt_FromLong((long)result
);
10438 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10440 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10441 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10443 return Py_BuildValue((char *)"");
10445 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxString
*arg1
= 0 ;
10448 bool arg2
= (bool) False
;
10450 bool temp1
= False
;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "fileName",(char *) "isResource", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10459 arg1
= wxString_in_helper(obj0
);
10460 if (arg1
== NULL
) SWIG_fail
;
10464 arg2
= PyInt_AsLong(obj1
) ? true : false;
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10489 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxString
*arg1
= 0 ;
10493 bool temp1
= False
;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "data", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10501 arg1
= wxString_in_helper(obj0
);
10502 if (arg1
== NULL
) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10527 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxWave
*arg1
= (wxWave
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 Py_INCREF(Py_None
); resultobj
= Py_None
;
10551 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxWave
*arg1
= (wxWave
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10564 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10566 wxPyEndAllowThreads(__tstate
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10569 resultobj
= PyInt_FromLong((long)result
);
10576 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10577 PyObject
*resultobj
;
10578 wxWave
*arg1
= (wxWave
*) 0 ;
10579 bool arg2
= (bool) True
;
10580 bool arg3
= (bool) False
;
10582 PyObject
* obj0
= 0 ;
10583 PyObject
* obj1
= 0 ;
10584 PyObject
* obj2
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "async",(char *) "looped", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 arg2
= PyInt_AsLong(obj1
) ? true : false;
10593 if (PyErr_Occurred()) SWIG_fail
;
10596 arg3
= PyInt_AsLong(obj2
) ? true : false;
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 resultobj
= PyInt_FromLong((long)result
);
10613 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10616 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10618 return Py_BuildValue((char *)"");
10620 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10621 PyObject
*resultobj
;
10622 wxString
*arg1
= 0 ;
10623 wxString
*arg2
= 0 ;
10624 wxString
*arg3
= 0 ;
10625 wxString
*arg4
= 0 ;
10626 wxFileTypeInfo
*result
;
10627 bool temp1
= False
;
10628 bool temp2
= False
;
10629 bool temp3
= False
;
10630 bool temp4
= False
;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 PyObject
* obj2
= 0 ;
10634 PyObject
* obj3
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10641 arg1
= wxString_in_helper(obj0
);
10642 if (arg1
== NULL
) SWIG_fail
;
10646 arg2
= wxString_in_helper(obj1
);
10647 if (arg2
== NULL
) SWIG_fail
;
10651 arg3
= wxString_in_helper(obj2
);
10652 if (arg3
== NULL
) SWIG_fail
;
10656 arg4
= wxString_in_helper(obj3
);
10657 if (arg4
== NULL
) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10664 wxPyEndAllowThreads(__tstate
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10706 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10707 PyObject
*resultobj
;
10708 wxArrayString
*arg1
= 0 ;
10709 wxFileTypeInfo
*result
;
10710 PyObject
* obj0
= 0 ;
10711 char *kwnames
[] = {
10712 (char *) "sArray", NULL
10715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10717 if (! PySequence_Check(obj0
)) {
10718 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10721 arg1
= new wxArrayString
;
10722 int i
, len
=PySequence_Length(obj0
);
10723 for (i
=0; i
<len
; i
++) {
10724 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10726 PyObject
* str
= PyObject_Unicode(item
);
10728 PyObject
* str
= PyObject_Str(item
);
10730 arg1
->Add(Py2wxString(str
));
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10744 if (arg1
) delete arg1
;
10749 if (arg1
) delete arg1
;
10755 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxFileTypeInfo
*result
;
10758 char *kwnames
[] = {
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10777 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= PyInt_FromLong((long)result
);
10802 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10805 wxString
*arg2
= 0 ;
10806 int arg3
= (int) 0 ;
10807 bool temp2
= False
;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10817 arg2
= wxString_in_helper(obj1
);
10818 if (arg2
== NULL
) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 Py_INCREF(Py_None
); resultobj
= Py_None
;
10843 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10844 PyObject
*resultobj
;
10845 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10846 wxString
*arg2
= 0 ;
10847 bool temp2
= False
;
10848 PyObject
* obj0
= 0 ;
10849 PyObject
* obj1
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "shortDesc", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10857 arg2
= wxString_in_helper(obj1
);
10858 if (arg2
== NULL
) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10883 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10884 PyObject
*resultobj
;
10885 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10887 PyObject
* obj0
= 0 ;
10888 char *kwnames
[] = {
10889 (char *) "self", NULL
10892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10898 result
= (wxString
*) &_result_ref
;
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10908 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10917 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10921 PyObject
* obj0
= 0 ;
10922 char *kwnames
[] = {
10923 (char *) "self", NULL
10926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10931 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10932 result
= (wxString
*) &_result_ref
;
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10940 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10942 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10951 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10966 result
= (wxString
*) &_result_ref
;
10969 wxPyEndAllowThreads(__tstate
);
10970 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10976 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10985 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10989 PyObject
* obj0
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11000 result
= (wxString
*) &_result_ref
;
11003 wxPyEndAllowThreads(__tstate
);
11004 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11010 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11019 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11020 PyObject
*resultobj
;
11021 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11023 PyObject
* obj0
= 0 ;
11024 char *kwnames
[] = {
11025 (char *) "self", NULL
11028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
11034 result
= (wxString
*) &_result_ref
;
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11044 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11053 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11056 wxArrayString
*result
;
11057 PyObject
* obj0
= 0 ;
11058 char *kwnames
[] = {
11059 (char *) "self", NULL
11062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
11063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
11068 result
= (wxArrayString
*) &_result_ref
;
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= wxArrayString2PyList_helper(*result
);
11083 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11084 PyObject
*resultobj
;
11085 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11087 PyObject
* obj0
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= PyInt_FromLong((long)result
);
11108 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 char *kwnames
[] = {
11114 (char *) "self", NULL
11117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
11118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
11123 result
= (wxString
*) &_result_ref
;
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11133 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11142 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11155 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11157 wxPyEndAllowThreads(__tstate
);
11158 if (PyErr_Occurred()) SWIG_fail
;
11160 resultobj
= PyInt_FromLong((long)result
);
11167 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11170 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11172 return Py_BuildValue((char *)"");
11174 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxFileTypeInfo
*arg1
= 0 ;
11177 wxFileType
*result
;
11178 PyObject
* obj0
= 0 ;
11179 char *kwnames
[] = {
11180 (char *) "ftInfo", NULL
11183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11185 if (arg1
== NULL
) {
11186 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11202 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxFileType
*arg1
= (wxFileType
*) 0 ;
11205 PyObject
* obj0
= 0 ;
11206 char *kwnames
[] = {
11207 (char *) "self", NULL
11210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11227 PyObject
*resultobj
;
11228 wxFileType
*arg1
= (wxFileType
*) 0 ;
11230 PyObject
* obj0
= 0 ;
11231 char *kwnames
[] = {
11232 (char *) "self", NULL
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= result
;
11251 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxFileType
*arg1
= (wxFileType
*) 0 ;
11255 PyObject
* obj0
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "self", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11269 resultobj
= result
;
11276 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11277 PyObject
*resultobj
;
11278 wxFileType
*arg1
= (wxFileType
*) 0 ;
11280 PyObject
* obj0
= 0 ;
11281 char *kwnames
[] = {
11282 (char *) "self", NULL
11285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= result
;
11301 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxFileType
*arg1
= (wxFileType
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11314 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11316 wxPyEndAllowThreads(__tstate
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11319 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11326 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxFileType
*arg1
= (wxFileType
*) 0 ;
11330 PyObject
* obj0
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11339 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11341 wxPyEndAllowThreads(__tstate
);
11342 if (PyErr_Occurred()) SWIG_fail
;
11344 resultobj
= result
;
11351 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11352 PyObject
*resultobj
;
11353 wxFileType
*arg1
= (wxFileType
*) 0 ;
11355 PyObject
* obj0
= 0 ;
11356 char *kwnames
[] = {
11357 (char *) "self", NULL
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= result
;
11376 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxFileType
*arg1
= (wxFileType
*) 0 ;
11379 wxString
*arg2
= 0 ;
11380 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11381 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11383 bool temp2
= False
;
11384 bool temp3
= False
;
11385 PyObject
* obj0
= 0 ;
11386 PyObject
* obj1
= 0 ;
11387 PyObject
* obj2
= 0 ;
11388 char *kwnames
[] = {
11389 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11395 arg2
= wxString_in_helper(obj1
);
11396 if (arg2
== NULL
) SWIG_fail
;
11401 arg3
= wxString_in_helper(obj2
);
11402 if (arg3
== NULL
) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= result
;
11436 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxFileType
*arg1
= (wxFileType
*) 0 ;
11439 wxString
*arg2
= 0 ;
11440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11443 bool temp2
= False
;
11444 bool temp3
= False
;
11445 PyObject
* obj0
= 0 ;
11446 PyObject
* obj1
= 0 ;
11447 PyObject
* obj2
= 0 ;
11448 char *kwnames
[] = {
11449 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11455 arg2
= wxString_in_helper(obj1
);
11456 if (arg2
== NULL
) SWIG_fail
;
11461 arg3
= wxString_in_helper(obj2
);
11462 if (arg3
== NULL
) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= result
;
11496 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxFileType
*arg1
= (wxFileType
*) 0 ;
11499 wxString
*arg2
= 0 ;
11500 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11501 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11503 bool temp2
= False
;
11504 bool temp3
= False
;
11505 PyObject
* obj0
= 0 ;
11506 PyObject
* obj1
= 0 ;
11507 PyObject
* obj2
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11515 arg2
= wxString_in_helper(obj1
);
11516 if (arg2
== NULL
) SWIG_fail
;
11521 arg3
= wxString_in_helper(obj2
);
11522 if (arg3
== NULL
) SWIG_fail
;
11527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11528 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11530 wxPyEndAllowThreads(__tstate
);
11531 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= result
;
11556 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxFileType
*arg1
= (wxFileType
*) 0 ;
11559 wxString
*arg2
= 0 ;
11560 wxString
*arg3
= 0 ;
11561 bool arg4
= (bool) True
;
11563 bool temp2
= False
;
11564 bool temp3
= False
;
11565 PyObject
* obj0
= 0 ;
11566 PyObject
* obj1
= 0 ;
11567 PyObject
* obj2
= 0 ;
11568 PyObject
* obj3
= 0 ;
11569 char *kwnames
[] = {
11570 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11576 arg2
= wxString_in_helper(obj1
);
11577 if (arg2
== NULL
) SWIG_fail
;
11581 arg3
= wxString_in_helper(obj2
);
11582 if (arg3
== NULL
) SWIG_fail
;
11586 arg4
= PyInt_AsLong(obj3
) ? true : false;
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11591 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11593 wxPyEndAllowThreads(__tstate
);
11594 if (PyErr_Occurred()) SWIG_fail
;
11596 resultobj
= PyInt_FromLong((long)result
);
11619 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxFileType
*arg1
= (wxFileType
*) 0 ;
11622 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11623 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11624 int arg3
= (int) 0 ;
11626 bool temp2
= False
;
11627 PyObject
* obj0
= 0 ;
11628 PyObject
* obj1
= 0 ;
11629 char *kwnames
[] = {
11630 (char *) "self",(char *) "cmd",(char *) "index", NULL
11633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11637 arg2
= wxString_in_helper(obj1
);
11638 if (arg2
== NULL
) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11649 resultobj
= PyInt_FromLong((long)result
);
11664 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxFileType
*arg1
= (wxFileType
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (bool)(arg1
)->Unassociate();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= PyInt_FromLong((long)result
);
11689 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxString
*arg1
= 0 ;
11692 wxString
*arg2
= 0 ;
11693 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11694 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11696 bool temp1
= False
;
11697 bool temp2
= False
;
11698 bool temp3
= False
;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 PyObject
* obj2
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11708 arg1
= wxString_in_helper(obj0
);
11709 if (arg1
== NULL
) SWIG_fail
;
11713 arg2
= wxString_in_helper(obj1
);
11714 if (arg2
== NULL
) SWIG_fail
;
11719 arg3
= wxString_in_helper(obj2
);
11720 if (arg3
== NULL
) SWIG_fail
;
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11728 wxPyEndAllowThreads(__tstate
);
11729 if (PyErr_Occurred()) SWIG_fail
;
11733 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11735 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11768 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11771 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11773 return Py_BuildValue((char *)"");
11775 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11776 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11781 static PyObject
*_wrap_TheMimeTypesManager_get() {
11784 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11789 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11790 PyObject
*resultobj
;
11791 wxString
*arg1
= 0 ;
11792 wxString
*arg2
= 0 ;
11794 bool temp1
= False
;
11795 bool temp2
= False
;
11796 PyObject
* obj0
= 0 ;
11797 PyObject
* obj1
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "mimeType",(char *) "wildcard", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 arg1
= wxString_in_helper(obj0
);
11805 if (arg1
== NULL
) SWIG_fail
;
11809 arg2
= wxString_in_helper(obj1
);
11810 if (arg2
== NULL
) SWIG_fail
;
11814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11815 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11817 wxPyEndAllowThreads(__tstate
);
11818 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= PyInt_FromLong((long)result
);
11843 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxMimeTypesManager
*result
;
11846 char *kwnames
[] = {
11850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11855 wxPyEndAllowThreads(__tstate
);
11856 if (PyErr_Occurred()) SWIG_fail
;
11858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11865 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
;
11867 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11868 int arg2
= (int) wxMAILCAP_ALL
;
11869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11871 bool temp3
= False
;
11872 PyObject
* obj0
= 0 ;
11873 PyObject
* obj2
= 0 ;
11874 char *kwnames
[] = {
11875 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11882 arg3
= wxString_in_helper(obj2
);
11883 if (arg3
== NULL
) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 Py_INCREF(Py_None
); resultobj
= Py_None
;
11909 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11912 PyObject
* obj0
= 0 ;
11913 char *kwnames
[] = {
11914 (char *) "self", NULL
11917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->ClearData();
11923 wxPyEndAllowThreads(__tstate
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11926 Py_INCREF(Py_None
); resultobj
= Py_None
;
11933 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11936 wxString
*arg2
= 0 ;
11937 wxFileType
*result
;
11938 bool temp2
= False
;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char *kwnames
[] = {
11942 (char *) "self",(char *) "ext", NULL
11945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11948 arg2
= wxString_in_helper(obj1
);
11949 if (arg2
== NULL
) SWIG_fail
;
11953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11954 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11956 wxPyEndAllowThreads(__tstate
);
11957 if (PyErr_Occurred()) SWIG_fail
;
11959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11974 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11975 PyObject
*resultobj
;
11976 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11977 wxString
*arg2
= 0 ;
11978 wxFileType
*result
;
11979 bool temp2
= False
;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "self",(char *) "mimeType", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11989 arg2
= wxString_in_helper(obj1
);
11990 if (arg2
== NULL
) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12015 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12018 wxString
*arg2
= 0 ;
12019 bool arg3
= (bool) False
;
12021 bool temp2
= False
;
12022 PyObject
* obj0
= 0 ;
12023 PyObject
* obj1
= 0 ;
12024 PyObject
* obj2
= 0 ;
12025 char *kwnames
[] = {
12026 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12032 arg2
= wxString_in_helper(obj1
);
12033 if (arg2
== NULL
) SWIG_fail
;
12037 arg3
= PyInt_AsLong(obj2
) ? true : false;
12038 if (PyErr_Occurred()) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyInt_FromLong((long)result
);
12062 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
;
12064 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12065 wxString
*arg2
= 0 ;
12067 bool temp2
= False
;
12068 PyObject
* obj0
= 0 ;
12069 PyObject
* obj1
= 0 ;
12070 char *kwnames
[] = {
12071 (char *) "self",(char *) "filename", NULL
12074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
12075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12077 arg2
= wxString_in_helper(obj1
);
12078 if (arg2
== NULL
) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 resultobj
= PyInt_FromLong((long)result
);
12103 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12116 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= result
;
12128 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12131 wxFileTypeInfo
*arg2
= 0 ;
12132 PyObject
* obj0
= 0 ;
12133 PyObject
* obj1
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self",(char *) "ft", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 if (arg2
== NULL
) {
12142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 Py_INCREF(Py_None
); resultobj
= Py_None
;
12158 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12161 wxFileTypeInfo
*arg2
= 0 ;
12162 wxFileType
*result
;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char *kwnames
[] = {
12166 (char *) "self",(char *) "ftInfo", NULL
12169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12172 if (arg2
== NULL
) {
12173 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12189 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12192 wxFileType
*arg2
= (wxFileType
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 PyObject
* obj1
= 0 ;
12196 char *kwnames
[] = {
12197 (char *) "self",(char *) "ft", NULL
12200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12202 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (bool)(arg1
)->Unassociate(arg2
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= PyInt_FromLong((long)result
);
12217 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 wxPyEndAllowThreads(__tstate
);
12232 if (PyErr_Occurred()) SWIG_fail
;
12234 Py_INCREF(Py_None
); resultobj
= Py_None
;
12241 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12244 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12246 return Py_BuildValue((char *)"");
12248 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12249 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12254 static PyObject
*_wrap_ART_TOOLBAR_get() {
12259 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12261 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12268 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12269 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12274 static PyObject
*_wrap_ART_MENU_get() {
12279 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12281 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12288 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12289 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12294 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12299 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12301 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12308 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12309 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12314 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12319 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12321 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12328 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12329 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12334 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12339 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12341 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12348 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12349 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12354 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12359 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12361 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12368 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12369 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12374 static PyObject
*_wrap_ART_OTHER_get() {
12379 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12381 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12388 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12389 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12394 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12399 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12401 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12408 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12409 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12414 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12419 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12421 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12428 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12429 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12434 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12439 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12441 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12448 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12449 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12454 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12459 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12461 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12468 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12469 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12474 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12479 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12481 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12488 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12489 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12494 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12499 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12501 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12508 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12509 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12514 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12519 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12521 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12528 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12529 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12534 static PyObject
*_wrap_ART_GO_BACK_get() {
12539 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12541 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12548 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12549 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12554 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12559 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12561 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12568 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12569 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12574 static PyObject
*_wrap_ART_GO_UP_get() {
12579 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12581 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12588 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12589 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12594 static PyObject
*_wrap_ART_GO_DOWN_get() {
12599 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12601 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12608 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12609 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12614 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12619 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12621 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12628 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12629 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12634 static PyObject
*_wrap_ART_GO_HOME_get() {
12639 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12641 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12648 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12649 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12654 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12659 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12661 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12668 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12669 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12674 static PyObject
*_wrap_ART_PRINT_get() {
12679 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12681 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12688 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12689 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12694 static PyObject
*_wrap_ART_HELP_get() {
12699 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12701 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12708 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12709 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12714 static PyObject
*_wrap_ART_TIP_get() {
12719 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12721 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12728 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12729 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12734 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12739 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12741 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12748 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12749 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12754 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12759 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12761 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12768 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12769 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12774 static PyObject
*_wrap_ART_NEW_DIR_get() {
12779 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12781 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12788 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12789 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12794 static PyObject
*_wrap_ART_FOLDER_get() {
12799 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12801 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12808 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12809 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12814 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12819 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12821 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12828 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12829 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12834 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12839 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12841 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12848 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12849 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12854 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12859 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12861 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12868 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12869 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12874 static PyObject
*_wrap_ART_TICK_MARK_get() {
12879 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12881 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12888 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12889 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12894 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12899 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12901 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12908 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12909 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12914 static PyObject
*_wrap_ART_ERROR_get() {
12919 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12921 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12928 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12929 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12934 static PyObject
*_wrap_ART_QUESTION_get() {
12939 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12941 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12948 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12949 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12954 static PyObject
*_wrap_ART_WARNING_get() {
12959 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12961 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12968 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12969 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12974 static PyObject
*_wrap_ART_INFORMATION_get() {
12979 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12981 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12988 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12989 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12994 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12999 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13001 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13008 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxPyArtProvider
*result
;
13011 char *kwnames
[] = {
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (wxPyArtProvider
*)new wxPyArtProvider();
13020 wxPyEndAllowThreads(__tstate
);
13021 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
13030 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13032 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13033 PyObject
*arg2
= (PyObject
*) 0 ;
13034 PyObject
*arg3
= (PyObject
*) 0 ;
13035 PyObject
* obj0
= 0 ;
13036 PyObject
* obj1
= 0 ;
13037 PyObject
* obj2
= 0 ;
13038 char *kwnames
[] = {
13039 (char *) "self",(char *) "self",(char *) "_class", NULL
13042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 Py_INCREF(Py_None
); resultobj
= Py_None
;
13060 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13063 PyObject
* obj0
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "provider", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13072 wxPyArtProvider::PushProvider(arg1
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13087 char *kwnames
[] = {
13091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 result
= (bool)wxPyArtProvider::PopProvider();
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= PyInt_FromLong((long)result
);
13106 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13107 PyObject
*resultobj
;
13108 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13110 PyObject
* obj0
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "provider", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13119 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13121 wxPyEndAllowThreads(__tstate
);
13122 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= PyInt_FromLong((long)result
);
13131 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13132 PyObject
*resultobj
;
13133 wxString
*arg1
= 0 ;
13134 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13135 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13136 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13137 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13139 bool temp1
= False
;
13140 bool temp2
= False
;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char *kwnames
[] = {
13146 (char *) "id",(char *) "client",(char *) "size", NULL
13149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13151 arg1
= wxString_in_helper(obj0
);
13152 if (arg1
== NULL
) SWIG_fail
;
13157 arg2
= wxString_in_helper(obj1
);
13158 if (arg2
== NULL
) SWIG_fail
;
13165 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13172 wxPyEndAllowThreads(__tstate
);
13173 if (PyErr_Occurred()) SWIG_fail
;
13176 wxBitmap
* resultptr
;
13177 resultptr
= new wxBitmap((wxBitmap
&) result
);
13178 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13202 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13203 PyObject
*resultobj
;
13204 wxString
*arg1
= 0 ;
13205 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13206 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13207 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13208 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13210 bool temp1
= False
;
13211 bool temp2
= False
;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 PyObject
* obj2
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "id",(char *) "client",(char *) "size", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13222 arg1
= wxString_in_helper(obj0
);
13223 if (arg1
== NULL
) SWIG_fail
;
13228 arg2
= wxString_in_helper(obj1
);
13229 if (arg2
== NULL
) SWIG_fail
;
13236 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13241 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13243 wxPyEndAllowThreads(__tstate
);
13244 if (PyErr_Occurred()) SWIG_fail
;
13247 wxIcon
* resultptr
;
13248 resultptr
= new wxIcon((wxIcon
&) result
);
13249 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13273 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13276 PyObject
* obj0
= 0 ;
13277 char *kwnames
[] = {
13278 (char *) "self", NULL
13281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
13282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13285 wxPyArtProvider_Destroy(arg1
);
13287 wxPyEndAllowThreads(__tstate
);
13288 if (PyErr_Occurred()) SWIG_fail
;
13290 Py_INCREF(Py_None
); resultobj
= Py_None
;
13297 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13300 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13302 return Py_BuildValue((char *)"");
13304 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13305 PyObject
*resultobj
;
13306 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13307 PyObject
* obj0
= 0 ;
13308 char *kwnames
[] = {
13309 (char *) "self", NULL
13312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13321 Py_INCREF(Py_None
); resultobj
= Py_None
;
13328 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13329 PyObject
*resultobj
;
13330 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13331 wxConfigBase
*result
;
13332 PyObject
* obj0
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "pConfig", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13343 wxPyEndAllowThreads(__tstate
);
13344 if (PyErr_Occurred()) SWIG_fail
;
13346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13353 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13354 PyObject
*resultobj
;
13355 bool arg1
= (bool) True
;
13356 wxConfigBase
*result
;
13357 PyObject
* obj0
= 0 ;
13358 char *kwnames
[] = {
13359 (char *) "createOnDemand", NULL
13362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13364 arg1
= PyInt_AsLong(obj0
) ? true : false;
13365 if (PyErr_Occurred()) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13381 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxConfigBase
*result
;
13384 char *kwnames
[] = {
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 result
= (wxConfigBase
*)wxConfigBase::Create();
13393 wxPyEndAllowThreads(__tstate
);
13394 if (PyErr_Occurred()) SWIG_fail
;
13396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13403 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13404 PyObject
*resultobj
;
13405 char *kwnames
[] = {
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 wxConfigBase::DontCreateOnDemand();
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 Py_INCREF(Py_None
); resultobj
= Py_None
;
13424 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13427 wxString
*arg2
= 0 ;
13428 bool temp2
= False
;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 char *kwnames
[] = {
13432 (char *) "self",(char *) "strPath", NULL
13435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13438 arg2
= wxString_in_helper(obj1
);
13439 if (arg2
== NULL
) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 (arg1
)->SetPath((wxString
const &)*arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 Py_INCREF(Py_None
); resultobj
= Py_None
;
13464 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13468 PyObject
* obj0
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13479 result
= (wxString
*) &_result_ref
;
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13489 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13498 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13502 PyObject
* obj0
= 0 ;
13503 char *kwnames
[] = {
13504 (char *) "self", NULL
13507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13513 wxPyEndAllowThreads(__tstate
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= result
;
13523 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13524 PyObject
*resultobj
;
13525 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "self",(char *) "index", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= result
;
13549 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13550 PyObject
*resultobj
;
13551 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13553 PyObject
* obj0
= 0 ;
13554 char *kwnames
[] = {
13555 (char *) "self", NULL
13558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13562 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13564 wxPyEndAllowThreads(__tstate
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 resultobj
= result
;
13574 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13575 PyObject
*resultobj
;
13576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13579 PyObject
* obj0
= 0 ;
13580 char *kwnames
[] = {
13581 (char *) "self",(char *) "index", NULL
13584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13588 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13593 resultobj
= result
;
13600 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13603 bool arg2
= (bool) False
;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 char *kwnames
[] = {
13608 (char *) "self",(char *) "bRecursive", NULL
13611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13614 arg2
= PyInt_AsLong(obj1
) ? true : false;
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13619 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13621 wxPyEndAllowThreads(__tstate
);
13622 if (PyErr_Occurred()) SWIG_fail
;
13624 resultobj
= PyInt_FromLong((long)result
);
13631 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13632 PyObject
*resultobj
;
13633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13634 bool arg2
= (bool) False
;
13636 PyObject
* obj0
= 0 ;
13637 PyObject
* obj1
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self",(char *) "bRecursive", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13645 arg2
= PyInt_AsLong(obj1
) ? true : false;
13646 if (PyErr_Occurred()) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= PyInt_FromLong((long)result
);
13662 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13665 wxString
*arg2
= 0 ;
13667 bool temp2
= False
;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char *kwnames
[] = {
13671 (char *) "self",(char *) "strName", NULL
13674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13677 arg2
= wxString_in_helper(obj1
);
13678 if (arg2
== NULL
) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= PyInt_FromLong((long)result
);
13703 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13706 wxString
*arg2
= 0 ;
13708 bool temp2
= False
;
13709 PyObject
* obj0
= 0 ;
13710 PyObject
* obj1
= 0 ;
13711 char *kwnames
[] = {
13712 (char *) "self",(char *) "strName", NULL
13715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13718 arg2
= wxString_in_helper(obj1
);
13719 if (arg2
== NULL
) SWIG_fail
;
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13726 wxPyEndAllowThreads(__tstate
);
13727 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= PyInt_FromLong((long)result
);
13744 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13745 PyObject
*resultobj
;
13746 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13747 wxString
*arg2
= 0 ;
13749 bool temp2
= False
;
13750 PyObject
* obj0
= 0 ;
13751 PyObject
* obj1
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self",(char *) "strName", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13759 arg2
= wxString_in_helper(obj1
);
13760 if (arg2
== NULL
) SWIG_fail
;
13764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13765 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13767 wxPyEndAllowThreads(__tstate
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 resultobj
= PyInt_FromLong((long)result
);
13785 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13786 PyObject
*resultobj
;
13787 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13788 wxString
*arg2
= 0 ;
13790 bool temp2
= False
;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self",(char *) "name", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 arg2
= wxString_in_helper(obj1
);
13801 if (arg2
== NULL
) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= PyInt_FromLong((long)result
);
13826 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13829 wxString
*arg2
= 0 ;
13830 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13831 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13833 bool temp2
= False
;
13834 bool temp3
= False
;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 arg2
= wxString_in_helper(obj1
);
13846 if (arg2
== NULL
) SWIG_fail
;
13851 arg3
= wxString_in_helper(obj2
);
13852 if (arg3
== NULL
) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13892 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13895 wxString
*arg2
= 0 ;
13896 long arg3
= (long) 0 ;
13898 bool temp2
= False
;
13899 PyObject
* obj0
= 0 ;
13900 PyObject
* obj1
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13908 arg2
= wxString_in_helper(obj1
);
13909 if (arg2
== NULL
) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= PyInt_FromLong((long)result
);
13934 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13937 wxString
*arg2
= 0 ;
13938 double arg3
= (double) 0.0 ;
13940 bool temp2
= False
;
13941 PyObject
* obj0
= 0 ;
13942 PyObject
* obj1
= 0 ;
13943 char *kwnames
[] = {
13944 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13950 arg2
= wxString_in_helper(obj1
);
13951 if (arg2
== NULL
) SWIG_fail
;
13955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13956 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13961 resultobj
= PyFloat_FromDouble(result
);
13976 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13979 wxString
*arg2
= 0 ;
13980 bool arg3
= (bool) False
;
13982 bool temp2
= False
;
13983 PyObject
* obj0
= 0 ;
13984 PyObject
* obj1
= 0 ;
13985 PyObject
* obj2
= 0 ;
13986 char *kwnames
[] = {
13987 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13993 arg2
= wxString_in_helper(obj1
);
13994 if (arg2
== NULL
) SWIG_fail
;
13998 arg3
= PyInt_AsLong(obj2
) ? true : false;
13999 if (PyErr_Occurred()) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14008 resultobj
= PyInt_FromLong((long)result
);
14023 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14024 PyObject
*resultobj
;
14025 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14026 wxString
*arg2
= 0 ;
14027 wxString
*arg3
= 0 ;
14029 bool temp2
= False
;
14030 bool temp3
= False
;
14031 PyObject
* obj0
= 0 ;
14032 PyObject
* obj1
= 0 ;
14033 PyObject
* obj2
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self",(char *) "key",(char *) "value", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14041 arg2
= wxString_in_helper(obj1
);
14042 if (arg2
== NULL
) SWIG_fail
;
14046 arg3
= wxString_in_helper(obj2
);
14047 if (arg3
== NULL
) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14057 resultobj
= PyInt_FromLong((long)result
);
14080 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14083 wxString
*arg2
= 0 ;
14086 bool temp2
= False
;
14087 PyObject
* obj0
= 0 ;
14088 PyObject
* obj1
= 0 ;
14089 char *kwnames
[] = {
14090 (char *) "self",(char *) "key",(char *) "value", NULL
14093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14096 arg2
= wxString_in_helper(obj1
);
14097 if (arg2
== NULL
) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14107 resultobj
= PyInt_FromLong((long)result
);
14122 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14123 PyObject
*resultobj
;
14124 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14125 wxString
*arg2
= 0 ;
14128 bool temp2
= False
;
14129 PyObject
* obj0
= 0 ;
14130 PyObject
* obj1
= 0 ;
14131 char *kwnames
[] = {
14132 (char *) "self",(char *) "key",(char *) "value", NULL
14135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14138 arg2
= wxString_in_helper(obj1
);
14139 if (arg2
== NULL
) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= PyInt_FromLong((long)result
);
14164 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14167 wxString
*arg2
= 0 ;
14170 bool temp2
= False
;
14171 PyObject
* obj0
= 0 ;
14172 PyObject
* obj1
= 0 ;
14173 PyObject
* obj2
= 0 ;
14174 char *kwnames
[] = {
14175 (char *) "self",(char *) "key",(char *) "value", NULL
14178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14181 arg2
= wxString_in_helper(obj1
);
14182 if (arg2
== NULL
) SWIG_fail
;
14185 arg3
= PyInt_AsLong(obj2
) ? true : false;
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= PyInt_FromLong((long)result
);
14209 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14212 bool arg2
= (bool) False
;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "bCurrentOnly", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14223 arg2
= PyInt_AsLong(obj1
) ? true : false;
14224 if (PyErr_Occurred()) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (bool)(arg1
)->Flush(arg2
);
14230 wxPyEndAllowThreads(__tstate
);
14231 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= PyInt_FromLong((long)result
);
14240 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14241 PyObject
*resultobj
;
14242 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14243 wxString
*arg2
= 0 ;
14244 wxString
*arg3
= 0 ;
14246 bool temp2
= False
;
14247 bool temp3
= False
;
14248 PyObject
* obj0
= 0 ;
14249 PyObject
* obj1
= 0 ;
14250 PyObject
* obj2
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14258 arg2
= wxString_in_helper(obj1
);
14259 if (arg2
== NULL
) SWIG_fail
;
14263 arg3
= wxString_in_helper(obj2
);
14264 if (arg3
== NULL
) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= PyInt_FromLong((long)result
);
14297 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14300 wxString
*arg2
= 0 ;
14301 wxString
*arg3
= 0 ;
14303 bool temp2
= False
;
14304 bool temp3
= False
;
14305 PyObject
* obj0
= 0 ;
14306 PyObject
* obj1
= 0 ;
14307 PyObject
* obj2
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14315 arg2
= wxString_in_helper(obj1
);
14316 if (arg2
== NULL
) SWIG_fail
;
14320 arg3
= wxString_in_helper(obj2
);
14321 if (arg3
== NULL
) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 resultobj
= PyInt_FromLong((long)result
);
14354 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14357 wxString
*arg2
= 0 ;
14358 bool arg3
= (bool) True
;
14360 bool temp2
= False
;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 PyObject
* obj2
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14371 arg2
= wxString_in_helper(obj1
);
14372 if (arg2
== NULL
) SWIG_fail
;
14376 arg3
= PyInt_AsLong(obj2
) ? true : false;
14377 if (PyErr_Occurred()) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= PyInt_FromLong((long)result
);
14401 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
;
14403 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14404 wxString
*arg2
= 0 ;
14406 bool temp2
= False
;
14407 PyObject
* obj0
= 0 ;
14408 PyObject
* obj1
= 0 ;
14409 char *kwnames
[] = {
14410 (char *) "self",(char *) "key", NULL
14413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14416 arg2
= wxString_in_helper(obj1
);
14417 if (arg2
== NULL
) SWIG_fail
;
14421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14422 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14424 wxPyEndAllowThreads(__tstate
);
14425 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= PyInt_FromLong((long)result
);
14442 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14455 result
= (bool)(arg1
)->DeleteAll();
14457 wxPyEndAllowThreads(__tstate
);
14458 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= PyInt_FromLong((long)result
);
14467 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14480 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14482 wxPyEndAllowThreads(__tstate
);
14483 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= PyInt_FromLong((long)result
);
14492 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14495 bool arg2
= (bool) True
;
14496 PyObject
* obj0
= 0 ;
14497 PyObject
* obj1
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self",(char *) "bDoIt", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14505 arg2
= PyInt_AsLong(obj1
) ? true : false;
14506 if (PyErr_Occurred()) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->SetExpandEnvVars(arg2
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 Py_INCREF(Py_None
); resultobj
= Py_None
;
14522 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14523 PyObject
*resultobj
;
14524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14525 bool arg2
= (bool) True
;
14526 PyObject
* obj0
= 0 ;
14527 PyObject
* obj1
= 0 ;
14528 char *kwnames
[] = {
14529 (char *) "self",(char *) "bDoIt", NULL
14532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14535 arg2
= PyInt_AsLong(obj1
) ? true : false;
14536 if (PyErr_Occurred()) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 (arg1
)->SetRecordDefaults(arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 char *kwnames
[] = {
14558 (char *) "self", NULL
14561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14565 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14567 wxPyEndAllowThreads(__tstate
);
14568 if (PyErr_Occurred()) SWIG_fail
;
14570 resultobj
= PyInt_FromLong((long)result
);
14577 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14580 wxString
*arg2
= 0 ;
14582 bool temp2
= False
;
14583 PyObject
* obj0
= 0 ;
14584 PyObject
* obj1
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self",(char *) "str", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14592 arg2
= wxString_in_helper(obj1
);
14593 if (arg2
== NULL
) SWIG_fail
;
14597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14598 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14600 wxPyEndAllowThreads(__tstate
);
14601 if (PyErr_Occurred()) SWIG_fail
;
14605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14624 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14625 PyObject
*resultobj
;
14626 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14628 PyObject
* obj0
= 0 ;
14629 char *kwnames
[] = {
14630 (char *) "self", NULL
14633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14637 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14644 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14646 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14655 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14670 wxPyEndAllowThreads(__tstate
);
14671 if (PyErr_Occurred()) SWIG_fail
;
14675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14686 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14689 wxString
*arg2
= 0 ;
14690 bool temp2
= False
;
14691 PyObject
* obj0
= 0 ;
14692 PyObject
* obj1
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self",(char *) "appName", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14700 arg2
= wxString_in_helper(obj1
);
14701 if (arg2
== NULL
) SWIG_fail
;
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->SetAppName((wxString
const &)*arg2
);
14708 wxPyEndAllowThreads(__tstate
);
14709 if (PyErr_Occurred()) SWIG_fail
;
14711 Py_INCREF(Py_None
); resultobj
= Py_None
;
14726 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14729 wxString
*arg2
= 0 ;
14730 bool temp2
= False
;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self",(char *) "vendorName", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14740 arg2
= wxString_in_helper(obj1
);
14741 if (arg2
== NULL
) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 Py_INCREF(Py_None
); resultobj
= Py_None
;
14766 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self",(char *) "style", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14779 (arg1
)->SetStyle(arg2
);
14781 wxPyEndAllowThreads(__tstate
);
14782 if (PyErr_Occurred()) SWIG_fail
;
14784 Py_INCREF(Py_None
); resultobj
= Py_None
;
14791 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 char *kwnames
[] = {
14797 (char *) "self", NULL
14800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14804 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14806 wxPyEndAllowThreads(__tstate
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14809 resultobj
= PyInt_FromLong((long)result
);
14816 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14819 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14821 return Py_BuildValue((char *)"");
14823 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14826 wxString
*arg2
= 0 ;
14827 wxConfigPathChanger
*result
;
14828 bool temp2
= False
;
14829 PyObject
* obj0
= 0 ;
14830 PyObject
* obj1
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "pContainer",(char *) "strEntry", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14838 arg2
= wxString_in_helper(obj1
);
14839 if (arg2
== NULL
) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14849 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14864 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14867 PyObject
* obj0
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 wxPyEndAllowThreads(__tstate
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14881 Py_INCREF(Py_None
); resultobj
= Py_None
;
14888 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14903 result
= (wxString
*) &_result_ref
;
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14913 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14922 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14925 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14927 return Py_BuildValue((char *)"");
14929 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14930 PyObject
*resultobj
;
14931 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14932 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14933 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14934 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14935 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14936 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14937 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14939 long arg5
= (long) 0 ;
14941 bool temp1
= False
;
14942 bool temp2
= False
;
14943 bool temp3
= False
;
14944 bool temp4
= False
;
14945 PyObject
* obj0
= 0 ;
14946 PyObject
* obj1
= 0 ;
14947 PyObject
* obj2
= 0 ;
14948 PyObject
* obj3
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14956 arg1
= wxString_in_helper(obj0
);
14957 if (arg1
== NULL
) SWIG_fail
;
14963 arg2
= wxString_in_helper(obj1
);
14964 if (arg2
== NULL
) SWIG_fail
;
14970 arg3
= wxString_in_helper(obj2
);
14971 if (arg3
== NULL
) SWIG_fail
;
14977 arg4
= wxString_in_helper(obj3
);
14978 if (arg4
== NULL
) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
15028 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
;
15030 wxConfig
*arg1
= (wxConfig
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 Py_INCREF(Py_None
); resultobj
= Py_None
;
15052 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
15054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15055 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
15057 return Py_BuildValue((char *)"");
15059 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15062 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15063 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15064 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15067 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15068 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15069 long arg5
= (long) 0 ;
15070 wxFileConfig
*result
;
15071 bool temp1
= False
;
15072 bool temp2
= False
;
15073 bool temp3
= False
;
15074 bool temp4
= False
;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 PyObject
* obj3
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
15086 arg1
= wxString_in_helper(obj0
);
15087 if (arg1
== NULL
) SWIG_fail
;
15093 arg2
= wxString_in_helper(obj1
);
15094 if (arg2
== NULL
) SWIG_fail
;
15100 arg3
= wxString_in_helper(obj2
);
15101 if (arg3
== NULL
) SWIG_fail
;
15107 arg4
= wxString_in_helper(obj3
);
15108 if (arg4
== NULL
) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15158 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
;
15160 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15161 PyObject
* obj0
= 0 ;
15162 char *kwnames
[] = {
15163 (char *) "self", NULL
15166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 Py_INCREF(Py_None
); resultobj
= Py_None
;
15182 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15185 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15187 return Py_BuildValue((char *)"");
15189 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxString
*arg1
= 0 ;
15193 bool temp1
= False
;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "sz", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15201 arg1
= wxString_in_helper(obj0
);
15202 if (arg1
== NULL
) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15214 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15216 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15233 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
15234 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
15239 static PyObject
*_wrap_DateFormatStr_get() {
15244 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15246 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15253 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
15254 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
15259 static PyObject
*_wrap_TimeSpanFormatStr_get() {
15264 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15266 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15273 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15276 char *kwnames
[] = {
15277 (char *) "country", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 Py_INCREF(Py_None
); resultobj
= Py_None
;
15295 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15298 char *kwnames
[] = {
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15305 result
= (int)wxDateTime::GetCountry();
15307 wxPyEndAllowThreads(__tstate
);
15308 if (PyErr_Occurred()) SWIG_fail
;
15310 resultobj
= PyInt_FromLong((long)result
);
15317 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15318 PyObject
*resultobj
;
15319 int arg1
= (int) wxDateTime::Country_Default
;
15321 char *kwnames
[] = {
15322 (char *) "country", NULL
15325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15328 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15330 wxPyEndAllowThreads(__tstate
);
15331 if (PyErr_Occurred()) SWIG_fail
;
15333 resultobj
= PyInt_FromLong((long)result
);
15340 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 int arg1
= (int) wxDateTime::Gregorian
;
15344 char *kwnames
[] = {
15345 (char *) "cal", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 resultobj
= PyInt_FromLong((long)result
);
15363 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15367 char *kwnames
[] = {
15368 (char *) "year", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= PyInt_FromLong((long)result
);
15386 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 int arg1
= (int) wxDateTime::Gregorian
;
15390 char *kwnames
[] = {
15391 (char *) "cal", NULL
15394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= PyInt_FromLong((long)result
);
15409 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 int arg1
= (int) wxDateTime::Inv_Year
;
15412 int arg2
= (int) wxDateTime::Gregorian
;
15414 char *kwnames
[] = {
15415 (char *) "year",(char *) "cal", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= PyInt_FromLong((long)result
);
15433 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 int arg1
= (int) wxDateTime::Inv_Year
;
15437 char *kwnames
[] = {
15438 (char *) "year", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (int)wxDateTime::GetCentury(arg1
);
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= PyInt_FromLong((long)result
);
15456 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15459 int arg2
= (int) wxDateTime::Gregorian
;
15461 char *kwnames
[] = {
15462 (char *) "year",(char *) "cal", NULL
15465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15468 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15470 wxPyEndAllowThreads(__tstate
);
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 resultobj
= PyInt_FromLong((long)result
);
15480 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15481 PyObject
*resultobj
;
15483 int arg2
= (int) wxDateTime::Inv_Year
;
15484 int arg3
= (int) wxDateTime::Gregorian
;
15486 char *kwnames
[] = {
15487 (char *) "month",(char *) "year",(char *) "cal", NULL
15490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15493 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= PyInt_FromLong((long)result
);
15505 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15508 int arg2
= (int) wxDateTime::Name_Full
;
15510 char *kwnames
[] = {
15511 (char *) "month",(char *) "flags", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15524 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15526 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15535 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15538 int arg2
= (int) wxDateTime::Name_Full
;
15540 char *kwnames
[] = {
15541 (char *) "weekday",(char *) "flags", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15565 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
;
15567 wxString
*arg1
= (wxString
*) 0 ;
15568 wxString
*arg2
= (wxString
*) 0 ;
15569 bool temp1
= False
;
15570 bool temp2
= False
;
15571 PyObject
* obj0
= 0 ;
15572 PyObject
* obj1
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15579 arg1
= wxString_in_helper(obj0
);
15580 if (arg1
== NULL
) SWIG_fail
;
15584 arg2
= wxString_in_helper(obj1
);
15585 if (arg2
== NULL
) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 int arg1
= (int) wxDateTime::Inv_Year
;
15621 int arg2
= (int) wxDateTime::Country_Default
;
15623 char *kwnames
[] = {
15624 (char *) "year",(char *) "country", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15632 wxPyEndAllowThreads(__tstate
);
15633 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= PyInt_FromLong((long)result
);
15642 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15643 PyObject
*resultobj
;
15644 int arg1
= (int) wxDateTime::Inv_Year
;
15645 int arg2
= (int) wxDateTime::Country_Default
;
15647 char *kwnames
[] = {
15648 (char *) "year",(char *) "country", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15660 wxDateTime
* resultptr
;
15661 resultptr
= new wxDateTime((wxDateTime
&) result
);
15662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15670 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15671 PyObject
*resultobj
;
15672 int arg1
= (int) wxDateTime::Inv_Year
;
15673 int arg2
= (int) wxDateTime::Country_Default
;
15675 char *kwnames
[] = {
15676 (char *) "year",(char *) "country", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15682 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15684 wxPyEndAllowThreads(__tstate
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15688 wxDateTime
* resultptr
;
15689 resultptr
= new wxDateTime((wxDateTime
&) result
);
15690 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15698 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15701 char *kwnames
[] = {
15705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 result
= wxDateTime::Now();
15710 wxPyEndAllowThreads(__tstate
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15714 wxDateTime
* resultptr
;
15715 resultptr
= new wxDateTime((wxDateTime
&) result
);
15716 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15724 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15727 char *kwnames
[] = {
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= wxDateTime::UNow();
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15740 wxDateTime
* resultptr
;
15741 resultptr
= new wxDateTime((wxDateTime
&) result
);
15742 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15750 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15753 char *kwnames
[] = {
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15760 result
= wxDateTime::Today();
15762 wxPyEndAllowThreads(__tstate
);
15763 if (PyErr_Occurred()) SWIG_fail
;
15766 wxDateTime
* resultptr
;
15767 resultptr
= new wxDateTime((wxDateTime
&) result
);
15768 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15776 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxDateTime
*result
;
15779 char *kwnames
[] = {
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (wxDateTime
*)new wxDateTime();
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15798 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15801 wxDateTime
*result
;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "timet", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15808 arg1
= (time_t) PyInt_AsLong(obj0
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (wxDateTime
*)new wxDateTime(arg1
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15824 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15827 wxDateTime
*result
;
15828 char *kwnames
[] = {
15829 (char *) "jdn", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (wxDateTime
*)new wxDateTime(arg1
);
15837 wxPyEndAllowThreads(__tstate
);
15838 if (PyErr_Occurred()) SWIG_fail
;
15840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15847 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15848 PyObject
*resultobj
;
15850 int arg2
= (int) 0 ;
15851 int arg3
= (int) 0 ;
15852 int arg4
= (int) 0 ;
15853 wxDateTime
*result
;
15854 char *kwnames
[] = {
15855 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15863 wxPyEndAllowThreads(__tstate
);
15864 if (PyErr_Occurred()) SWIG_fail
;
15866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15873 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15876 int arg2
= (int) wxDateTime::Inv_Month
;
15877 int arg3
= (int) wxDateTime::Inv_Year
;
15878 int arg4
= (int) 0 ;
15879 int arg5
= (int) 0 ;
15880 int arg6
= (int) 0 ;
15881 int arg7
= (int) 0 ;
15882 wxDateTime
*result
;
15883 char *kwnames
[] = {
15884 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15902 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 Py_INCREF(Py_None
); resultobj
= Py_None
;
15926 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15929 wxDateTime
*result
;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15941 result
= (wxDateTime
*) &_result_ref
;
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15954 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15958 wxDateTime
*result
;
15959 PyObject
* obj0
= 0 ;
15960 PyObject
* obj1
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self",(char *) "timet", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15967 arg2
= (time_t) PyInt_AsLong(obj1
);
15968 if (PyErr_Occurred()) SWIG_fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15972 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15973 result
= (wxDateTime
*) &_result_ref
;
15976 wxPyEndAllowThreads(__tstate
);
15977 if (PyErr_Occurred()) SWIG_fail
;
15979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15986 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15990 wxDateTime
*result
;
15991 PyObject
* obj0
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "jdn", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
16002 result
= (wxDateTime
*) &_result_ref
;
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16015 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16019 int arg3
= (int) 0 ;
16020 int arg4
= (int) 0 ;
16021 int arg5
= (int) 0 ;
16022 wxDateTime
*result
;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
16034 result
= (wxDateTime
*) &_result_ref
;
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16047 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16051 int arg3
= (int) wxDateTime::Inv_Month
;
16052 int arg4
= (int) wxDateTime::Inv_Year
;
16053 int arg5
= (int) 0 ;
16054 int arg6
= (int) 0 ;
16055 int arg7
= (int) 0 ;
16056 int arg8
= (int) 0 ;
16057 wxDateTime
*result
;
16058 PyObject
* obj0
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16068 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
16069 result
= (wxDateTime
*) &_result_ref
;
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16082 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16085 wxDateTime
*result
;
16086 PyObject
* obj0
= 0 ;
16087 char *kwnames
[] = {
16088 (char *) "self", NULL
16091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
16092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16096 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
16097 result
= (wxDateTime
*) &_result_ref
;
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16110 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16114 wxDateTime
*result
;
16115 PyObject
* obj0
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self",(char *) "year", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
16126 result
= (wxDateTime
*) &_result_ref
;
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16139 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16143 wxDateTime
*result
;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "month", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
16155 result
= (wxDateTime
*) &_result_ref
;
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16168 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16172 wxDateTime
*result
;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "day", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
16184 result
= (wxDateTime
*) &_result_ref
;
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16197 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16201 wxDateTime
*result
;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "hour", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
16213 result
= (wxDateTime
*) &_result_ref
;
16216 wxPyEndAllowThreads(__tstate
);
16217 if (PyErr_Occurred()) SWIG_fail
;
16219 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16226 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16230 wxDateTime
*result
;
16231 PyObject
* obj0
= 0 ;
16232 char *kwnames
[] = {
16233 (char *) "self",(char *) "minute", NULL
16236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
16237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16242 result
= (wxDateTime
*) &_result_ref
;
16245 wxPyEndAllowThreads(__tstate
);
16246 if (PyErr_Occurred()) SWIG_fail
;
16248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16255 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16256 PyObject
*resultobj
;
16257 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16259 wxDateTime
*result
;
16260 PyObject
* obj0
= 0 ;
16261 char *kwnames
[] = {
16262 (char *) "self",(char *) "second", NULL
16265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16270 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16271 result
= (wxDateTime
*) &_result_ref
;
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16284 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16288 wxDateTime
*result
;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self",(char *) "millisecond", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16300 result
= (wxDateTime
*) &_result_ref
;
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16313 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16317 int arg3
= (int) wxDateTime::Monday_First
;
16318 wxDateTime
*result
;
16319 PyObject
* obj0
= 0 ;
16320 char *kwnames
[] = {
16321 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16330 result
= (wxDateTime
*) &_result_ref
;
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16343 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16347 int arg3
= (int) wxDateTime::Monday_First
;
16349 PyObject
* obj0
= 0 ;
16350 char *kwnames
[] = {
16351 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 wxDateTime
* resultptr
;
16365 resultptr
= new wxDateTime((wxDateTime
&) result
);
16366 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16374 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16378 wxDateTime
*result
;
16379 PyObject
* obj0
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "weekday", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16390 result
= (wxDateTime
*) &_result_ref
;
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16403 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16404 PyObject
*resultobj
;
16405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16408 PyObject
* obj0
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "self",(char *) "weekday", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16417 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16423 wxDateTime
* resultptr
;
16424 resultptr
= new wxDateTime((wxDateTime
&) result
);
16425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16433 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16437 wxDateTime
*result
;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "weekday", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16449 result
= (wxDateTime
*) &_result_ref
;
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16462 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "weekday", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16476 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16482 wxDateTime
* resultptr
;
16483 resultptr
= new wxDateTime((wxDateTime
&) result
);
16484 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16492 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16496 int arg3
= (int) 1 ;
16497 int arg4
= (int) wxDateTime::Inv_Month
;
16498 int arg5
= (int) wxDateTime::Inv_Year
;
16500 PyObject
* obj0
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyInt_FromLong((long)result
);
16521 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16525 int arg3
= (int) wxDateTime::Inv_Month
;
16526 int arg4
= (int) wxDateTime::Inv_Year
;
16528 PyObject
* obj0
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= PyInt_FromLong((long)result
);
16549 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16550 PyObject
*resultobj
;
16551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16553 int arg3
= (int) wxDateTime::Inv_Month
;
16554 int arg4
= (int) wxDateTime::Inv_Year
;
16556 PyObject
* obj0
= 0 ;
16557 char *kwnames
[] = {
16558 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16571 wxDateTime
* resultptr
;
16572 resultptr
= new wxDateTime((wxDateTime
&) result
);
16573 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16581 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16582 PyObject
*resultobj
;
16583 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16585 int arg3
= (int) wxDateTime::Mon
;
16586 int arg4
= (int) wxDateTime::Monday_First
;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16599 wxPyEndAllowThreads(__tstate
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16602 resultobj
= PyInt_FromLong((long)result
);
16609 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16610 PyObject
*resultobj
;
16611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16613 int arg3
= (int) wxDateTime::Mon
;
16614 int arg4
= (int) wxDateTime::Monday_First
;
16616 PyObject
* obj0
= 0 ;
16617 char *kwnames
[] = {
16618 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16625 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16631 wxDateTime
* resultptr
;
16632 resultptr
= new wxDateTime((wxDateTime
&) result
);
16633 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16641 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
;
16643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16644 int arg2
= (int) wxDateTime::Inv_Month
;
16645 int arg3
= (int) wxDateTime::Inv_Year
;
16646 wxDateTime
*result
;
16647 PyObject
* obj0
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "self",(char *) "month",(char *) "year", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16657 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16658 result
= (wxDateTime
*) &_result_ref
;
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16671 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16674 int arg2
= (int) wxDateTime::Inv_Month
;
16675 int arg3
= (int) wxDateTime::Inv_Year
;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self",(char *) "month",(char *) "year", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16688 wxPyEndAllowThreads(__tstate
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 wxDateTime
* resultptr
;
16693 resultptr
= new wxDateTime((wxDateTime
&) result
);
16694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16702 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16706 wxDateTime
*result
;
16707 PyObject
* obj0
= 0 ;
16708 char *kwnames
[] = {
16709 (char *) "self",(char *) "yday", NULL
16712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16717 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16718 result
= (wxDateTime
*) &_result_ref
;
16721 wxPyEndAllowThreads(__tstate
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16731 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16732 PyObject
*resultobj
;
16733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self",(char *) "yday", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16745 result
= (arg1
)->GetYearDay(arg2
);
16747 wxPyEndAllowThreads(__tstate
);
16748 if (PyErr_Occurred()) SWIG_fail
;
16751 wxDateTime
* resultptr
;
16752 resultptr
= new wxDateTime((wxDateTime
&) result
);
16753 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16761 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (double)(arg1
)->GetJulianDayNumber();
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= PyFloat_FromDouble(result
);
16786 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (double)(arg1
)->GetJDN();
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= PyFloat_FromDouble(result
);
16811 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= PyFloat_FromDouble(result
);
16836 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (double)(arg1
)->GetMJD();
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= PyFloat_FromDouble(result
);
16861 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (double)(arg1
)->GetRataDie();
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= PyFloat_FromDouble(result
);
16886 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16889 wxDateTime::TimeZone
*arg2
= 0 ;
16890 bool arg3
= (bool) False
;
16892 bool temp2
= False
;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 PyObject
* obj2
= 0 ;
16896 char *kwnames
[] = {
16897 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16903 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16907 arg3
= PyInt_AsLong(obj2
) ? true : false;
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16914 wxPyEndAllowThreads(__tstate
);
16915 if (PyErr_Occurred()) SWIG_fail
;
16918 wxDateTime
* resultptr
;
16919 resultptr
= new wxDateTime((wxDateTime
&) result
);
16920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16923 if (temp2
) delete arg2
;
16928 if (temp2
) delete arg2
;
16934 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16935 PyObject
*resultobj
;
16936 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16937 wxDateTime::TimeZone
*arg2
= 0 ;
16938 bool arg3
= (bool) False
;
16939 wxDateTime
*result
;
16940 bool temp2
= False
;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 PyObject
* obj2
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16951 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16955 arg3
= PyInt_AsLong(obj2
) ? true : false;
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16962 result
= (wxDateTime
*) &_result_ref
;
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16970 if (temp2
) delete arg2
;
16975 if (temp2
) delete arg2
;
16981 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16984 bool arg2
= (bool) False
;
16986 PyObject
* obj0
= 0 ;
16987 PyObject
* obj1
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self",(char *) "noDST", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16995 arg2
= PyInt_AsLong(obj1
) ? true : false;
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 result
= (arg1
)->ToGMT(arg2
);
17002 wxPyEndAllowThreads(__tstate
);
17003 if (PyErr_Occurred()) SWIG_fail
;
17006 wxDateTime
* resultptr
;
17007 resultptr
= new wxDateTime((wxDateTime
&) result
);
17008 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17016 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17019 bool arg2
= (bool) False
;
17020 wxDateTime
*result
;
17021 PyObject
* obj0
= 0 ;
17022 PyObject
* obj1
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "self",(char *) "noDST", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
17028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17030 arg2
= PyInt_AsLong(obj1
) ? true : false;
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
17037 result
= (wxDateTime
*) &_result_ref
;
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17050 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17053 int arg2
= (int) wxDateTime::Country_Default
;
17055 PyObject
* obj0
= 0 ;
17056 char *kwnames
[] = {
17057 (char *) "self",(char *) "country", NULL
17060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
17061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17069 resultobj
= PyInt_FromLong((long)result
);
17076 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 char *kwnames
[] = {
17082 (char *) "self", NULL
17085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
17086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= PyInt_FromLong((long)result
);
17101 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17105 PyObject
* obj0
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "self", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
17111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17119 resultobj
= PyInt_FromLong((long)result
);
17126 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17127 PyObject
*resultobj
;
17128 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17129 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17130 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17132 bool temp2
= False
;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self",(char *) "tz", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= PyInt_FromLong((long)result
);
17156 if (temp2
) delete arg2
;
17161 if (temp2
) delete arg2
;
17167 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17170 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17171 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17173 bool temp2
= False
;
17174 PyObject
* obj0
= 0 ;
17175 PyObject
* obj1
= 0 ;
17176 char *kwnames
[] = {
17177 (char *) "self",(char *) "tz", NULL
17180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17184 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= PyInt_FromLong((long)result
);
17197 if (temp2
) delete arg2
;
17202 if (temp2
) delete arg2
;
17208 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17211 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17212 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17214 bool temp2
= False
;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "tz", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17225 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= PyInt_FromLong((long)result
);
17238 if (temp2
) delete arg2
;
17243 if (temp2
) delete arg2
;
17249 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17252 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17253 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17255 bool temp2
= False
;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self",(char *) "tz", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17266 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= PyInt_FromLong((long)result
);
17279 if (temp2
) delete arg2
;
17284 if (temp2
) delete arg2
;
17290 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17291 PyObject
*resultobj
;
17292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17293 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17294 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17296 bool temp2
= False
;
17297 PyObject
* obj0
= 0 ;
17298 PyObject
* obj1
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "self",(char *) "tz", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17307 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= PyInt_FromLong((long)result
);
17320 if (temp2
) delete arg2
;
17325 if (temp2
) delete arg2
;
17331 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17332 PyObject
*resultobj
;
17333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17334 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17335 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17337 bool temp2
= False
;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "self",(char *) "tz", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17348 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17354 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17356 wxPyEndAllowThreads(__tstate
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17359 resultobj
= PyInt_FromLong((long)result
);
17361 if (temp2
) delete arg2
;
17366 if (temp2
) delete arg2
;
17372 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17375 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17376 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17378 bool temp2
= False
;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "tz", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17389 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17400 resultobj
= PyInt_FromLong((long)result
);
17402 if (temp2
) delete arg2
;
17407 if (temp2
) delete arg2
;
17413 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17416 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17417 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17419 bool temp2
= False
;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "tz", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17430 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 resultobj
= PyInt_FromLong((long)result
);
17443 if (temp2
) delete arg2
;
17448 if (temp2
) delete arg2
;
17454 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17457 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17458 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17460 bool temp2
= False
;
17461 PyObject
* obj0
= 0 ;
17462 PyObject
* obj1
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self",(char *) "tz", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17471 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17479 wxPyEndAllowThreads(__tstate
);
17480 if (PyErr_Occurred()) SWIG_fail
;
17482 resultobj
= PyInt_FromLong((long)result
);
17484 if (temp2
) delete arg2
;
17489 if (temp2
) delete arg2
;
17495 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17498 int arg2
= (int) wxDateTime::Monday_First
;
17499 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17500 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17502 bool temp3
= False
;
17503 PyObject
* obj0
= 0 ;
17504 PyObject
* obj2
= 0 ;
17505 char *kwnames
[] = {
17506 (char *) "self",(char *) "flags",(char *) "tz", NULL
17509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= PyInt_FromLong((long)result
);
17526 if (temp3
) delete arg3
;
17531 if (temp3
) delete arg3
;
17537 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17540 int arg2
= (int) wxDateTime::Monday_First
;
17541 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17542 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17544 bool temp3
= False
;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj2
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "flags",(char *) "tz", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17555 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 resultobj
= PyInt_FromLong((long)result
);
17568 if (temp3
) delete arg3
;
17573 if (temp3
) delete arg3
;
17579 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17582 int arg2
= (int) wxDateTime::Country_Default
;
17584 PyObject
* obj0
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self",(char *) "country", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= PyInt_FromLong((long)result
);
17605 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17608 wxDateTime
*arg2
= 0 ;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self",(char *) "datetime", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17619 if (arg2
== NULL
) {
17620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 resultobj
= PyInt_FromLong((long)result
);
17636 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17639 wxDateTime
*arg2
= 0 ;
17641 PyObject
* obj0
= 0 ;
17642 PyObject
* obj1
= 0 ;
17643 char *kwnames
[] = {
17644 (char *) "self",(char *) "datetime", NULL
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17650 if (arg2
== NULL
) {
17651 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17657 wxPyEndAllowThreads(__tstate
);
17658 if (PyErr_Occurred()) SWIG_fail
;
17660 resultobj
= PyInt_FromLong((long)result
);
17667 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17668 PyObject
*resultobj
;
17669 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17670 wxDateTime
*arg2
= 0 ;
17672 PyObject
* obj0
= 0 ;
17673 PyObject
* obj1
= 0 ;
17674 char *kwnames
[] = {
17675 (char *) "self",(char *) "datetime", NULL
17678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17680 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17681 if (arg2
== NULL
) {
17682 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 resultobj
= PyInt_FromLong((long)result
);
17698 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17699 PyObject
*resultobj
;
17700 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17701 wxDateTime
*arg2
= 0 ;
17702 wxDateTime
*arg3
= 0 ;
17704 PyObject
* obj0
= 0 ;
17705 PyObject
* obj1
= 0 ;
17706 PyObject
* obj2
= 0 ;
17707 char *kwnames
[] = {
17708 (char *) "self",(char *) "t1",(char *) "t2", NULL
17711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17713 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17714 if (arg2
== NULL
) {
17715 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17717 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17718 if (arg3
== NULL
) {
17719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17723 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17725 wxPyEndAllowThreads(__tstate
);
17726 if (PyErr_Occurred()) SWIG_fail
;
17728 resultobj
= PyInt_FromLong((long)result
);
17735 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17736 PyObject
*resultobj
;
17737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17738 wxDateTime
*arg2
= 0 ;
17739 wxDateTime
*arg3
= 0 ;
17741 PyObject
* obj0
= 0 ;
17742 PyObject
* obj1
= 0 ;
17743 PyObject
* obj2
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self",(char *) "t1",(char *) "t2", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17750 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17751 if (arg2
== NULL
) {
17752 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17754 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17755 if (arg3
== NULL
) {
17756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17762 wxPyEndAllowThreads(__tstate
);
17763 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= PyInt_FromLong((long)result
);
17772 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17773 PyObject
*resultobj
;
17774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17775 wxDateTime
*arg2
= 0 ;
17777 PyObject
* obj0
= 0 ;
17778 PyObject
* obj1
= 0 ;
17779 char *kwnames
[] = {
17780 (char *) "self",(char *) "dt", NULL
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17785 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17786 if (arg2
== NULL
) {
17787 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17793 wxPyEndAllowThreads(__tstate
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= PyInt_FromLong((long)result
);
17803 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17804 PyObject
*resultobj
;
17805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17806 wxDateTime
*arg2
= 0 ;
17808 PyObject
* obj0
= 0 ;
17809 PyObject
* obj1
= 0 ;
17810 char *kwnames
[] = {
17811 (char *) "self",(char *) "dt", NULL
17814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17817 if (arg2
== NULL
) {
17818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= PyInt_FromLong((long)result
);
17834 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17837 wxDateTime
*arg2
= 0 ;
17838 wxTimeSpan
*arg3
= 0 ;
17840 PyObject
* obj0
= 0 ;
17841 PyObject
* obj1
= 0 ;
17842 PyObject
* obj2
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "dt",(char *) "ts", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17849 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17850 if (arg2
== NULL
) {
17851 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17853 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17854 if (arg3
== NULL
) {
17855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= PyInt_FromLong((long)result
);
17871 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17874 wxTimeSpan
*arg2
= 0 ;
17875 wxDateTime
*result
;
17876 PyObject
* obj0
= 0 ;
17877 PyObject
* obj1
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self",(char *) "diff", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17884 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17885 if (arg2
== NULL
) {
17886 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17892 result
= (wxDateTime
*) &_result_ref
;
17895 wxPyEndAllowThreads(__tstate
);
17896 if (PyErr_Occurred()) SWIG_fail
;
17898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17905 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17906 PyObject
*resultobj
;
17907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17908 wxDateSpan
*arg2
= 0 ;
17909 wxDateTime
*result
;
17910 PyObject
* obj0
= 0 ;
17911 PyObject
* obj1
= 0 ;
17912 char *kwnames
[] = {
17913 (char *) "self",(char *) "diff", NULL
17916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17918 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17919 if (arg2
== NULL
) {
17920 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17925 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17926 result
= (wxDateTime
*) &_result_ref
;
17929 wxPyEndAllowThreads(__tstate
);
17930 if (PyErr_Occurred()) SWIG_fail
;
17932 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17939 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17942 wxTimeSpan
*arg2
= 0 ;
17943 wxDateTime
*result
;
17944 PyObject
* obj0
= 0 ;
17945 PyObject
* obj1
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "diff", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17953 if (arg2
== NULL
) {
17954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17959 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17960 result
= (wxDateTime
*) &_result_ref
;
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17973 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17974 PyObject
*resultobj
;
17975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17976 wxDateSpan
*arg2
= 0 ;
17977 wxDateTime
*result
;
17978 PyObject
* obj0
= 0 ;
17979 PyObject
* obj1
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self",(char *) "diff", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17987 if (arg2
== NULL
) {
17988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17993 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17994 result
= (wxDateTime
*) &_result_ref
;
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18007 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18010 wxDateTime
*arg2
= 0 ;
18012 PyObject
* obj0
= 0 ;
18013 PyObject
* obj1
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self",(char *) "dt", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18021 if (arg2
== NULL
) {
18022 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18032 wxTimeSpan
* resultptr
;
18033 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18034 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18042 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
18043 PyObject
*resultobj
;
18044 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18045 wxTimeSpan
*arg2
= 0 ;
18046 wxDateTime
*result
;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18050 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18052 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18053 if (arg2
== NULL
) {
18054 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
18060 result
= (wxDateTime
*) &_result_ref
;
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18073 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
18074 PyObject
*resultobj
;
18075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18076 wxDateSpan
*arg2
= 0 ;
18077 wxDateTime
*result
;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18081 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18084 if (arg2
== NULL
) {
18085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
18091 result
= (wxDateTime
*) &_result_ref
;
18094 wxPyEndAllowThreads(__tstate
);
18095 if (PyErr_Occurred()) SWIG_fail
;
18097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18104 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
18109 argc
= PyObject_Length(args
);
18110 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18111 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18117 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18127 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18135 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
18143 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18153 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18161 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
18166 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
18171 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18172 PyObject
*resultobj
;
18173 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18174 wxTimeSpan
*arg2
= 0 ;
18175 wxDateTime
*result
;
18176 PyObject
* obj0
= 0 ;
18177 PyObject
* obj1
= 0 ;
18179 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18182 if (arg2
== NULL
) {
18183 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
18189 result
= (wxDateTime
*) &_result_ref
;
18192 wxPyEndAllowThreads(__tstate
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18202 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18203 PyObject
*resultobj
;
18204 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18205 wxDateSpan
*arg2
= 0 ;
18206 wxDateTime
*result
;
18207 PyObject
* obj0
= 0 ;
18208 PyObject
* obj1
= 0 ;
18210 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18213 if (arg2
== NULL
) {
18214 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
18220 result
= (wxDateTime
*) &_result_ref
;
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18226 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18233 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
18238 argc
= PyObject_Length(args
);
18239 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18240 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18246 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18256 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18264 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18272 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18282 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18290 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18295 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18300 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18301 PyObject
*resultobj
;
18302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18303 wxTimeSpan
*arg2
= 0 ;
18305 PyObject
* obj0
= 0 ;
18306 PyObject
* obj1
= 0 ;
18308 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18310 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18311 if (arg2
== NULL
) {
18312 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18322 wxDateTime
* resultptr
;
18323 resultptr
= new wxDateTime((wxDateTime
&) result
);
18324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18332 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18333 PyObject
*resultobj
;
18334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18335 wxDateSpan
*arg2
= 0 ;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18340 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18342 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18343 if (arg2
== NULL
) {
18344 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 wxDateTime
* resultptr
;
18355 resultptr
= new wxDateTime((wxDateTime
&) result
);
18356 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18364 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18369 argc
= PyObject_Length(args
);
18370 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18371 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18377 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18387 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18395 return _wrap_DateTime___add____SWIG_0(self
,args
);
18403 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18413 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18421 return _wrap_DateTime___add____SWIG_1(self
,args
);
18426 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18431 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18432 PyObject
*resultobj
;
18433 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18434 wxDateTime
*arg2
= 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18439 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18442 if (arg2
== NULL
) {
18443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 wxTimeSpan
* resultptr
;
18454 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18455 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18463 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18464 PyObject
*resultobj
;
18465 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18466 wxTimeSpan
*arg2
= 0 ;
18468 PyObject
* obj0
= 0 ;
18469 PyObject
* obj1
= 0 ;
18471 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18474 if (arg2
== NULL
) {
18475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 wxDateTime
* resultptr
;
18486 resultptr
= new wxDateTime((wxDateTime
&) result
);
18487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18495 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18496 PyObject
*resultobj
;
18497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18498 wxDateSpan
*arg2
= 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18503 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18506 if (arg2
== NULL
) {
18507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18517 wxDateTime
* resultptr
;
18518 resultptr
= new wxDateTime((wxDateTime
&) result
);
18519 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18527 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18532 argc
= PyObject_Length(args
);
18533 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18534 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18540 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18550 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18558 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18566 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18576 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18584 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18592 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18602 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18610 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18615 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18620 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18621 PyObject
*resultobj
;
18622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18623 wxDateTime
*arg2
= 0 ;
18625 PyObject
* obj0
= 0 ;
18626 PyObject
* obj1
= 0 ;
18628 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18631 if (arg2
== NULL
) {
18632 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= PyInt_FromLong((long)result
);
18648 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18649 PyObject
*resultobj
;
18650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18651 wxDateTime
*arg2
= 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18656 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18659 if (arg2
== NULL
) {
18660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= PyInt_FromLong((long)result
);
18676 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18677 PyObject
*resultobj
;
18678 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18679 wxDateTime
*arg2
= 0 ;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18684 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18687 if (arg2
== NULL
) {
18688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18697 resultobj
= PyInt_FromLong((long)result
);
18704 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18705 PyObject
*resultobj
;
18706 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18707 wxDateTime
*arg2
= 0 ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18712 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18715 if (arg2
== NULL
) {
18716 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18720 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= PyInt_FromLong((long)result
);
18732 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18733 PyObject
*resultobj
;
18734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18735 wxDateTime
*arg2
= 0 ;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18740 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18743 if (arg2
== NULL
) {
18744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 resultobj
= PyInt_FromLong((long)result
);
18760 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18761 PyObject
*resultobj
;
18762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18763 wxDateTime
*arg2
= 0 ;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18768 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18770 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 if (arg2
== NULL
) {
18772 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= PyInt_FromLong((long)result
);
18788 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18791 wxString
*arg2
= 0 ;
18793 bool temp2
= False
;
18794 PyObject
* obj0
= 0 ;
18795 PyObject
* obj1
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self",(char *) "date", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18803 arg2
= wxString_in_helper(obj1
);
18804 if (arg2
== NULL
) SWIG_fail
;
18808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18809 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18811 wxPyEndAllowThreads(__tstate
);
18812 if (PyErr_Occurred()) SWIG_fail
;
18814 resultobj
= PyInt_FromLong((long)result
);
18829 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
;
18831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18832 wxString
*arg2
= 0 ;
18833 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18835 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18836 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18838 bool temp2
= False
;
18839 bool temp3
= False
;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 PyObject
* obj2
= 0 ;
18843 PyObject
* obj3
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18851 arg2
= wxString_in_helper(obj1
);
18852 if (arg2
== NULL
) SWIG_fail
;
18857 arg3
= wxString_in_helper(obj2
);
18858 if (arg3
== NULL
) SWIG_fail
;
18863 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18864 if (arg4
== NULL
) {
18865 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 resultobj
= PyInt_FromLong((long)result
);
18898 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18899 PyObject
*resultobj
;
18900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18901 wxString
*arg2
= 0 ;
18903 bool temp2
= False
;
18904 PyObject
* obj0
= 0 ;
18905 PyObject
* obj1
= 0 ;
18906 char *kwnames
[] = {
18907 (char *) "self",(char *) "datetime", NULL
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18913 arg2
= wxString_in_helper(obj1
);
18914 if (arg2
== NULL
) SWIG_fail
;
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= PyInt_FromLong((long)result
);
18939 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18940 PyObject
*resultobj
;
18941 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18942 wxString
*arg2
= 0 ;
18944 bool temp2
= False
;
18945 PyObject
* obj0
= 0 ;
18946 PyObject
* obj1
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "self",(char *) "date", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18954 arg2
= wxString_in_helper(obj1
);
18955 if (arg2
== NULL
) SWIG_fail
;
18959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18960 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= PyInt_FromLong((long)result
);
18980 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18983 wxString
*arg2
= 0 ;
18985 bool temp2
= False
;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "time", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18995 arg2
= wxString_in_helper(obj1
);
18996 if (arg2
== NULL
) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
19003 wxPyEndAllowThreads(__tstate
);
19004 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= PyInt_FromLong((long)result
);
19021 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19024 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
19025 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19026 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19027 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19029 bool temp2
= False
;
19030 bool temp3
= False
;
19031 PyObject
* obj0
= 0 ;
19032 PyObject
* obj1
= 0 ;
19033 PyObject
* obj2
= 0 ;
19034 char *kwnames
[] = {
19035 (char *) "self",(char *) "format",(char *) "tz", NULL
19038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19042 arg2
= wxString_in_helper(obj1
);
19043 if (arg2
== NULL
) SWIG_fail
;
19049 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19055 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19057 wxPyEndAllowThreads(__tstate
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19072 if (temp3
) delete arg3
;
19081 if (temp3
) delete arg3
;
19087 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19089 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19091 PyObject
* obj0
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
19097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= ((wxDateTime
const *)arg1
)->FormatDate();
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19118 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= ((wxDateTime
const *)arg1
)->FormatTime();
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19149 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19180 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 char *kwnames
[] = {
19186 (char *) "self", NULL
19189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
19190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19211 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
19213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19214 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
19216 return Py_BuildValue((char *)"");
19218 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19222 char *kwnames
[] = {
19223 (char *) "sec", NULL
19226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19229 result
= wxTimeSpan::Seconds(arg1
);
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19235 wxTimeSpan
* resultptr
;
19236 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19237 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19245 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19248 char *kwnames
[] = {
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= wxTimeSpan::Second();
19257 wxPyEndAllowThreads(__tstate
);
19258 if (PyErr_Occurred()) SWIG_fail
;
19261 wxTimeSpan
* resultptr
;
19262 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19271 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19272 PyObject
*resultobj
;
19275 char *kwnames
[] = {
19276 (char *) "min", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19282 result
= wxTimeSpan::Minutes(arg1
);
19284 wxPyEndAllowThreads(__tstate
);
19285 if (PyErr_Occurred()) SWIG_fail
;
19288 wxTimeSpan
* resultptr
;
19289 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19290 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19298 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19301 char *kwnames
[] = {
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19308 result
= wxTimeSpan::Minute();
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19314 wxTimeSpan
* resultptr
;
19315 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19316 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19324 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19328 char *kwnames
[] = {
19329 (char *) "hours", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= wxTimeSpan::Hours(arg1
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19341 wxTimeSpan
* resultptr
;
19342 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19343 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19351 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19354 char *kwnames
[] = {
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= wxTimeSpan::Hour();
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19367 wxTimeSpan
* resultptr
;
19368 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19377 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19381 char *kwnames
[] = {
19382 (char *) "days", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 result
= wxTimeSpan::Days(arg1
);
19390 wxPyEndAllowThreads(__tstate
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19394 wxTimeSpan
* resultptr
;
19395 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19404 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19407 char *kwnames
[] = {
19411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= wxTimeSpan::Day();
19416 wxPyEndAllowThreads(__tstate
);
19417 if (PyErr_Occurred()) SWIG_fail
;
19420 wxTimeSpan
* resultptr
;
19421 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19422 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19430 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19434 char *kwnames
[] = {
19435 (char *) "days", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= wxTimeSpan::Weeks(arg1
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 wxTimeSpan
* resultptr
;
19448 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19449 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19457 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19460 char *kwnames
[] = {
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19467 result
= wxTimeSpan::Week();
19469 wxPyEndAllowThreads(__tstate
);
19470 if (PyErr_Occurred()) SWIG_fail
;
19473 wxTimeSpan
* resultptr
;
19474 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19475 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19483 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19484 PyObject
*resultobj
;
19485 long arg1
= (long) 0 ;
19486 long arg2
= (long) 0 ;
19487 long arg3
= (long) 0 ;
19488 long arg4
= (long) 0 ;
19489 wxTimeSpan
*result
;
19490 char *kwnames
[] = {
19491 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19509 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
;
19511 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19536 wxTimeSpan
*arg2
= 0 ;
19537 wxTimeSpan
*result
;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "diff", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19546 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19547 if (arg2
== NULL
) {
19548 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19554 result
= (wxTimeSpan
*) &_result_ref
;
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19567 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19569 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19570 wxTimeSpan
*arg2
= 0 ;
19571 wxTimeSpan
*result
;
19572 PyObject
* obj0
= 0 ;
19573 PyObject
* obj1
= 0 ;
19574 char *kwnames
[] = {
19575 (char *) "self",(char *) "diff", NULL
19578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if (arg2
== NULL
) {
19582 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19588 result
= (wxTimeSpan
*) &_result_ref
;
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19601 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
;
19603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19605 wxTimeSpan
*result
;
19606 PyObject
* obj0
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self",(char *) "n", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19616 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19617 result
= (wxTimeSpan
*) &_result_ref
;
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19630 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19633 wxTimeSpan
*result
;
19634 PyObject
* obj0
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19645 result
= (wxTimeSpan
*) &_result_ref
;
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19658 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19671 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19673 wxPyEndAllowThreads(__tstate
);
19674 if (PyErr_Occurred()) SWIG_fail
;
19677 wxTimeSpan
* resultptr
;
19678 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19679 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19687 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19690 wxTimeSpan
*arg2
= 0 ;
19691 wxTimeSpan
*result
;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self",(char *) "diff", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19701 if (arg2
== NULL
) {
19702 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19708 result
= (wxTimeSpan
*) &_result_ref
;
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19721 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19724 wxTimeSpan
*arg2
= 0 ;
19725 wxTimeSpan
*result
;
19726 PyObject
* obj0
= 0 ;
19727 PyObject
* obj1
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self",(char *) "diff", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19735 if (arg2
== NULL
) {
19736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19742 result
= (wxTimeSpan
*) &_result_ref
;
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19755 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19759 wxTimeSpan
*result
;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self",(char *) "n", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19770 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19771 result
= (wxTimeSpan
*) &_result_ref
;
19774 wxPyEndAllowThreads(__tstate
);
19775 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19784 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19785 PyObject
*resultobj
;
19786 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19787 wxTimeSpan
*result
;
19788 PyObject
* obj0
= 0 ;
19789 char *kwnames
[] = {
19790 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19799 result
= (wxTimeSpan
*) &_result_ref
;
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19812 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19815 wxTimeSpan
*arg2
= 0 ;
19817 PyObject
* obj0
= 0 ;
19818 PyObject
* obj1
= 0 ;
19819 char *kwnames
[] = {
19820 (char *) "self",(char *) "other", NULL
19823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19826 if (arg2
== NULL
) {
19827 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19837 wxTimeSpan
* resultptr
;
19838 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19839 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19847 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19850 wxTimeSpan
*arg2
= 0 ;
19852 PyObject
* obj0
= 0 ;
19853 PyObject
* obj1
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self",(char *) "other", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19860 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19861 if (arg2
== NULL
) {
19862 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19872 wxTimeSpan
* resultptr
;
19873 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19874 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19882 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "n", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19896 result
= wxTimeSpan___mul__(arg1
,arg2
);
19898 wxPyEndAllowThreads(__tstate
);
19899 if (PyErr_Occurred()) SWIG_fail
;
19902 wxTimeSpan
* resultptr
;
19903 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19904 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19912 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self",(char *) "n", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19932 wxTimeSpan
* resultptr
;
19933 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19934 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19942 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19945 wxTimeSpan
*arg2
= 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "other", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19956 if (arg2
== NULL
) {
19957 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19966 resultobj
= PyInt_FromLong((long)result
);
19973 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19976 wxTimeSpan
*arg2
= 0 ;
19978 PyObject
* obj0
= 0 ;
19979 PyObject
* obj1
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self",(char *) "other", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19987 if (arg2
== NULL
) {
19988 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19992 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19994 wxPyEndAllowThreads(__tstate
);
19995 if (PyErr_Occurred()) SWIG_fail
;
19997 resultobj
= PyInt_FromLong((long)result
);
20004 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20007 wxTimeSpan
*arg2
= 0 ;
20009 PyObject
* obj0
= 0 ;
20010 PyObject
* obj1
= 0 ;
20011 char *kwnames
[] = {
20012 (char *) "self",(char *) "other", NULL
20015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
20016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20018 if (arg2
== NULL
) {
20019 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= PyInt_FromLong((long)result
);
20035 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20038 wxTimeSpan
*arg2
= 0 ;
20040 PyObject
* obj0
= 0 ;
20041 PyObject
* obj1
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self",(char *) "other", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20049 if (arg2
== NULL
) {
20050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= PyInt_FromLong((long)result
);
20066 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20069 wxTimeSpan
*arg2
= 0 ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self",(char *) "other", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20080 if (arg2
== NULL
) {
20081 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
20087 wxPyEndAllowThreads(__tstate
);
20088 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= PyInt_FromLong((long)result
);
20097 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20100 wxTimeSpan
*arg2
= 0 ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self",(char *) "other", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20110 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20111 if (arg2
== NULL
) {
20112 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
20118 wxPyEndAllowThreads(__tstate
);
20119 if (PyErr_Occurred()) SWIG_fail
;
20121 resultobj
= PyInt_FromLong((long)result
);
20128 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20129 PyObject
*resultobj
;
20130 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20132 PyObject
* obj0
= 0 ;
20133 char *kwnames
[] = {
20134 (char *) "self", NULL
20137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
20138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= PyInt_FromLong((long)result
);
20153 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= PyInt_FromLong((long)result
);
20178 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= PyInt_FromLong((long)result
);
20203 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20206 wxTimeSpan
*arg2
= 0 ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self",(char *) "ts", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20217 if (arg2
== NULL
) {
20218 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20222 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
20224 wxPyEndAllowThreads(__tstate
);
20225 if (PyErr_Occurred()) SWIG_fail
;
20227 resultobj
= PyInt_FromLong((long)result
);
20234 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20235 PyObject
*resultobj
;
20236 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20237 wxTimeSpan
*arg2
= 0 ;
20239 PyObject
* obj0
= 0 ;
20240 PyObject
* obj1
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self",(char *) "ts", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20247 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20248 if (arg2
== NULL
) {
20249 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= PyInt_FromLong((long)result
);
20265 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20268 wxTimeSpan
*arg2
= 0 ;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20272 char *kwnames
[] = {
20273 (char *) "self",(char *) "t", NULL
20276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20278 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20279 if (arg2
== NULL
) {
20280 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20284 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20286 wxPyEndAllowThreads(__tstate
);
20287 if (PyErr_Occurred()) SWIG_fail
;
20289 resultobj
= PyInt_FromLong((long)result
);
20296 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= PyInt_FromLong((long)result
);
20321 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20325 PyObject
* obj0
= 0 ;
20326 char *kwnames
[] = {
20327 (char *) "self", NULL
20330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20336 wxPyEndAllowThreads(__tstate
);
20337 if (PyErr_Occurred()) SWIG_fail
;
20339 resultobj
= PyInt_FromLong((long)result
);
20346 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20347 PyObject
*resultobj
;
20348 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20350 PyObject
* obj0
= 0 ;
20351 char *kwnames
[] = {
20352 (char *) "self", NULL
20355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20359 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20361 wxPyEndAllowThreads(__tstate
);
20362 if (PyErr_Occurred()) SWIG_fail
;
20364 resultobj
= PyInt_FromLong((long)result
);
20371 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20372 PyObject
*resultobj
;
20373 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20375 PyObject
* obj0
= 0 ;
20376 char *kwnames
[] = {
20377 (char *) "self", NULL
20380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20389 resultobj
= PyInt_FromLong((long)result
);
20396 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
;
20398 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20400 PyObject
* obj0
= 0 ;
20401 char *kwnames
[] = {
20402 (char *) "self", NULL
20405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20416 hi
= PyLong_FromLong( (&result
)->GetHi() );
20417 lo
= PyLong_FromLong( (&result
)->GetLo() );
20418 shifter
= PyLong_FromLong(32);
20419 shifted
= PyNumber_Lshift(hi
, shifter
);
20420 resultobj
= PyNumber_Or(shifted
, lo
);
20423 Py_DECREF(shifter
);
20424 Py_DECREF(shifted
);
20432 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20433 PyObject
*resultobj
;
20434 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20436 PyObject
* obj0
= 0 ;
20437 char *kwnames
[] = {
20438 (char *) "self", NULL
20441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20452 hi
= PyLong_FromLong( (&result
)->GetHi() );
20453 lo
= PyLong_FromLong( (&result
)->GetLo() );
20454 shifter
= PyLong_FromLong(32);
20455 shifted
= PyNumber_Lshift(hi
, shifter
);
20456 resultobj
= PyNumber_Or(shifted
, lo
);
20459 Py_DECREF(shifter
);
20460 Py_DECREF(shifted
);
20468 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20469 PyObject
*resultobj
;
20470 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20471 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20472 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20474 bool temp2
= False
;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self",(char *) "format", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20485 arg2
= wxString_in_helper(obj1
);
20486 if (arg2
== NULL
) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20518 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20521 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20523 return Py_BuildValue((char *)"");
20525 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 int arg1
= (int) 0 ;
20528 int arg2
= (int) 0 ;
20529 int arg3
= (int) 0 ;
20530 int arg4
= (int) 0 ;
20531 wxDateSpan
*result
;
20532 char *kwnames
[] = {
20533 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20551 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 char *kwnames
[] = {
20556 (char *) "self", NULL
20559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20568 Py_INCREF(Py_None
); resultobj
= Py_None
;
20575 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20579 char *kwnames
[] = {
20580 (char *) "days", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20586 result
= wxDateSpan::Days(arg1
);
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20592 wxDateSpan
* resultptr
;
20593 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20594 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20602 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20605 char *kwnames
[] = {
20609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= wxDateSpan::Day();
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20618 wxDateSpan
* resultptr
;
20619 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20620 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20628 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20632 char *kwnames
[] = {
20633 (char *) "weeks", NULL
20636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20639 result
= wxDateSpan::Weeks(arg1
);
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20645 wxDateSpan
* resultptr
;
20646 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20647 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20655 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20656 PyObject
*resultobj
;
20658 char *kwnames
[] = {
20662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20665 result
= wxDateSpan::Week();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20671 wxDateSpan
* resultptr
;
20672 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20673 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20681 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20685 char *kwnames
[] = {
20686 (char *) "mon", NULL
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= wxDateSpan::Months(arg1
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20698 wxDateSpan
* resultptr
;
20699 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20700 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20708 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20709 PyObject
*resultobj
;
20711 char *kwnames
[] = {
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20718 result
= wxDateSpan::Month();
20720 wxPyEndAllowThreads(__tstate
);
20721 if (PyErr_Occurred()) SWIG_fail
;
20724 wxDateSpan
* resultptr
;
20725 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20734 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20738 char *kwnames
[] = {
20739 (char *) "years", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= wxDateSpan::Years(arg1
);
20747 wxPyEndAllowThreads(__tstate
);
20748 if (PyErr_Occurred()) SWIG_fail
;
20751 wxDateSpan
* resultptr
;
20752 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20753 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20761 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20764 char *kwnames
[] = {
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 result
= wxDateSpan::Year();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20777 wxDateSpan
* resultptr
;
20778 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20779 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20787 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20791 wxDateSpan
*result
;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self",(char *) "n", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20803 result
= (wxDateSpan
*) &_result_ref
;
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20816 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20820 wxDateSpan
*result
;
20821 PyObject
* obj0
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self",(char *) "n", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20831 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20832 result
= (wxDateSpan
*) &_result_ref
;
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20845 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20849 wxDateSpan
*result
;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self",(char *) "n", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20860 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20861 result
= (wxDateSpan
*) &_result_ref
;
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20874 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20878 wxDateSpan
*result
;
20879 PyObject
* obj0
= 0 ;
20880 char *kwnames
[] = {
20881 (char *) "self",(char *) "n", NULL
20884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20889 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20890 result
= (wxDateSpan
*) &_result_ref
;
20893 wxPyEndAllowThreads(__tstate
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20903 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 char *kwnames
[] = {
20909 (char *) "self", NULL
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20916 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20918 wxPyEndAllowThreads(__tstate
);
20919 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= PyInt_FromLong((long)result
);
20928 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20929 PyObject
*resultobj
;
20930 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 resultobj
= PyInt_FromLong((long)result
);
20953 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20966 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20968 wxPyEndAllowThreads(__tstate
);
20969 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= PyInt_FromLong((long)result
);
20978 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20979 PyObject
*resultobj
;
20980 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20982 PyObject
* obj0
= 0 ;
20983 char *kwnames
[] = {
20984 (char *) "self", NULL
20987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20993 wxPyEndAllowThreads(__tstate
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20996 resultobj
= PyInt_FromLong((long)result
);
21003 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21004 PyObject
*resultobj
;
21005 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21007 PyObject
* obj0
= 0 ;
21008 char *kwnames
[] = {
21009 (char *) "self", NULL
21012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
21013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21016 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
21018 wxPyEndAllowThreads(__tstate
);
21019 if (PyErr_Occurred()) SWIG_fail
;
21021 resultobj
= PyInt_FromLong((long)result
);
21028 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21029 PyObject
*resultobj
;
21030 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21031 wxDateSpan
*arg2
= 0 ;
21032 wxDateSpan
*result
;
21033 PyObject
* obj0
= 0 ;
21034 PyObject
* obj1
= 0 ;
21035 char *kwnames
[] = {
21036 (char *) "self",(char *) "other", NULL
21039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21041 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21042 if (arg2
== NULL
) {
21043 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21049 result
= (wxDateSpan
*) &_result_ref
;
21052 wxPyEndAllowThreads(__tstate
);
21053 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21062 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21065 wxDateSpan
*arg2
= 0 ;
21066 wxDateSpan
*result
;
21067 PyObject
* obj0
= 0 ;
21068 PyObject
* obj1
= 0 ;
21069 char *kwnames
[] = {
21070 (char *) "self",(char *) "other", NULL
21073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21075 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21076 if (arg2
== NULL
) {
21077 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
21083 result
= (wxDateSpan
*) &_result_ref
;
21086 wxPyEndAllowThreads(__tstate
);
21087 if (PyErr_Occurred()) SWIG_fail
;
21089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21096 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21097 PyObject
*resultobj
;
21098 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21099 wxDateSpan
*result
;
21100 PyObject
* obj0
= 0 ;
21101 char *kwnames
[] = {
21102 (char *) "self", NULL
21105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
21106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 wxDateSpan
&_result_ref
= (arg1
)->Neg();
21111 result
= (wxDateSpan
*) &_result_ref
;
21114 wxPyEndAllowThreads(__tstate
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21124 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21125 PyObject
*resultobj
;
21126 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21128 wxDateSpan
*result
;
21129 PyObject
* obj0
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self",(char *) "factor", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21140 result
= (wxDateSpan
*) &_result_ref
;
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21153 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21156 wxDateSpan
*arg2
= 0 ;
21157 wxDateSpan
*result
;
21158 PyObject
* obj0
= 0 ;
21159 PyObject
* obj1
= 0 ;
21160 char *kwnames
[] = {
21161 (char *) "self",(char *) "other", NULL
21164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21166 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21167 if (arg2
== NULL
) {
21168 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
21174 result
= (wxDateSpan
*) &_result_ref
;
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21187 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21188 PyObject
*resultobj
;
21189 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21190 wxDateSpan
*arg2
= 0 ;
21191 wxDateSpan
*result
;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self",(char *) "other", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21201 if (arg2
== NULL
) {
21202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
21208 result
= (wxDateSpan
*) &_result_ref
;
21211 wxPyEndAllowThreads(__tstate
);
21212 if (PyErr_Occurred()) SWIG_fail
;
21214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21221 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21222 PyObject
*resultobj
;
21223 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21224 wxDateSpan
*result
;
21225 PyObject
* obj0
= 0 ;
21226 char *kwnames
[] = {
21227 (char *) "self", NULL
21230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
21231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21235 wxDateSpan
&_result_ref
= (arg1
)->operator -();
21236 result
= (wxDateSpan
*) &_result_ref
;
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21249 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21253 wxDateSpan
*result
;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self",(char *) "factor", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21265 result
= (wxDateSpan
*) &_result_ref
;
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21278 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21281 wxDateSpan
*arg2
= 0 ;
21283 PyObject
* obj0
= 0 ;
21284 PyObject
* obj1
= 0 ;
21285 char *kwnames
[] = {
21286 (char *) "self",(char *) "other", NULL
21289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21291 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21292 if (arg2
== NULL
) {
21293 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21303 wxDateSpan
* resultptr
;
21304 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21305 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21313 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21316 wxDateSpan
*arg2
= 0 ;
21318 PyObject
* obj0
= 0 ;
21319 PyObject
* obj1
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "self",(char *) "other", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21327 if (arg2
== NULL
) {
21328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21338 wxDateSpan
* resultptr
;
21339 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21348 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21349 PyObject
*resultobj
;
21350 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21353 PyObject
* obj0
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "self",(char *) "n", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21362 result
= wxDateSpan___mul__(arg1
,arg2
);
21364 wxPyEndAllowThreads(__tstate
);
21365 if (PyErr_Occurred()) SWIG_fail
;
21368 wxDateSpan
* resultptr
;
21369 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21370 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21378 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21383 PyObject
* obj0
= 0 ;
21384 char *kwnames
[] = {
21385 (char *) "self",(char *) "n", NULL
21388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= wxDateSpan___rmul__(arg1
,arg2
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 wxDateSpan
* resultptr
;
21399 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21400 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21408 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21409 PyObject
*resultobj
;
21410 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21411 wxDateSpan
*arg2
= 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "other", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21422 if (arg2
== NULL
) {
21423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21427 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21429 wxPyEndAllowThreads(__tstate
);
21430 if (PyErr_Occurred()) SWIG_fail
;
21432 resultobj
= PyInt_FromLong((long)result
);
21439 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21440 PyObject
*resultobj
;
21441 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21442 wxDateSpan
*arg2
= 0 ;
21444 PyObject
* obj0
= 0 ;
21445 PyObject
* obj1
= 0 ;
21446 char *kwnames
[] = {
21447 (char *) "self",(char *) "other", NULL
21450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 if (arg2
== NULL
) {
21454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= PyInt_FromLong((long)result
);
21470 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21473 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21475 return Py_BuildValue((char *)"");
21477 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21480 char *kwnames
[] = {
21484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 result
= (long)wxGetLocalTime();
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 resultobj
= PyInt_FromLong((long)result
);
21499 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21502 char *kwnames
[] = {
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21509 result
= (long)wxGetUTCTime();
21511 wxPyEndAllowThreads(__tstate
);
21512 if (PyErr_Occurred()) SWIG_fail
;
21514 resultobj
= PyInt_FromLong((long)result
);
21521 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21522 PyObject
*resultobj
;
21524 char *kwnames
[] = {
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21531 result
= (long)wxGetCurrentTime();
21533 wxPyEndAllowThreads(__tstate
);
21534 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= PyInt_FromLong((long)result
);
21543 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21544 PyObject
*resultobj
;
21546 char *kwnames
[] = {
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= wxGetLocalTimeMillis();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21560 hi
= PyLong_FromLong( (&result
)->GetHi() );
21561 lo
= PyLong_FromLong( (&result
)->GetLo() );
21562 shifter
= PyLong_FromLong(32);
21563 shifted
= PyNumber_Lshift(hi
, shifter
);
21564 resultobj
= PyNumber_Or(shifted
, lo
);
21567 Py_DECREF(shifter
);
21568 Py_DECREF(shifted
);
21576 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21579 wxDataFormat
*result
;
21580 char *kwnames
[] = {
21581 (char *) "type", NULL
21584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21599 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxString
*arg1
= 0 ;
21602 wxDataFormat
*result
;
21603 bool temp1
= False
;
21604 PyObject
* obj0
= 0 ;
21605 char *kwnames
[] = {
21606 (char *) "format", NULL
21609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21611 arg1
= wxString_in_helper(obj0
);
21612 if (arg1
== NULL
) SWIG_fail
;
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21619 wxPyEndAllowThreads(__tstate
);
21620 if (PyErr_Occurred()) SWIG_fail
;
21622 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21637 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21640 PyObject
* obj0
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21654 Py_INCREF(Py_None
); resultobj
= Py_None
;
21661 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21662 PyObject
*resultobj
;
21663 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21668 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= PyInt_FromLong((long)result
);
21684 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21685 PyObject
*resultobj
;
21686 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21689 PyObject
* obj0
= 0 ;
21691 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21700 resultobj
= PyInt_FromLong((long)result
);
21707 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21708 PyObject
*resultobj
;
21709 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21710 wxDataFormat
*arg2
= 0 ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21715 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 if (arg2
== NULL
) {
21719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= PyInt_FromLong((long)result
);
21735 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21740 argc
= PyObject_Length(args
);
21741 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21742 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21748 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21758 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21766 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21774 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21783 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21786 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21791 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21796 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21797 PyObject
*resultobj
;
21798 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21799 wxDataFormat
*arg2
= 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21804 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21807 if (arg2
== NULL
) {
21808 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21812 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= PyInt_FromLong((long)result
);
21824 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21829 argc
= PyObject_Length(args
);
21830 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21831 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21837 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21847 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21855 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21863 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21872 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21875 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21880 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21885 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21889 PyObject
* obj0
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "format", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 (arg1
)->SetType((wxDataFormatId
)arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= PyInt_FromLong((long)result
);
21935 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 char *kwnames
[] = {
21941 (char *) "self", NULL
21944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 result
= ((wxDataFormat
const *)arg1
)->GetId();
21950 wxPyEndAllowThreads(__tstate
);
21951 if (PyErr_Occurred()) SWIG_fail
;
21955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21966 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21968 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21969 wxString
*arg2
= 0 ;
21970 bool temp2
= False
;
21971 PyObject
* obj0
= 0 ;
21972 PyObject
* obj1
= 0 ;
21973 char *kwnames
[] = {
21974 (char *) "self",(char *) "format", NULL
21977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21980 arg2
= wxString_in_helper(obj1
);
21981 if (arg2
== NULL
) SWIG_fail
;
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 (arg1
)->SetId((wxString
const &)*arg2
);
21988 wxPyEndAllowThreads(__tstate
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21991 Py_INCREF(Py_None
); resultobj
= Py_None
;
22006 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
22008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22009 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
22011 return Py_BuildValue((char *)"");
22013 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
22014 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
22019 static PyObject
*_wrap_FormatInvalid_get() {
22022 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
22027 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22030 PyObject
* obj0
= 0 ;
22031 char *kwnames
[] = {
22032 (char *) "self", NULL
22035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
22036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22044 Py_INCREF(Py_None
); resultobj
= Py_None
;
22051 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22052 PyObject
*resultobj
;
22053 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22054 int arg2
= (int) wxDataObject::Get
;
22055 SwigValueWrapper
< wxDataFormat
> result
;
22056 PyObject
* obj0
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "dir", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22071 wxDataFormat
* resultptr
;
22072 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
22073 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
22081 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22084 int arg2
= (int) wxDataObject::Get
;
22086 PyObject
* obj0
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "dir", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= PyInt_FromLong((long)result
);
22107 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22110 wxDataFormat
*arg2
= 0 ;
22111 int arg3
= (int) wxDataObject::Get
;
22113 PyObject
* obj0
= 0 ;
22114 PyObject
* obj1
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "format",(char *) "dir", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22121 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 if (arg2
== NULL
) {
22123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= PyInt_FromLong((long)result
);
22139 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22142 wxDataFormat
*arg2
= 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "format", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22153 if (arg2
== NULL
) {
22154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 resultobj
= PyInt_FromLong((long)result
);
22170 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22173 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
22174 int arg3
= (int) wxDataObject::Get
;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "formats",(char *) "dir", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22183 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22198 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22201 wxDataFormat
*arg2
= 0 ;
22202 void *arg3
= (void *) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 PyObject
* obj2
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self",(char *) "format",(char *) "buf", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22214 if (arg2
== NULL
) {
22215 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22217 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= PyInt_FromLong((long)result
);
22232 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22235 wxDataFormat
*arg2
= 0 ;
22237 void *arg4
= (void *) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 PyObject
* obj2
= 0 ;
22242 PyObject
* obj3
= 0 ;
22243 char *kwnames
[] = {
22244 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22249 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22250 if (arg2
== NULL
) {
22251 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22253 arg3
= (size_t) PyInt_AsLong(obj2
);
22254 if (PyErr_Occurred()) SWIG_fail
;
22255 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 resultobj
= PyInt_FromLong((long)result
);
22270 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22273 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22275 return Py_BuildValue((char *)"");
22277 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22280 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22281 wxDataObjectSimple
*result
;
22282 PyObject
* obj0
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "format", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22290 if (arg1
== NULL
) {
22291 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22308 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22311 wxDataFormat
*result
;
22312 PyObject
* obj0
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22323 result
= (wxDataFormat
*) &_result_ref
;
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22336 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22339 wxDataFormat
*arg2
= 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "format", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22349 if (arg2
== NULL
) {
22350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22359 Py_INCREF(Py_None
); resultobj
= Py_None
;
22366 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22369 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22371 return Py_BuildValue((char *)"");
22373 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22374 PyObject
*resultobj
;
22375 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22376 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22377 wxPyDataObjectSimple
*result
;
22378 PyObject
* obj0
= 0 ;
22379 char *kwnames
[] = {
22380 (char *) "format", NULL
22383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22386 if (arg1
== NULL
) {
22387 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22394 wxPyEndAllowThreads(__tstate
);
22395 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22404 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22405 PyObject
*resultobj
;
22406 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22407 PyObject
*arg2
= (PyObject
*) 0 ;
22408 PyObject
*arg3
= (PyObject
*) 0 ;
22409 PyObject
* obj0
= 0 ;
22410 PyObject
* obj1
= 0 ;
22411 PyObject
* obj2
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "self",(char *) "_class", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22424 wxPyEndAllowThreads(__tstate
);
22425 if (PyErr_Occurred()) SWIG_fail
;
22427 Py_INCREF(Py_None
); resultobj
= Py_None
;
22434 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22437 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22439 return Py_BuildValue((char *)"");
22441 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22442 PyObject
*resultobj
;
22443 wxDataObjectComposite
*result
;
22444 char *kwnames
[] = {
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22463 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22464 PyObject
*resultobj
;
22465 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22466 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22467 int arg3
= (int) False
;
22468 PyObject
* obj0
= 0 ;
22469 PyObject
* obj1
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 (arg1
)->Add(arg2
,arg3
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22484 Py_INCREF(Py_None
); resultobj
= Py_None
;
22491 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22494 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22496 return Py_BuildValue((char *)"");
22498 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
;
22500 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22501 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22502 wxTextDataObject
*result
;
22503 bool temp1
= False
;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "text", NULL
22509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22512 arg1
= wxString_in_helper(obj0
);
22513 if (arg1
== NULL
) SWIG_fail
;
22518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22519 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22521 wxPyEndAllowThreads(__tstate
);
22522 if (PyErr_Occurred()) SWIG_fail
;
22524 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22539 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
;
22541 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (size_t)(arg1
)->GetTextLength();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= PyInt_FromLong((long)result
);
22564 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
;
22566 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22568 PyObject
* obj0
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self", NULL
22573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 result
= (arg1
)->GetText();
22579 wxPyEndAllowThreads(__tstate
);
22580 if (PyErr_Occurred()) SWIG_fail
;
22584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22595 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22596 PyObject
*resultobj
;
22597 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22598 wxString
*arg2
= 0 ;
22599 bool temp2
= False
;
22600 PyObject
* obj0
= 0 ;
22601 PyObject
* obj1
= 0 ;
22602 char *kwnames
[] = {
22603 (char *) "self",(char *) "text", NULL
22606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22609 arg2
= wxString_in_helper(obj1
);
22610 if (arg2
== NULL
) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->SetText((wxString
const &)*arg2
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22637 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22638 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22640 return Py_BuildValue((char *)"");
22642 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22645 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22646 wxPyTextDataObject
*result
;
22647 bool temp1
= False
;
22648 PyObject
* obj0
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "text", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22656 arg1
= wxString_in_helper(obj0
);
22657 if (arg1
== NULL
) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22683 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22684 PyObject
*resultobj
;
22685 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22686 PyObject
*arg2
= (PyObject
*) 0 ;
22687 PyObject
*arg3
= (PyObject
*) 0 ;
22688 PyObject
* obj0
= 0 ;
22689 PyObject
* obj1
= 0 ;
22690 PyObject
* obj2
= 0 ;
22691 char *kwnames
[] = {
22692 (char *) "self",(char *) "self",(char *) "_class", NULL
22695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22701 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 Py_INCREF(Py_None
); resultobj
= Py_None
;
22713 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22716 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22718 return Py_BuildValue((char *)"");
22720 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22721 PyObject
*resultobj
;
22722 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22723 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22724 wxBitmapDataObject
*result
;
22725 PyObject
* obj0
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "bitmap", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22733 if (arg1
== NULL
) {
22734 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22751 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22770 wxBitmap
* resultptr
;
22771 resultptr
= new wxBitmap((wxBitmap
&) result
);
22772 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22780 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22783 wxBitmap
*arg2
= 0 ;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "bitmap", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22792 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22793 if (arg2
== NULL
) {
22794 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22800 wxPyEndAllowThreads(__tstate
);
22801 if (PyErr_Occurred()) SWIG_fail
;
22803 Py_INCREF(Py_None
); resultobj
= Py_None
;
22810 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22813 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22815 return Py_BuildValue((char *)"");
22817 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22820 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22821 wxPyBitmapDataObject
*result
;
22822 PyObject
* obj0
= 0 ;
22823 char *kwnames
[] = {
22824 (char *) "bitmap", NULL
22827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22830 if (arg1
== NULL
) {
22831 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22836 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22838 wxPyEndAllowThreads(__tstate
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22848 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22849 PyObject
*resultobj
;
22850 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22851 PyObject
*arg2
= (PyObject
*) 0 ;
22852 PyObject
*arg3
= (PyObject
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 PyObject
* obj1
= 0 ;
22855 PyObject
* obj2
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self",(char *) "self",(char *) "_class", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22866 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22868 wxPyEndAllowThreads(__tstate
);
22869 if (PyErr_Occurred()) SWIG_fail
;
22871 Py_INCREF(Py_None
); resultobj
= Py_None
;
22878 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22881 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22883 return Py_BuildValue((char *)"");
22885 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxFileDataObject
*result
;
22888 char *kwnames
[] = {
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (wxFileDataObject
*)new wxFileDataObject();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22907 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22910 wxArrayString
*result
;
22911 PyObject
* obj0
= 0 ;
22912 char *kwnames
[] = {
22913 (char *) "self", NULL
22916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22921 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22922 result
= (wxArrayString
*) &_result_ref
;
22925 wxPyEndAllowThreads(__tstate
);
22926 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= wxArrayString2PyList_helper(*result
);
22937 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22940 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22942 return Py_BuildValue((char *)"");
22944 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22947 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22948 wxCustomDataObject
*result
;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "format", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22957 if (arg1
== NULL
) {
22958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22975 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22978 PyObject
*arg2
= (PyObject
*) 0 ;
22979 PyObject
* obj0
= 0 ;
22980 PyObject
* obj1
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self",(char *) "data", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 wxCustomDataObject_TakeData(arg1
,arg2
);
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 Py_INCREF(Py_None
); resultobj
= Py_None
;
23002 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23005 PyObject
*arg2
= (PyObject
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "data", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= PyInt_FromLong((long)result
);
23030 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23031 PyObject
*resultobj
;
23032 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 char *kwnames
[] = {
23036 (char *) "self", NULL
23039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
23040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= (size_t)(arg1
)->GetSize();
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 resultobj
= PyInt_FromLong((long)result
);
23055 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= result
;
23080 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23083 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
23085 return Py_BuildValue((char *)"");
23087 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxURLDataObject
*result
;
23090 char *kwnames
[] = {
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= (wxURLDataObject
*)new wxURLDataObject();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
23109 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23113 PyObject
* obj0
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
23119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (arg1
)->GetURL();
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23140 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23143 wxString
*arg2
= 0 ;
23144 bool temp2
= False
;
23145 PyObject
* obj0
= 0 ;
23146 PyObject
* obj1
= 0 ;
23147 char *kwnames
[] = {
23148 (char *) "self",(char *) "url", NULL
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23154 arg2
= wxString_in_helper(obj1
);
23155 if (arg2
== NULL
) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 (arg1
)->SetURL((wxString
const &)*arg2
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 Py_INCREF(Py_None
); resultobj
= Py_None
;
23180 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23183 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
23185 return Py_BuildValue((char *)"");
23187 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxMetafileDataObject
*result
;
23190 char *kwnames
[] = {
23194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
23209 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
23212 wxMetafile
*arg2
= 0 ;
23213 PyObject
* obj0
= 0 ;
23214 PyObject
* obj1
= 0 ;
23215 char *kwnames
[] = {
23216 (char *) "self",(char *) "metafile", NULL
23219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
23220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23221 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMetafile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23222 if (arg2
== NULL
) {
23223 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 Py_INCREF(Py_None
); resultobj
= Py_None
;
23239 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
;
23241 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
23243 PyObject
* obj0
= 0 ;
23244 char *kwnames
[] = {
23245 (char *) "self", NULL
23248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
23249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMetafileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23258 wxMetafile
* resultptr
;
23259 resultptr
= new wxMetafile((wxMetafile
&) result
);
23260 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxMetafile
, 1);
23268 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23271 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
23273 return Py_BuildValue((char *)"");
23275 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23279 char *kwnames
[] = {
23280 (char *) "res", NULL
23283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
23288 wxPyEndAllowThreads(__tstate
);
23289 if (PyErr_Occurred()) SWIG_fail
;
23291 resultobj
= PyInt_FromLong((long)result
);
23298 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23299 PyObject
*resultobj
;
23300 wxWindow
*arg1
= (wxWindow
*) NULL
;
23301 wxCursor
const &arg2_defvalue
= wxNullCursor
;
23302 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
23303 wxCursor
const &arg3_defvalue
= wxNullCursor
;
23304 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
23305 wxCursor
const &arg4_defvalue
= wxNullCursor
;
23306 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
23307 wxPyDropSource
*result
;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 PyObject
* obj2
= 0 ;
23311 PyObject
* obj3
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23322 if (arg2
== NULL
) {
23323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23327 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23328 if (arg3
== NULL
) {
23329 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23333 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23334 if (arg4
== NULL
) {
23335 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23352 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23355 PyObject
*arg2
= (PyObject
*) 0 ;
23356 PyObject
*arg3
= (PyObject
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 PyObject
* obj2
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 Py_INCREF(Py_None
); resultobj
= Py_None
;
23383 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23384 PyObject
*resultobj
;
23385 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23386 PyObject
* obj0
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23397 wxPyEndAllowThreads(__tstate
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23400 Py_INCREF(Py_None
); resultobj
= Py_None
;
23407 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23410 wxDataObject
*arg2
= 0 ;
23411 PyObject
* obj0
= 0 ;
23412 PyObject
* obj1
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self",(char *) "data", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23419 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23420 if (arg2
== NULL
) {
23421 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23425 (arg1
)->SetData(*arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 Py_INCREF(Py_None
); resultobj
= Py_None
;
23437 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23438 PyObject
*resultobj
;
23439 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23440 wxDataObject
*result
;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23462 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23466 wxCursor
*arg3
= 0 ;
23467 PyObject
* obj0
= 0 ;
23468 PyObject
* obj2
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "res",(char *) "cursor", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23475 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23476 if (arg3
== NULL
) {
23477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 Py_INCREF(Py_None
); resultobj
= Py_None
;
23493 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23496 int arg2
= (int) wxDrag_CopyOnly
;
23498 PyObject
* obj0
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "flags", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 result
= (int)(arg1
)->DoDragDrop(arg2
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= PyInt_FromLong((long)result
);
23519 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self",(char *) "effect", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23538 resultobj
= PyInt_FromLong((long)result
);
23545 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23548 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23550 return Py_BuildValue((char *)"");
23552 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23555 wxPyDropTarget
*result
;
23556 PyObject
* obj0
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "dataObject", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23579 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23582 PyObject
*arg2
= (PyObject
*) 0 ;
23583 PyObject
*arg3
= (PyObject
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 PyObject
* obj2
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "self",(char *) "_class", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23633 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23636 wxDataObject
*result
;
23637 PyObject
* obj0
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23651 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23658 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23661 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "dataObject", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23670 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 (arg1
)->SetDataObject(arg2
);
23675 wxPyEndAllowThreads(__tstate
);
23676 if (PyErr_Occurred()) SWIG_fail
;
23678 Py_INCREF(Py_None
); resultobj
= Py_None
;
23685 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23703 wxPyEndAllowThreads(__tstate
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= PyInt_FromLong((long)result
);
23713 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 char *kwnames
[] = {
23722 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23729 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23731 wxPyEndAllowThreads(__tstate
);
23732 if (PyErr_Occurred()) SWIG_fail
;
23734 resultobj
= PyInt_FromLong((long)result
);
23741 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23742 PyObject
*resultobj
;
23743 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 (arg1
)->base_OnLeave();
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 Py_INCREF(Py_None
); resultobj
= Py_None
;
23765 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
;
23767 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23771 PyObject
* obj0
= 0 ;
23772 char *kwnames
[] = {
23773 (char *) "self",(char *) "x",(char *) "y", NULL
23776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= PyInt_FromLong((long)result
);
23792 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (bool)(arg1
)->GetData();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= PyInt_FromLong((long)result
);
23817 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23820 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23822 return Py_BuildValue((char *)"");
23824 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxPyTextDropTarget
*result
;
23827 char *kwnames
[] = {
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23846 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
;
23848 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23849 PyObject
*arg2
= (PyObject
*) 0 ;
23850 PyObject
*arg3
= (PyObject
*) 0 ;
23851 PyObject
* obj0
= 0 ;
23852 PyObject
* obj1
= 0 ;
23853 PyObject
* obj2
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self",(char *) "self",(char *) "_class", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23869 Py_INCREF(Py_None
); resultobj
= Py_None
;
23876 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23892 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23894 wxPyEndAllowThreads(__tstate
);
23895 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= PyInt_FromLong((long)result
);
23904 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23905 PyObject
*resultobj
;
23906 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= PyInt_FromLong((long)result
);
23932 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23935 PyObject
* obj0
= 0 ;
23936 char *kwnames
[] = {
23937 (char *) "self", NULL
23940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23944 (arg1
)->base_OnLeave();
23946 wxPyEndAllowThreads(__tstate
);
23947 if (PyErr_Occurred()) SWIG_fail
;
23949 Py_INCREF(Py_None
); resultobj
= Py_None
;
23956 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23957 PyObject
*resultobj
;
23958 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23962 PyObject
* obj0
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self",(char *) "x",(char *) "y", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= PyInt_FromLong((long)result
);
23983 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
;
23985 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23990 PyObject
* obj0
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 resultobj
= PyInt_FromLong((long)result
);
24011 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24013 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24014 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
24016 return Py_BuildValue((char *)"");
24018 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
;
24020 wxPyFileDropTarget
*result
;
24021 char *kwnames
[] = {
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
24040 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24043 PyObject
*arg2
= (PyObject
*) 0 ;
24044 PyObject
*arg3
= (PyObject
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "self",(char *) "_class", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 Py_INCREF(Py_None
); resultobj
= Py_None
;
24070 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24077 PyObject
* obj0
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= PyInt_FromLong((long)result
);
24098 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24105 PyObject
* obj0
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= PyInt_FromLong((long)result
);
24126 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 (arg1
)->base_OnLeave();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24150 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 char *kwnames
[] = {
24158 (char *) "self",(char *) "x",(char *) "y", NULL
24161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
24167 wxPyEndAllowThreads(__tstate
);
24168 if (PyErr_Occurred()) SWIG_fail
;
24170 resultobj
= PyInt_FromLong((long)result
);
24177 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24178 PyObject
*resultobj
;
24179 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 char *kwnames
[] = {
24186 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 resultobj
= PyInt_FromLong((long)result
);
24205 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24208 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
24210 return Py_BuildValue((char *)"");
24212 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxClipboard
*result
;
24215 char *kwnames
[] = {
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 result
= (wxClipboard
*)new wxClipboard();
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
24234 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "self", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
24243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24248 wxPyEndAllowThreads(__tstate
);
24249 if (PyErr_Occurred()) SWIG_fail
;
24251 Py_INCREF(Py_None
); resultobj
= Py_None
;
24258 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24262 PyObject
* obj0
= 0 ;
24263 char *kwnames
[] = {
24264 (char *) "self", NULL
24267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
24268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (bool)(arg1
)->Open();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= PyInt_FromLong((long)result
);
24283 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24297 wxPyEndAllowThreads(__tstate
);
24298 if (PyErr_Occurred()) SWIG_fail
;
24300 Py_INCREF(Py_None
); resultobj
= Py_None
;
24307 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24308 PyObject
*resultobj
;
24309 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24320 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24322 wxPyEndAllowThreads(__tstate
);
24323 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= PyInt_FromLong((long)result
);
24332 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24333 PyObject
*resultobj
;
24334 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24335 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "data", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 result
= (bool)(arg1
)->AddData(arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= PyInt_FromLong((long)result
);
24360 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24363 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char *kwnames
[] = {
24368 (char *) "self",(char *) "data", NULL
24371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24373 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)(arg1
)->SetData(arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= PyInt_FromLong((long)result
);
24388 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24391 wxDataFormat
*arg2
= 0 ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self",(char *) "format", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24402 if (arg2
== NULL
) {
24403 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= PyInt_FromLong((long)result
);
24419 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24422 wxDataObject
*arg2
= 0 ;
24424 PyObject
* obj0
= 0 ;
24425 PyObject
* obj1
= 0 ;
24426 char *kwnames
[] = {
24427 (char *) "self",(char *) "data", NULL
24430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24433 if (arg2
== NULL
) {
24434 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (bool)(arg1
)->GetData(*arg2
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 resultobj
= PyInt_FromLong((long)result
);
24450 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24464 wxPyEndAllowThreads(__tstate
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24467 Py_INCREF(Py_None
); resultobj
= Py_None
;
24474 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24487 result
= (bool)(arg1
)->Flush();
24489 wxPyEndAllowThreads(__tstate
);
24490 if (PyErr_Occurred()) SWIG_fail
;
24492 resultobj
= PyInt_FromLong((long)result
);
24499 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24502 bool arg2
= (bool) False
;
24503 PyObject
* obj0
= 0 ;
24504 PyObject
* obj1
= 0 ;
24505 char *kwnames
[] = {
24506 (char *) "self",(char *) "primary", NULL
24509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24512 arg2
= PyInt_AsLong(obj1
) ? true : false;
24513 if (PyErr_Occurred()) SWIG_fail
;
24516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 (arg1
)->UsePrimarySelection(arg2
);
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 Py_INCREF(Py_None
); resultobj
= Py_None
;
24529 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24532 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24534 return Py_BuildValue((char *)"");
24536 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24537 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24542 static PyObject
*_wrap_TheClipboard_get() {
24545 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24550 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24553 wxClipboardLocker
*result
;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "clipboard", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24577 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24578 PyObject
*resultobj
;
24579 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24580 PyObject
* obj0
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 Py_INCREF(Py_None
); resultobj
= Py_None
;
24601 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24614 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= PyInt_FromLong((long)result
);
24626 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24629 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24631 return Py_BuildValue((char *)"");
24633 static PyMethodDef SwigMethods
[] = {
24634 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24641 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24648 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24708 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24716 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24732 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24737 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24740 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24743 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24749 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24763 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24769 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24775 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24778 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24791 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24794 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24795 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24798 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24825 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24827 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24829 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24831 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24838 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24844 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
24857 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24862 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24865 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24882 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24890 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24936 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24964 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24970 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24986 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
25002 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
25016 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
25025 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
25068 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
25072 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
25075 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
25078 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25099 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25100 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
25101 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
25102 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
25103 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25104 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25105 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25106 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25107 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
25108 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25119 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
25164 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
25170 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
25171 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
25172 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
25173 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
25174 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
25175 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
25176 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
25177 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
25178 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
25179 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
25190 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25198 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25206 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
25207 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25212 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25221 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25225 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25228 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
25231 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
25235 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25236 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25239 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
25243 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
25246 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
25249 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25255 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25259 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25261 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
25269 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
25271 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
25277 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
25278 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25282 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
25283 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
25290 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
25292 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
25296 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25298 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
25299 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
25302 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25307 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25310 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25311 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25314 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25315 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25316 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25317 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25318 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25319 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25320 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25321 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25322 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25323 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25324 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25325 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25326 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25327 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25328 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25329 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25330 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25331 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
25332 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
25333 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25334 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25335 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25336 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25337 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25338 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25339 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25340 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25341 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25342 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25343 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25344 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25345 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25346 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25347 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25348 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25349 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25350 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25351 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25352 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25353 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25354 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25355 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25356 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25357 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25358 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25359 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25360 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25361 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25362 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25363 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25364 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25365 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25366 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25367 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25368 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25369 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25370 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25371 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25372 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25373 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25374 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25375 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25376 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25377 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25378 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25379 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25380 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25381 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25382 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25383 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25384 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25385 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25386 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25387 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25392 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25394 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25395 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25397 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25398 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25400 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25401 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25403 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25404 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25406 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25407 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25409 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25410 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25412 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25413 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25415 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25416 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25418 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25421 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25422 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25424 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25425 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25427 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25428 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25430 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25431 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25433 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25434 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25436 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25437 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25439 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25440 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25442 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25443 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25445 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25446 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25448 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25449 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25451 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25452 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25454 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25455 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25457 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25458 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25460 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25461 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25463 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25464 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25466 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25467 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25469 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25470 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25472 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25473 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25475 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25476 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25478 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25479 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25481 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25482 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25484 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25485 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25487 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25488 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25490 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25491 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25493 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25496 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25497 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25499 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25500 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25502 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25503 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25505 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25506 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25508 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25509 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25511 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25512 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25514 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25515 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25517 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25518 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25520 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25521 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25523 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25524 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25526 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25527 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25529 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25530 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25532 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25533 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25535 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25536 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25538 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25539 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25541 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25542 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25544 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25545 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25547 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25548 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25550 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25551 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25553 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25554 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25556 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25557 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25559 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25560 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25562 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25563 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25565 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25566 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25568 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25569 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25571 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25572 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25574 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25575 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25577 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25578 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25580 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25581 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25583 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25584 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25586 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25587 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25589 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25590 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25592 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25593 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25595 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25596 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25598 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25599 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25601 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25602 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25604 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25605 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25607 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25608 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25610 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25611 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25613 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25614 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25616 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25617 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25619 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25620 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25622 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25623 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25625 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25626 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25628 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25629 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25631 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25632 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25634 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25635 return (void *)((wxObject
*) ((wxSizer
*) x
));
25637 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25638 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25640 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25641 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25643 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25644 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25646 static void *_p_wxEventTo_p_wxObject(void *x
) {
25647 return (void *)((wxObject
*) ((wxEvent
*) x
));
25649 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25650 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25652 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25653 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25655 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25656 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25658 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25659 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25661 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25662 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25664 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25665 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25667 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25668 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25670 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25671 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25673 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25674 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25676 static void *_p_wxControlTo_p_wxObject(void *x
) {
25677 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25679 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25680 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25682 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25683 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25685 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25686 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25688 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25689 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25691 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25692 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25694 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25695 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25697 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25698 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25700 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25701 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25703 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25704 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25706 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25707 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25709 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25710 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25712 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25713 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25715 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25716 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25718 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25719 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25721 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25722 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25724 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25725 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25727 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25728 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25730 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25731 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25733 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25734 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25736 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25737 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25739 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25742 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25745 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25746 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25748 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25749 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25751 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25752 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25754 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25755 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25757 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25758 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25760 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25761 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25763 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25764 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25766 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25767 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25769 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25770 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25772 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25773 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25775 static void *_p_wxImageTo_p_wxObject(void *x
) {
25776 return (void *)((wxObject
*) ((wxImage
*) x
));
25778 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25779 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25781 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25782 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25784 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25785 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25787 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25790 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25791 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25793 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25794 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25796 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25799 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25802 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25805 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25806 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25808 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25809 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25811 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25814 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25815 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25817 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25818 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25820 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25821 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25823 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25824 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25826 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25827 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25829 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25830 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25832 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25835 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25836 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25838 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25839 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25841 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25842 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25844 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25847 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25848 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25850 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25853 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25856 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25857 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25859 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25860 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25862 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25863 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25865 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25866 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25868 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25869 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25871 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25872 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25874 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25875 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25877 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25878 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25880 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25881 return (void *)((wxWindow
*) ((wxControl
*) x
));
25883 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25884 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25886 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25887 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25889 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25890 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25892 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25893 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25895 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25896 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25897 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0},{"_p_wxMetafile"},{0}};
25898 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25899 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}};
25900 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25901 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25902 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}};
25903 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}};
25904 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25905 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25906 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25907 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25908 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25909 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25910 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25911 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25912 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25913 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25914 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25915 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25916 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25917 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25918 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25919 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25920 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25921 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25922 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25923 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25924 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25925 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25926 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25927 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}};
25928 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25929 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25930 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25931 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25932 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25933 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25934 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25935 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25936 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25937 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25938 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25939 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25940 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25941 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}};
25942 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}};
25943 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25944 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25945 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25946 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25947 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25948 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25949 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25950 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25951 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25952 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25953 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25954 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25955 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25956 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25957 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}};
25958 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25959 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25960 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25961 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}};
25962 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25963 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25964 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25965 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25966 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25967 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25968 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}};
25969 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25970 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25971 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25972 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25973 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25974 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25975 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25976 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25977 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25979 static swig_type_info
*swig_types_initial
[] = {
25980 _swigt__p_wxLogChain
,
25981 _swigt__p_wxMutexGuiLocker
,
25982 _swigt__p_wxMetafile
,
25983 _swigt__p_wxFileHistory
,
25985 _swigt__p_wxDateTime__TimeZone
,
25988 _swigt__p_wxConfigBase
,
25990 _swigt__p_wxFileType
,
25991 _swigt__p_wxLogGui
,
25993 _swigt__p_wxDataFormat
,
25994 _swigt__p_wxTimerEvent
,
25998 _swigt__p_wxClipboard
,
25999 _swigt__p_wxStopWatch
,
26001 _swigt__p_wxClipboardLocker
,
26003 _swigt__p_wxLogStderr
,
26004 _swigt__p_wxLogTextCtrl
,
26005 _swigt__p_wxTextCtrl
,
26006 _swigt__p_wxBusyCursor
,
26007 _swigt__p_wxFileDataObject
,
26008 _swigt__p_wxPyBitmapDataObject
,
26009 _swigt__p_wxPyTextDataObject
,
26010 _swigt__p_wxBitmapDataObject
,
26011 _swigt__p_wxTextDataObject
,
26012 _swigt__p_wxDataObject
,
26013 _swigt__p_wxCustomDataObject
,
26014 _swigt__p_wxURLDataObject
,
26015 _swigt__p_wxMetafileDataObject
,
26016 _swigt__p_wxTimerRunner
,
26017 _swigt__p_wxLogWindow
,
26018 _swigt__p_wxTimeSpan
,
26019 _swigt__p_wxArrayString
,
26020 _swigt__p_wxWindowDisabler
,
26021 _swigt__p_wxToolTip
,
26022 _swigt__p_wxDataObjectComposite
,
26023 _swigt__p_wxFileConfig
,
26024 _swigt__p_wxSystemSettings
,
26025 _swigt__p_wxPyDataObjectSimple
,
26026 _swigt__p_wxDataObjectSimple
,
26027 _swigt__p_wxEvtHandler
,
26029 _swigt__p_wxSingleInstanceChecker
,
26030 _swigt__p_wxFileTypeInfo
,
26033 _swigt__p_wxMimeTypesManager
,
26034 _swigt__p_wxPyArtProvider
,
26035 _swigt__p_wxPyTipProvider
,
26036 _swigt__p_wxTipProvider
,
26037 _swigt__p_wxJoystick
,
26038 _swigt__p_wxSystemOptions
,
26040 _swigt__p_wxJoystickEvent
,
26041 _swigt__p_wxCursor
,
26042 _swigt__p_wxObject
,
26043 _swigt__p_wxOutputStream
,
26044 _swigt__p_wxDateTime
,
26045 _swigt__p_wxPyDropSource
,
26046 _swigt__p_wxWindow
,
26047 _swigt__p_wxString
,
26048 _swigt__p_wxPyProcess
,
26049 _swigt__p_wxBitmap
,
26050 _swigt__p_wxConfig
,
26052 _swigt__p_wxBusyInfo
,
26053 _swigt__p_wxPyDropTarget
,
26054 _swigt__p_wxPyTextDropTarget
,
26055 _swigt__p_wxPyFileDropTarget
,
26056 _swigt__p_wxProcessEvent
,
26058 _swigt__p_wxLogNull
,
26059 _swigt__p_wxColour
,
26060 _swigt__p_wxConfigPathChanger
,
26061 _swigt__p_wxPyTimer
,
26062 _swigt__p_wxDateSpan
,
26067 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
26069 static swig_const_info swig_const_table
[] = {
26070 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
26102 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
26103 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
26104 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
26105 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
26106 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
26107 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
26117 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
26118 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
26119 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
26120 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
26121 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
26122 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
26123 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
26124 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
26125 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
26126 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
26127 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
26128 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
26129 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
26130 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
26131 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
26132 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
26133 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
26134 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
26135 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
26136 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
26137 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
26138 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
26139 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
26140 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
26141 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
26142 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
26143 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
26144 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
26145 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
26146 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
26147 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
26148 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
26149 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
26150 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
26151 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
26152 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
26153 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
26154 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
26155 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
26156 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
26157 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
26158 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
26159 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
26160 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
26161 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
26162 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
26163 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
26164 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
26165 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
26166 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
26167 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
26168 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
26169 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
26170 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
26171 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
26172 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
26173 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
26174 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
26175 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
26176 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
26177 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26178 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26179 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26180 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26181 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26182 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26183 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26184 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26185 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26186 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26187 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
26188 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
26189 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
26190 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
26191 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
26192 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
26193 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
26194 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
26195 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
26196 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
26197 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
26198 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
26199 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
26200 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
26201 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
26202 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
26203 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
26204 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
26205 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
26206 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
26207 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
26208 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
26209 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
26210 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
26211 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
26212 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
26213 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
26214 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
26215 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
26216 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
26217 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
26218 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
26219 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
26220 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
26221 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
26222 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
26223 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
26224 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
26225 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
26226 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
26227 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
26228 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
26229 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
26230 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
26231 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
26232 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
26233 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
26234 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
26235 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
26236 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
26237 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
26238 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
26239 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
26240 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
26241 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
26242 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
26243 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
26244 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
26245 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
26246 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
26247 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
26248 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
26249 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
26250 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
26251 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
26252 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
26253 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
26254 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
26255 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
26256 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
26257 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
26258 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
26259 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
26260 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
26261 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
26262 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
26263 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
26264 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
26265 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
26266 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
26267 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
26268 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
26269 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
26270 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
26271 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
26272 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
26273 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
26274 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
26275 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
26276 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
26277 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
26278 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
26279 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
26280 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
26281 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
26282 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
26283 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
26284 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
26285 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
26286 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
26287 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
26288 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
26289 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
26290 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
26291 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
26292 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
26293 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
26294 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
26295 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
26296 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
26297 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
26298 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
26299 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
26300 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
26301 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
26302 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
26303 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
26304 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
26305 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
26306 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
26307 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
26308 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
26309 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
26310 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26311 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26312 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26313 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26314 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26315 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26316 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26317 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26318 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26319 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26320 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26321 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26322 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26323 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26324 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26325 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26326 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26327 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26328 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26329 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26330 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26331 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26332 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26333 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26334 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26335 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26336 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26337 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26338 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26339 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26340 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26341 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26342 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26343 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26344 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26345 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26346 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26347 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26348 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26349 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26350 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26351 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26352 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26353 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26354 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26355 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26356 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26357 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26358 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26359 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26360 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26361 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26362 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26363 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26364 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26365 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26366 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26367 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26368 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26369 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26370 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26371 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26372 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26373 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26374 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26375 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26376 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26377 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26378 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26379 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26380 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26381 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26382 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26383 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26384 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26385 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26386 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26387 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26388 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26389 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26390 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26391 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26392 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26393 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26394 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26395 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26396 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26397 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26398 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26399 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26400 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26401 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26402 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26403 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26404 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26405 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26406 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26407 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26408 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26409 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26410 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26411 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26412 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26413 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26414 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26415 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26416 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26417 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26418 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26419 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26420 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26421 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26422 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26423 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26424 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26425 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26426 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26427 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26437 SWIGEXPORT(void) SWIG_init(void) {
26438 static PyObject
*SWIG_globals
= 0;
26439 static int typeinit
= 0;
26442 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26443 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26444 d
= PyModule_GetDict(m
);
26447 for (i
= 0; swig_types_initial
[i
]; i
++) {
26448 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26452 SWIG_InstallConstants(d
,swig_const_table
);
26454 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26455 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26456 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26457 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26458 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26459 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26461 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26463 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26464 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26465 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26466 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26467 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26468 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26469 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26470 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26471 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26472 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26473 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26474 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26475 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26476 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26477 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26478 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26479 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26480 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26481 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26482 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26483 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26484 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26485 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26486 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26487 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26488 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26489 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26490 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26491 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26492 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26493 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26494 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26495 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26496 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26497 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26498 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26499 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26500 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26501 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26502 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26503 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26504 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26505 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26507 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26509 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
26510 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
26511 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26513 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26514 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26515 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26516 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26518 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);