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_wxFileHistory swig_types[2]
215 #define SWIGTYPE_p_wxLog swig_types[3]
216 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
217 #define SWIGTYPE_p_wxMenu swig_types[5]
218 #define SWIGTYPE_p_wxEvent swig_types[6]
219 #define SWIGTYPE_p_wxConfigBase swig_types[7]
220 #define SWIGTYPE_p_wxWave swig_types[8]
221 #define SWIGTYPE_p_wxFileType swig_types[9]
222 #define SWIGTYPE_p_wxLogGui swig_types[10]
223 #define SWIGTYPE_p_wxFont swig_types[11]
224 #define SWIGTYPE_p_wxDataFormat swig_types[12]
225 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
226 #define SWIGTYPE_p_wxCaret swig_types[14]
227 #define SWIGTYPE_p_int swig_types[15]
228 #define SWIGTYPE_p_wxSize swig_types[16]
229 #define SWIGTYPE_p_wxClipboard swig_types[17]
230 #define SWIGTYPE_p_wxStopWatch swig_types[18]
231 #define SWIGTYPE_p_wxDC swig_types[19]
232 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
233 #define SWIGTYPE_p_wxIcon swig_types[21]
234 #define SWIGTYPE_p_wxLogStderr swig_types[22]
235 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
236 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
237 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
238 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
239 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
240 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
241 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
242 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
243 #define SWIGTYPE_p_wxDataObject swig_types[31]
244 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
245 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
246 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
247 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
248 #define SWIGTYPE_p_wxLogWindow swig_types[36]
249 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
250 #define SWIGTYPE_p_wxArrayString swig_types[38]
251 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
252 #define SWIGTYPE_p_wxToolTip swig_types[40]
253 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
254 #define SWIGTYPE_p_wxFileConfig swig_types[42]
255 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
259 #define SWIGTYPE_p_wxRect swig_types[47]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
262 #define SWIGTYPE_p_wxFrame swig_types[50]
263 #define SWIGTYPE_p_wxTimer swig_types[51]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
267 #define SWIGTYPE_p_wxTipProvider swig_types[55]
268 #define SWIGTYPE_p_wxJoystick swig_types[56]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
270 #define SWIGTYPE_p_wxPoint swig_types[58]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
272 #define SWIGTYPE_p_wxCursor swig_types[60]
273 #define SWIGTYPE_p_wxObject swig_types[61]
274 #define SWIGTYPE_p_wxOutputStream swig_types[62]
275 #define SWIGTYPE_p_wxDateTime swig_types[63]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
277 #define SWIGTYPE_p_wxWindow swig_types[65]
278 #define SWIGTYPE_p_wxString swig_types[66]
279 #define SWIGTYPE_p_wxPyProcess swig_types[67]
280 #define SWIGTYPE_p_wxBitmap swig_types[68]
281 #define SWIGTYPE_p_wxConfig swig_types[69]
282 #define SWIGTYPE_p_wxChar swig_types[70]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
288 #define SWIGTYPE_p_wxPyLog swig_types[76]
289 #define SWIGTYPE_p_wxLogNull swig_types[77]
290 #define SWIGTYPE_p_wxColour swig_types[78]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
292 #define SWIGTYPE_p_wxPyTimer swig_types[80]
293 #define SWIGTYPE_p_wxDateSpan swig_types[81]
294 static swig_type_info
*swig_types
[83];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
301 ------------------------------------------------*/
302 #define SWIG_init init_misc
304 #define SWIG_name "_misc"
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308 #include "wx/wxPython/pyistream.h"
311 static const wxString
wxPyEmptyString(wxEmptyString
);
314 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
315 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
316 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
318 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
324 } else if (target
== Py_None
) {
328 if (!PyTuple_Check(target
)) {
330 target
= PyTuple_New(1);
331 PyTuple_SetItem(target
, 0, o2
);
334 PyTuple_SetItem(o3
, 0, o
);
337 target
= PySequence_Concat(o2
, o3
);
345 long wxGetFreeMemory()
346 { wxPyRaiseNotImplemented(); return 0; }
349 bool wxGetKeyState(wxKeyCode key
)
350 { wxPyRaiseNotImplemented(); return False
; }
353 void wxWakeUpMainThread() {}
356 bool wxThread_IsMain() {
357 #ifdef WXP_WITH_THREAD
358 return wxThread::IsMain();
365 int wxCaret_GetBlinkTime() {
366 return wxCaret::GetBlinkTime();
369 void wxCaret_SetBlinkTime(int milliseconds
) {
370 wxCaret::SetBlinkTime(milliseconds
);
374 #include <wx/snglinst.h>
378 #include <wx/msw/private.h>
379 #include <wx/dynload.h>
384 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
391 // This one only partially works. Appears to be an undocumented
392 // "standard" convention that not all widgets adhear to. For
393 // example, for some widgets backgrounds or non-client areas may
395 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
399 // This one works much better, except for on XP. On Win2k nearly
400 // all widgets and their children are captured correctly[**]. On
401 // XP with Themes activated most native widgets draw only
402 // partially, if at all. Without themes it works just like on
405 // ** For example the radio buttons in a wxRadioBox are not its
406 // children by default, but you can capture it via the panel
407 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
408 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
409 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
410 PRF_ERASEBKGND
| PRF_OWNED
);
414 // This one is only defined in the latest SDK and is only
415 // available on XP. MSDN says it is similar to sending WM_PRINT
416 // so I expect that it will work similar to the above. Since it
417 // is avaialble only on XP, it can't be compiled like this and
418 // will have to be loaded dynamically.
419 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
424 // Use PrintWindow if available, or fallback to WM_PRINT
425 // otherwise. Unfortunately using PrintWindow is even worse than
426 // WM_PRINT. For most native widgets nothing is drawn to the dc
427 // at all, with or without Themes.
428 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
429 static bool s_triedToLoad
= False
;
430 static PrintWindow_t pfnPrintWindow
= NULL
;
431 if ( !s_triedToLoad
)
434 s_triedToLoad
= True
;
435 wxDynamicLibrary
dllUser32(_T("user32.dll"));
436 if ( dllUser32
.IsLoaded() )
438 wxLogNull nolog
; // Don't report errors here
439 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
444 printf("Using PrintWindow\n");
445 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
449 printf("Using WM_PRINT\n");
450 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
451 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
459 #include <wx/tipdlg.h>
462 class wxPyTipProvider
: public wxTipProvider
{
464 wxPyTipProvider(size_t currentTip
)
465 : wxTipProvider(currentTip
) {}
467 DEC_PYCALLBACK_STRING__pure(GetTip
);
468 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
472 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
473 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
476 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
478 wxString
Log_TimeStamp(){
480 wxLog::TimeStamp(&msg
);
483 void wxLog_Destroy(wxLog
*self
){ delete self
; }
485 // A wxLog class that can be derived from in wxPython
486 class wxPyLog
: public wxLog
{
488 wxPyLog() : wxLog() {}
490 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
492 wxPyBeginBlockThreads();
493 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
494 PyObject
* s
= wx2PyString(szString
);
495 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
498 wxPyEndBlockThreads();
500 wxLog::DoLog(level
, szString
, t
);
503 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
505 wxPyBeginBlockThreads();
506 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
507 PyObject
* s
= wx2PyString(szString
);
508 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
511 wxPyEndBlockThreads();
513 wxLog::DoLogString(szString
, t
);
522 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
525 #include <wx/joystick.h>
528 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
529 // A C++ stub class for wxJoystick for platforms that don't have it.
530 class wxJoystick
: public wxObject
{
532 wxJoystick(int joystick
= wxJOYSTICK1
) {
533 wxPyBeginBlockThreads();
534 PyErr_SetString(PyExc_NotImplementedError
,
535 "wxJoystick is not available on this platform.");
536 wxPyEndBlockThreads();
538 wxPoint
GetPosition() { return wxPoint(-1,-1); }
539 int GetZPosition() { return -1; }
540 int GetButtonState() { return -1; }
541 int GetPOVPosition() { return -1; }
542 int GetPOVCTSPosition() { return -1; }
543 int GetRudderPosition() { return -1; }
544 int GetUPosition() { return -1; }
545 int GetVPosition() { return -1; }
546 int GetMovementThreshold() { return -1; }
547 void SetMovementThreshold(int threshold
) {}
549 bool IsOk(void) { return False
; }
550 int GetNumberJoysticks() { return -1; }
551 int GetManufacturerId() { return -1; }
552 int GetProductId() { return -1; }
553 wxString
GetProductName() { return ""; }
554 int GetXMin() { return -1; }
555 int GetYMin() { return -1; }
556 int GetZMin() { return -1; }
557 int GetXMax() { return -1; }
558 int GetYMax() { return -1; }
559 int GetZMax() { return -1; }
560 int GetNumberButtons() { return -1; }
561 int GetNumberAxes() { return -1; }
562 int GetMaxButtons() { return -1; }
563 int GetMaxAxes() { return -1; }
564 int GetPollingMin() { return -1; }
565 int GetPollingMax() { return -1; }
566 int GetRudderMin() { return -1; }
567 int GetRudderMax() { return -1; }
568 int GetUMin() { return -1; }
569 int GetUMax() { return -1; }
570 int GetVMin() { return -1; }
571 int GetVMax() { return -1; }
573 bool HasRudder() { return False
; }
574 bool HasZ() { return False
; }
575 bool HasU() { return False
; }
576 bool HasV() { return False
; }
577 bool HasPOV() { return False
; }
578 bool HasPOV4Dir() { return False
; }
579 bool HasPOVCTS() { return False
; }
581 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
582 bool ReleaseCapture() { return False
; }
591 // A C++ stub class for wxWave for platforms that don't have it.
592 class wxWave
: public wxObject
595 wxWave(const wxString
& fileName
, bool isResource
= False
) {
596 wxPyBeginBlockThreads();
597 PyErr_SetString(PyExc_NotImplementedError
,
598 "wxWave is not available on this platform.");
599 wxPyEndBlockThreads();
601 wxWave(int size
, const wxByte
* data
) {
602 wxPyBeginBlockThreads();
603 PyErr_SetString(PyExc_NotImplementedError
,
604 "wxWave is not available on this platform.");
605 wxPyEndBlockThreads();
610 bool IsOk() const { return False
; }
611 bool Play(bool async
= True
, bool looped
= False
) const { return False
; }
616 wxWave
*new_wxWave(wxString
const &data
){
617 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
620 #include <wx/mimetype.h>
622 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
624 if (self
->GetMimeType(&str
))
625 return wx2PyString(str
);
629 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
631 if (self
->GetMimeTypes(arr
))
632 return wxArrayString2PyList_helper(arr
);
636 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
638 if (self
->GetExtensions(arr
))
639 return wxArrayString2PyList_helper(arr
);
643 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
645 if (self
->GetIcon(&loc
))
646 return new wxIcon(loc
);
650 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
652 if (self
->GetIcon(&loc
)) {
653 wxString iconFile
= loc
.GetFileName();
658 // Make a tuple and put the values in it
659 wxPyBeginBlockThreads();
660 PyObject
* tuple
= PyTuple_New(3);
661 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
662 wxT("wxIcon"), True
));
663 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
664 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
665 wxPyEndBlockThreads();
671 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
673 if (self
->GetDescription(&str
))
674 return wx2PyString(str
);
678 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
680 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
681 return wx2PyString(str
);
685 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
687 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
688 return wx2PyString(str
);
692 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
694 wxArrayString commands
;
695 if (self
->GetAllCommands(&verbs
, &commands
,
696 wxFileType::MessageParameters(filename
, mimetype
))) {
697 wxPyBeginBlockThreads();
698 PyObject
* tuple
= PyTuple_New(2);
699 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
700 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
701 wxPyEndBlockThreads();
707 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
708 return wxFileType::ExpandCommand(command
,
709 wxFileType::MessageParameters(filename
, mimetype
));
711 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
713 self
->EnumAllFileTypes(arr
);
714 return wxArrayString2PyList_helper(arr
);
717 #include <wx/artprov.h>
719 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
720 static const wxString
wxPyART_MENU(wxART_MENU
);
721 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
722 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
723 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
724 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
725 static const wxString
wxPyART_OTHER(wxART_OTHER
);
726 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
727 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
728 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
729 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
730 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
731 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
732 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
733 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
734 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
735 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
736 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
737 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
738 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
739 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
740 static const wxString
wxPyART_PRINT(wxART_PRINT
);
741 static const wxString
wxPyART_HELP(wxART_HELP
);
742 static const wxString
wxPyART_TIP(wxART_TIP
);
743 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
744 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
745 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
746 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
747 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
748 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
749 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
750 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
751 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
752 static const wxString
wxPyART_ERROR(wxART_ERROR
);
753 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
754 static const wxString
wxPyART_WARNING(wxART_WARNING
);
755 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
756 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
757 // Python aware wxArtProvider
758 class wxPyArtProvider
: public wxArtProvider
{
761 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
762 const wxArtClient
& client
,
763 const wxSize
& size
) {
764 wxBitmap rval
= wxNullBitmap
;
765 wxPyBeginBlockThreads();
766 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
767 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
771 s1
= wx2PyString(id
);
772 s2
= wx2PyString(client
);
773 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
778 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
783 wxPyEndBlockThreads();
790 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
794 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
795 PyObject
* ret
= PyTuple_New(3);
797 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
798 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
799 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
804 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
809 cont
= self
->GetFirstGroup(value
, index
);
810 return __EnumerationHelper(cont
, value
, index
);
812 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
816 cont
= self
->GetNextGroup(value
, index
);
817 return __EnumerationHelper(cont
, value
, index
);
819 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
824 cont
= self
->GetFirstEntry(value
, index
);
825 return __EnumerationHelper(cont
, value
, index
);
827 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
831 cont
= self
->GetNextEntry(value
, index
);
832 return __EnumerationHelper(cont
, value
, index
);
834 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
836 self
->Read(key
, &rv
, defaultVal
);
839 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
841 self
->Read(key
, &rv
, defaultVal
);
844 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
846 self
->Read(key
, &rv
, defaultVal
);
850 #include <wx/datetime.h>
853 static const wxString
wxPyDateFormatStr(wxT(wxT("%c")));
854 static const wxString
wxPyTimeSpanFormatStr(wxT(wxT("%H:%M:%S")));
856 #define LOCAL_TZ wxDateTime::Local
858 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
859 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
860 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
861 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
862 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
863 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
864 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
865 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
866 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
867 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
868 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
869 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
871 const wxChar
* _date
= date
;
872 rv
= self
->ParseRfc822Date(_date
);
873 if (rv
== NULL
) return -1;
876 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
878 const wxChar
* _date
= date
;
879 rv
= self
->ParseFormat(_date
, format
, dateDef
);
880 if (rv
== NULL
) return -1;
883 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
885 const wxChar
* _datetime
= datetime
;
886 rv
= self
->ParseDateTime(_datetime
);
887 if (rv
== NULL
) return -1;
888 return rv
- _datetime
;
890 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
892 const wxChar
* _date
= date
;
893 rv
= self
->ParseDate(_date
);
894 if (rv
== NULL
) return -1;
897 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
899 const wxChar
* _time
= time
;
900 rv
= self
->ParseTime(_time
);
901 if (rv
== NULL
) return -1;
904 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
905 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
906 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
907 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
908 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
909 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
910 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
911 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
912 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
913 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
914 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
915 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
916 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
917 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
918 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
919 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
921 #include <wx/dataobj.h>
923 // Create a new class for wxPython to use
924 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
926 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
927 : wxDataObjectSimple(format
) {}
929 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
930 bool GetDataHere(void *buf
) const;
931 bool SetData(size_t len
, const void *buf
) const;
935 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
937 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
938 // We need to get the data for this object and write it to buf. I think
939 // the best way to do this for wxPython is to have the Python method
940 // return either a string or None and then act appropriately with the
944 wxPyBeginBlockThreads();
945 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
947 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
949 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
951 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
955 wxPyEndBlockThreads();
959 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
960 // For this one we simply need to make a string from buf and len
961 // and send it to the Python method.
963 wxPyBeginBlockThreads();
964 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
965 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
966 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
969 wxPyEndBlockThreads();
973 // Create a new class for wxPython to use
974 class wxPyTextDataObject
: public wxTextDataObject
{
976 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
977 : wxTextDataObject(text
) {}
979 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
980 DEC_PYCALLBACK_STRING__const(GetText
);
981 DEC_PYCALLBACK__STRING(SetText
);
985 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
986 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
987 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
990 // Create a new class for wxPython to use
991 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
993 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
994 : wxBitmapDataObject(bitmap
) {}
996 wxBitmap
GetBitmap() const;
997 void SetBitmap(const wxBitmap
& bitmap
);
1001 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1002 wxBitmap
* rval
= &wxNullBitmap
;
1003 wxPyBeginBlockThreads();
1004 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1007 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1009 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1014 wxPyEndBlockThreads();
1018 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1019 wxPyBeginBlockThreads();
1020 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1021 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1022 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1025 wxPyEndBlockThreads();
1028 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1029 if (PyString_Check(data
)) {
1030 // for Python we just call SetData here since we always need it to make a copy.
1031 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1034 // raise a TypeError if not a string
1035 PyErr_SetString(PyExc_TypeError
, "String expected.");
1038 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1039 if (PyString_Check(data
)) {
1040 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1043 // raise a TypeError if not a string
1044 PyErr_SetString(PyExc_TypeError
, "String expected.");
1048 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1049 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1052 class wxMetafileDataObject
: public wxDataObjectSimple
1055 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1061 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1064 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1065 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1066 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1067 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1068 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1071 class wxPyTextDropTarget
: public wxTextDropTarget
{
1073 wxPyTextDropTarget() {}
1075 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1077 DEC_PYCALLBACK__(OnLeave
);
1078 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1079 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1080 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1081 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1086 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1087 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1088 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1089 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1090 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1091 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1095 class wxPyFileDropTarget
: public wxFileDropTarget
{
1097 wxPyFileDropTarget() {}
1099 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1101 DEC_PYCALLBACK__(OnLeave
);
1102 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1103 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1104 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1105 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1110 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1111 const wxArrayString
& filenames
) {
1113 wxPyBeginBlockThreads();
1114 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1115 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1116 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1119 wxPyEndBlockThreads();
1125 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1126 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1127 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1128 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1129 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1134 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1138 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1139 PyObject
*resultobj
;
1143 (char *) "index", NULL
1146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1149 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1151 wxPyEndAllowThreads(__tstate
);
1152 if (PyErr_Occurred()) SWIG_fail
;
1155 wxColour
* resultptr
;
1156 resultptr
= new wxColour((wxColour
&) result
);
1157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1165 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1166 PyObject
*resultobj
;
1170 (char *) "index", NULL
1173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1176 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1178 wxPyEndAllowThreads(__tstate
);
1179 if (PyErr_Occurred()) SWIG_fail
;
1183 resultptr
= new wxFont((wxFont
&) result
);
1184 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1192 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1193 PyObject
*resultobj
;
1197 (char *) "index", NULL
1200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1203 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1205 wxPyEndAllowThreads(__tstate
);
1206 if (PyErr_Occurred()) SWIG_fail
;
1208 resultobj
= PyInt_FromLong((long)result
);
1215 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1216 PyObject
*resultobj
;
1220 (char *) "index", NULL
1223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1226 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1228 wxPyEndAllowThreads(__tstate
);
1229 if (PyErr_Occurred()) SWIG_fail
;
1231 resultobj
= PyInt_FromLong((long)result
);
1238 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1239 PyObject
*resultobj
;
1245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1248 result
= (int)wxSystemSettings::GetScreenType();
1250 wxPyEndAllowThreads(__tstate
);
1251 if (PyErr_Occurred()) SWIG_fail
;
1253 resultobj
= PyInt_FromLong((long)result
);
1260 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1261 PyObject
*resultobj
;
1264 (char *) "screen", NULL
1267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1270 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1272 wxPyEndAllowThreads(__tstate
);
1273 if (PyErr_Occurred()) SWIG_fail
;
1275 Py_INCREF(Py_None
); resultobj
= Py_None
;
1282 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1285 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1287 return Py_BuildValue((char *)"");
1289 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1290 PyObject
*resultobj
;
1291 wxSystemOptions
*result
;
1296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1299 result
= (wxSystemOptions
*)new wxSystemOptions();
1301 wxPyEndAllowThreads(__tstate
);
1302 if (PyErr_Occurred()) SWIG_fail
;
1304 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1311 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1312 PyObject
*resultobj
;
1313 wxString
*arg1
= 0 ;
1314 wxString
*arg2
= 0 ;
1315 bool temp1
= False
;
1316 bool temp2
= False
;
1317 PyObject
* obj0
= 0 ;
1318 PyObject
* obj1
= 0 ;
1320 (char *) "name",(char *) "value", NULL
1323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1325 arg1
= wxString_in_helper(obj0
);
1326 if (arg1
== NULL
) SWIG_fail
;
1330 arg2
= wxString_in_helper(obj1
);
1331 if (arg2
== NULL
) SWIG_fail
;
1335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1336 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1338 wxPyEndAllowThreads(__tstate
);
1339 if (PyErr_Occurred()) SWIG_fail
;
1341 Py_INCREF(Py_None
); resultobj
= Py_None
;
1364 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1365 PyObject
*resultobj
;
1366 wxString
*arg1
= 0 ;
1368 bool temp1
= False
;
1369 PyObject
* obj0
= 0 ;
1371 (char *) "name",(char *) "value", NULL
1374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1376 arg1
= wxString_in_helper(obj0
);
1377 if (arg1
== NULL
) SWIG_fail
;
1381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1382 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1384 wxPyEndAllowThreads(__tstate
);
1385 if (PyErr_Occurred()) SWIG_fail
;
1387 Py_INCREF(Py_None
); resultobj
= Py_None
;
1402 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1403 PyObject
*resultobj
;
1404 wxString
*arg1
= 0 ;
1406 bool temp1
= False
;
1407 PyObject
* obj0
= 0 ;
1409 (char *) "name", NULL
1412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1414 arg1
= wxString_in_helper(obj0
);
1415 if (arg1
== NULL
) SWIG_fail
;
1419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1420 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1422 wxPyEndAllowThreads(__tstate
);
1423 if (PyErr_Occurred()) SWIG_fail
;
1427 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1429 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1446 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxString
*arg1
= 0 ;
1450 bool temp1
= False
;
1451 PyObject
* obj0
= 0 ;
1453 (char *) "name", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1458 arg1
= wxString_in_helper(obj0
);
1459 if (arg1
== NULL
) SWIG_fail
;
1463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1464 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1466 wxPyEndAllowThreads(__tstate
);
1467 if (PyErr_Occurred()) SWIG_fail
;
1469 resultobj
= PyInt_FromLong((long)result
);
1484 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1485 PyObject
*resultobj
;
1486 wxString
*arg1
= 0 ;
1488 bool temp1
= False
;
1489 PyObject
* obj0
= 0 ;
1491 (char *) "name", NULL
1494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1496 arg1
= wxString_in_helper(obj0
);
1497 if (arg1
== NULL
) SWIG_fail
;
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1507 resultobj
= PyInt_FromLong((long)result
);
1522 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1525 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1527 return Py_BuildValue((char *)"");
1529 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1530 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1535 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1540 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1542 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1549 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1550 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1555 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1560 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1562 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1569 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1570 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1575 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1580 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1582 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1589 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1590 PyObject
*resultobj
;
1596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 result
= (long)wxNewId();
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1604 resultobj
= PyInt_FromLong((long)result
);
1611 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1612 PyObject
*resultobj
;
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1626 Py_INCREF(Py_None
); resultobj
= Py_None
;
1633 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1634 PyObject
*resultobj
;
1640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1643 result
= (long)wxGetCurrentId();
1645 wxPyEndAllowThreads(__tstate
);
1646 if (PyErr_Occurred()) SWIG_fail
;
1648 resultobj
= PyInt_FromLong((long)result
);
1655 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1656 PyObject
*resultobj
;
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1669 Py_INCREF(Py_None
); resultobj
= Py_None
;
1676 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1677 PyObject
*resultobj
;
1682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1687 wxPyEndAllowThreads(__tstate
);
1688 if (PyErr_Occurred()) SWIG_fail
;
1690 Py_INCREF(Py_None
); resultobj
= Py_None
;
1697 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1698 PyObject
*resultobj
;
1699 bool arg1
= (bool) True
;
1701 PyObject
* obj0
= 0 ;
1703 (char *) "resetTimer", NULL
1706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1708 arg1
= PyInt_AsLong(obj0
) ? true : false;
1709 if (PyErr_Occurred()) SWIG_fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (long)wxGetElapsedTime(arg1
);
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1718 resultobj
= PyInt_FromLong((long)result
);
1725 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1727 int *arg1
= (int *) 0 ;
1728 int *arg2
= (int *) 0 ;
1737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1740 wxGetMousePosition(arg1
,arg2
);
1742 wxPyEndAllowThreads(__tstate
);
1743 if (PyErr_Occurred()) SWIG_fail
;
1745 Py_INCREF(Py_None
); resultobj
= Py_None
;
1747 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1748 resultobj
= t_output_helper(resultobj
,o
);
1751 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1752 resultobj
= t_output_helper(resultobj
,o
);
1760 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1761 PyObject
*resultobj
;
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1770 result
= (bool)wxIsBusy();
1772 wxPyEndAllowThreads(__tstate
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= PyInt_FromLong((long)result
);
1782 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1783 PyObject
*resultobj
;
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1801 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1810 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1813 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1815 bool temp1
= False
;
1816 PyObject
* obj0
= 0 ;
1818 (char *) "command", NULL
1821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1824 arg1
= wxString_in_helper(obj0
);
1825 if (arg1
== NULL
) SWIG_fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (bool)wxShell((wxString
const &)*arg1
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= PyInt_FromLong((long)result
);
1851 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1865 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 int *arg1
= (int *) 0 ;
1875 int *arg2
= (int *) 0 ;
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (int)wxGetOsVersion(arg1
,arg2
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= PyInt_FromLong((long)result
);
1895 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1896 resultobj
= t_output_helper(resultobj
,o
);
1899 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1900 resultobj
= t_output_helper(resultobj
,o
);
1908 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1918 result
= wxGetOsDescription();
1920 wxPyEndAllowThreads(__tstate
);
1921 if (PyErr_Occurred()) SWIG_fail
;
1925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1936 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1937 PyObject
*resultobj
;
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (long)wxGetFreeMemory();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= PyInt_FromLong((long)result
);
1958 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1963 (char *) "wFlags", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= PyInt_FromLong((long)result
);
1981 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1985 (char *) "secs", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 unsigned long arg1
;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "milliseconds", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2012 arg1
= (unsigned long) PyInt_AsLong(obj0
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 Py_INCREF(Py_None
); resultobj
= Py_None
;
2028 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2031 PyObject
* obj0
= 0 ;
2033 (char *) "enable", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2037 arg1
= PyInt_AsLong(obj0
) ? true : false;
2038 if (PyErr_Occurred()) SWIG_fail
;
2040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2041 wxEnableTopLevelWindows(arg1
);
2043 wxPyEndAllowThreads(__tstate
);
2044 if (PyErr_Occurred()) SWIG_fail
;
2046 Py_INCREF(Py_None
); resultobj
= Py_None
;
2053 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxString
*arg1
= 0 ;
2057 bool temp1
= False
;
2058 PyObject
* obj0
= 0 ;
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2065 arg1
= wxString_in_helper(obj0
);
2066 if (arg1
== NULL
) SWIG_fail
;
2070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2071 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2073 wxPyEndAllowThreads(__tstate
);
2074 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2097 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= wxGetEmailAddress();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2125 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2135 result
= wxGetHostName();
2137 wxPyEndAllowThreads(__tstate
);
2138 if (PyErr_Occurred()) SWIG_fail
;
2142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2153 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2163 result
= wxGetFullHostName();
2165 wxPyEndAllowThreads(__tstate
);
2166 if (PyErr_Occurred()) SWIG_fail
;
2170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2181 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2191 result
= wxGetUserId();
2193 wxPyEndAllowThreads(__tstate
);
2194 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2209 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2210 PyObject
*resultobj
;
2216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 result
= wxGetUserName();
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2237 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2238 PyObject
*resultobj
;
2244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 result
= wxGetHomeDir();
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2265 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2268 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2270 bool temp1
= False
;
2271 PyObject
* obj0
= 0 ;
2273 (char *) "user", NULL
2276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2279 arg1
= wxString_in_helper(obj0
);
2280 if (arg1
== NULL
) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= wxGetUserHome((wxString
const &)*arg1
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2312 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 unsigned long result
;
2319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (unsigned long)wxGetProcessId();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= PyInt_FromLong((long)result
);
2334 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2345 wxPyEndAllowThreads(__tstate
);
2346 if (PyErr_Occurred()) SWIG_fail
;
2348 Py_INCREF(Py_None
); resultobj
= Py_None
;
2355 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2356 PyObject
*resultobj
;
2357 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2358 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2359 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2360 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2361 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2362 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2363 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2364 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2365 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2366 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2367 int arg6
= (int) 0 ;
2368 wxWindow
*arg7
= (wxWindow
*) NULL
;
2369 int arg8
= (int) -1 ;
2370 int arg9
= (int) -1 ;
2372 bool temp1
= False
;
2373 bool temp2
= False
;
2374 bool temp3
= False
;
2375 bool temp4
= False
;
2376 bool temp5
= False
;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2379 PyObject
* obj2
= 0 ;
2380 PyObject
* obj3
= 0 ;
2381 PyObject
* obj4
= 0 ;
2382 PyObject
* obj6
= 0 ;
2384 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2390 arg1
= wxString_in_helper(obj0
);
2391 if (arg1
== NULL
) SWIG_fail
;
2397 arg2
= wxString_in_helper(obj1
);
2398 if (arg2
== NULL
) SWIG_fail
;
2404 arg3
= wxString_in_helper(obj2
);
2405 if (arg3
== NULL
) SWIG_fail
;
2411 arg4
= wxString_in_helper(obj3
);
2412 if (arg4
== NULL
) SWIG_fail
;
2418 arg5
= wxString_in_helper(obj4
);
2419 if (arg5
== NULL
) SWIG_fail
;
2424 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2428 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2430 wxPyEndAllowThreads(__tstate
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2486 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2487 PyObject
*resultobj
;
2488 wxString
*arg1
= 0 ;
2489 wxString
*arg2
= 0 ;
2490 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2491 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2492 wxWindow
*arg4
= (wxWindow
*) NULL
;
2494 bool temp1
= False
;
2495 bool temp2
= False
;
2496 bool temp3
= False
;
2497 PyObject
* obj0
= 0 ;
2498 PyObject
* obj1
= 0 ;
2499 PyObject
* obj2
= 0 ;
2500 PyObject
* obj3
= 0 ;
2502 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2507 arg1
= wxString_in_helper(obj0
);
2508 if (arg1
== NULL
) SWIG_fail
;
2512 arg2
= wxString_in_helper(obj1
);
2513 if (arg2
== NULL
) SWIG_fail
;
2518 arg3
= wxString_in_helper(obj2
);
2519 if (arg3
== NULL
) SWIG_fail
;
2524 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2530 wxPyEndAllowThreads(__tstate
);
2531 if (PyErr_Occurred()) SWIG_fail
;
2535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2570 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2571 PyObject
*resultobj
;
2572 wxString
*arg1
= 0 ;
2573 wxString
*arg2
= 0 ;
2574 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2575 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2576 wxWindow
*arg4
= (wxWindow
*) NULL
;
2578 bool temp1
= False
;
2579 bool temp2
= False
;
2580 bool temp3
= False
;
2581 PyObject
* obj0
= 0 ;
2582 PyObject
* obj1
= 0 ;
2583 PyObject
* obj2
= 0 ;
2584 PyObject
* obj3
= 0 ;
2586 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2591 arg1
= wxString_in_helper(obj0
);
2592 if (arg1
== NULL
) SWIG_fail
;
2596 arg2
= wxString_in_helper(obj1
);
2597 if (arg2
== NULL
) SWIG_fail
;
2602 arg3
= wxString_in_helper(obj2
);
2603 if (arg3
== NULL
) SWIG_fail
;
2608 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2612 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2614 wxPyEndAllowThreads(__tstate
);
2615 if (PyErr_Occurred()) SWIG_fail
;
2619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2654 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2656 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2657 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2658 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2659 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2660 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2661 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2662 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2663 wxWindow
*arg5
= (wxWindow
*) NULL
;
2665 bool temp1
= False
;
2666 bool temp2
= False
;
2668 PyObject
* obj0
= 0 ;
2669 PyObject
* obj1
= 0 ;
2670 PyObject
* obj3
= 0 ;
2671 PyObject
* obj4
= 0 ;
2673 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2679 arg1
= wxString_in_helper(obj0
);
2680 if (arg1
== NULL
) SWIG_fail
;
2686 arg2
= wxString_in_helper(obj1
);
2687 if (arg2
== NULL
) SWIG_fail
;
2694 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2698 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2736 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxString
*arg1
= 0 ;
2739 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2740 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2741 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2742 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2743 wxWindow
*arg4
= (wxWindow
*) NULL
;
2744 int arg5
= (int) -1 ;
2745 int arg6
= (int) -1 ;
2746 bool arg7
= (bool) True
;
2748 bool temp1
= False
;
2749 bool temp2
= False
;
2750 bool temp3
= False
;
2751 PyObject
* obj0
= 0 ;
2752 PyObject
* obj1
= 0 ;
2753 PyObject
* obj2
= 0 ;
2754 PyObject
* obj3
= 0 ;
2755 PyObject
* obj6
= 0 ;
2757 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2762 arg1
= wxString_in_helper(obj0
);
2763 if (arg1
== NULL
) SWIG_fail
;
2768 arg2
= wxString_in_helper(obj1
);
2769 if (arg2
== NULL
) SWIG_fail
;
2775 arg3
= wxString_in_helper(obj2
);
2776 if (arg3
== NULL
) SWIG_fail
;
2781 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2784 arg7
= PyInt_AsLong(obj6
) ? true : false;
2785 if (PyErr_Occurred()) SWIG_fail
;
2788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2791 wxPyEndAllowThreads(__tstate
);
2792 if (PyErr_Occurred()) SWIG_fail
;
2796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2831 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxString
*arg1
= 0 ;
2834 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2835 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2836 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2837 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2838 wxWindow
*arg4
= (wxWindow
*) NULL
;
2840 bool temp1
= False
;
2841 bool temp2
= False
;
2842 bool temp3
= False
;
2843 PyObject
* obj0
= 0 ;
2844 PyObject
* obj1
= 0 ;
2845 PyObject
* obj2
= 0 ;
2846 PyObject
* obj3
= 0 ;
2848 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2853 arg1
= wxString_in_helper(obj0
);
2854 if (arg1
== NULL
) SWIG_fail
;
2859 arg2
= wxString_in_helper(obj1
);
2860 if (arg2
== NULL
) SWIG_fail
;
2866 arg3
= wxString_in_helper(obj2
);
2867 if (arg3
== NULL
) SWIG_fail
;
2872 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2918 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxString
*arg1
= 0 ;
2921 wxString
*arg2
= 0 ;
2923 wxString
*arg4
= (wxString
*) 0 ;
2924 wxWindow
*arg5
= (wxWindow
*) NULL
;
2925 int arg6
= (int) -1 ;
2926 int arg7
= (int) -1 ;
2927 bool arg8
= (bool) True
;
2928 int arg9
= (int) 150 ;
2929 int arg10
= (int) 200 ;
2931 bool temp1
= False
;
2932 bool temp2
= False
;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2935 PyObject
* obj2
= 0 ;
2936 PyObject
* obj3
= 0 ;
2937 PyObject
* obj6
= 0 ;
2939 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2944 arg1
= wxString_in_helper(obj0
);
2945 if (arg1
== NULL
) SWIG_fail
;
2949 arg2
= wxString_in_helper(obj1
);
2950 if (arg2
== NULL
) SWIG_fail
;
2954 arg3
= PyList_Size(obj2
);
2955 arg4
= wxString_LIST_helper(obj2
);
2956 if (arg4
== NULL
) SWIG_fail
;
2959 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2962 arg8
= PyInt_AsLong(obj6
) ? true : false;
2963 if (PyErr_Occurred()) SWIG_fail
;
2966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2967 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2969 wxPyEndAllowThreads(__tstate
);
2970 if (PyErr_Occurred()) SWIG_fail
;
2974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2988 if (arg4
) delete [] arg4
;
3001 if (arg4
) delete [] arg4
;
3007 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxString
*arg1
= 0 ;
3010 wxString
*arg2
= 0 ;
3012 wxString
*arg4
= (wxString
*) 0 ;
3013 wxWindow
*arg5
= (wxWindow
*) NULL
;
3014 int arg6
= (int) -1 ;
3015 int arg7
= (int) -1 ;
3016 bool arg8
= (bool) True
;
3017 int arg9
= (int) 150 ;
3018 int arg10
= (int) 200 ;
3020 bool temp1
= False
;
3021 bool temp2
= False
;
3022 PyObject
* obj0
= 0 ;
3023 PyObject
* obj1
= 0 ;
3024 PyObject
* obj2
= 0 ;
3025 PyObject
* obj3
= 0 ;
3026 PyObject
* obj6
= 0 ;
3028 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
3033 arg1
= wxString_in_helper(obj0
);
3034 if (arg1
== NULL
) SWIG_fail
;
3038 arg2
= wxString_in_helper(obj1
);
3039 if (arg2
== NULL
) SWIG_fail
;
3043 arg3
= PyList_Size(obj2
);
3044 arg4
= wxString_LIST_helper(obj2
);
3045 if (arg4
== NULL
) SWIG_fail
;
3048 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3051 arg8
= PyInt_AsLong(obj6
) ? true : false;
3052 if (PyErr_Occurred()) SWIG_fail
;
3055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3056 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3058 wxPyEndAllowThreads(__tstate
);
3059 if (PyErr_Occurred()) SWIG_fail
;
3061 resultobj
= PyInt_FromLong((long)result
);
3071 if (arg4
) delete [] arg4
;
3084 if (arg4
) delete [] arg4
;
3090 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3091 PyObject
*resultobj
;
3092 wxString
*arg1
= 0 ;
3093 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3094 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3095 int arg3
= (int) wxOK
|wxCENTRE
;
3096 wxWindow
*arg4
= (wxWindow
*) NULL
;
3097 int arg5
= (int) -1 ;
3098 int arg6
= (int) -1 ;
3100 bool temp1
= False
;
3101 bool temp2
= False
;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3104 PyObject
* obj3
= 0 ;
3106 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3111 arg1
= wxString_in_helper(obj0
);
3112 if (arg1
== NULL
) SWIG_fail
;
3117 arg2
= wxString_in_helper(obj1
);
3118 if (arg2
== NULL
) SWIG_fail
;
3123 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3127 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3129 wxPyEndAllowThreads(__tstate
);
3130 if (PyErr_Occurred()) SWIG_fail
;
3132 resultobj
= PyInt_FromLong((long)result
);
3155 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3157 wxString
*arg1
= 0 ;
3158 wxString
*arg2
= 0 ;
3159 wxString
*arg3
= 0 ;
3161 long arg5
= (long) 0 ;
3162 long arg6
= (long) 100 ;
3163 wxWindow
*arg7
= (wxWindow
*) NULL
;
3164 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3165 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3167 bool temp1
= False
;
3168 bool temp2
= False
;
3169 bool temp3
= False
;
3171 PyObject
* obj0
= 0 ;
3172 PyObject
* obj1
= 0 ;
3173 PyObject
* obj2
= 0 ;
3174 PyObject
* obj6
= 0 ;
3175 PyObject
* obj7
= 0 ;
3177 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3182 arg1
= wxString_in_helper(obj0
);
3183 if (arg1
== NULL
) SWIG_fail
;
3187 arg2
= wxString_in_helper(obj1
);
3188 if (arg2
== NULL
) SWIG_fail
;
3192 arg3
= wxString_in_helper(obj2
);
3193 if (arg3
== NULL
) SWIG_fail
;
3197 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3202 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 resultobj
= PyInt_FromLong((long)result
);
3243 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3244 PyObject
*resultobj
;
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3253 result
= (bool)wxColourDisplay();
3255 wxPyEndAllowThreads(__tstate
);
3256 if (PyErr_Occurred()) SWIG_fail
;
3258 resultobj
= PyInt_FromLong((long)result
);
3265 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3266 PyObject
*resultobj
;
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3275 result
= (int)wxDisplayDepth();
3277 wxPyEndAllowThreads(__tstate
);
3278 if (PyErr_Occurred()) SWIG_fail
;
3280 resultobj
= PyInt_FromLong((long)result
);
3287 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= (int)wxGetDisplayDepth();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3302 resultobj
= PyInt_FromLong((long)result
);
3309 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3310 PyObject
*resultobj
;
3311 int *arg1
= (int *) 0 ;
3312 int *arg2
= (int *) 0 ;
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 wxDisplaySize(arg1
,arg2
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3331 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3332 resultobj
= t_output_helper(resultobj
,o
);
3335 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3336 resultobj
= t_output_helper(resultobj
,o
);
3344 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3345 PyObject
*resultobj
;
3351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 result
= wxGetDisplaySize();
3356 wxPyEndAllowThreads(__tstate
);
3357 if (PyErr_Occurred()) SWIG_fail
;
3361 resultptr
= new wxSize((wxSize
&) result
);
3362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3370 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3371 PyObject
*resultobj
;
3372 int *arg1
= (int *) 0 ;
3373 int *arg2
= (int *) 0 ;
3382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3385 wxDisplaySizeMM(arg1
,arg2
);
3387 wxPyEndAllowThreads(__tstate
);
3388 if (PyErr_Occurred()) SWIG_fail
;
3390 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3393 resultobj
= t_output_helper(resultobj
,o
);
3396 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3397 resultobj
= t_output_helper(resultobj
,o
);
3405 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3406 PyObject
*resultobj
;
3412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 result
= wxGetDisplaySizeMM();
3417 wxPyEndAllowThreads(__tstate
);
3418 if (PyErr_Occurred()) SWIG_fail
;
3422 resultptr
= new wxSize((wxSize
&) result
);
3423 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3431 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3432 PyObject
*resultobj
;
3433 int *arg1
= (int *) 0 ;
3434 int *arg2
= (int *) 0 ;
3435 int *arg3
= (int *) 0 ;
3436 int *arg4
= (int *) 0 ;
3449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3452 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3454 wxPyEndAllowThreads(__tstate
);
3455 if (PyErr_Occurred()) SWIG_fail
;
3457 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3460 resultobj
= t_output_helper(resultobj
,o
);
3463 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3464 resultobj
= t_output_helper(resultobj
,o
);
3467 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3468 resultobj
= t_output_helper(resultobj
,o
);
3471 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3472 resultobj
= t_output_helper(resultobj
,o
);
3480 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3481 PyObject
*resultobj
;
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 result
= wxGetClientDisplayRect();
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3497 resultptr
= new wxRect((wxRect
&) result
);
3498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3506 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxCursor
*arg1
= 0 ;
3509 PyObject
* obj0
= 0 ;
3511 (char *) "cursor", NULL
3514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3517 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 Py_INCREF(Py_None
); resultobj
= Py_None
;
3533 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "cursor", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 wxBeginBusyCursor(arg1
);
3549 wxPyEndAllowThreads(__tstate
);
3550 if (PyErr_Occurred()) SWIG_fail
;
3552 Py_INCREF(Py_None
); resultobj
= Py_None
;
3559 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3560 PyObject
*resultobj
;
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (wxWindow
*)wxGetActiveWindow();
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= wxPyMake_wxObject(result
);
3583 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3584 PyObject
*resultobj
;
3588 PyObject
* obj0
= 0 ;
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3596 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= wxPyMake_wxObject(result
);
3614 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3619 PyObject
* obj0
= 0 ;
3624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3627 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3631 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3633 wxPyEndAllowThreads(__tstate
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3637 resultobj
= wxPyMake_wxObject(result
);
3645 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3646 PyObject
*resultobj
;
3647 wxWindow
*arg1
= (wxWindow
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3651 (char *) "win", NULL
3654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 resultobj
= wxPyMake_wxObject(result
);
3672 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3677 (char *) "key", NULL
3680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:GetKeyState",kwnames
,&arg1
)) goto fail
;
3682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3683 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
3685 wxPyEndAllowThreads(__tstate
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3688 resultobj
= PyInt_FromLong((long)result
);
3695 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 wxWakeUpMainThread();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 Py_INCREF(Py_None
); resultobj
= Py_None
;
3716 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 Py_INCREF(Py_None
); resultobj
= Py_None
;
3758 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3759 PyObject
*resultobj
;
3760 wxMutexGuiLocker
*result
;
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3770 wxPyEndAllowThreads(__tstate
);
3771 if (PyErr_Occurred()) SWIG_fail
;
3773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3780 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3781 PyObject
*resultobj
;
3782 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3783 PyObject
* obj0
= 0 ;
3785 (char *) "self", NULL
3788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 Py_INCREF(Py_None
); resultobj
= Py_None
;
3804 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3807 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3809 return Py_BuildValue((char *)"");
3811 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3812 PyObject
*resultobj
;
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (bool)wxThread_IsMain();
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= PyInt_FromLong((long)result
);
3833 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxString
*arg1
= 0 ;
3837 bool temp1
= False
;
3838 PyObject
* obj0
= 0 ;
3840 (char *) "tip", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3845 arg1
= wxString_in_helper(obj0
);
3846 if (arg1
== NULL
) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3857 resultobj
= wxPyMake_wxObject(result
);
3873 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3876 wxString
*arg2
= 0 ;
3877 bool temp2
= False
;
3878 PyObject
* obj0
= 0 ;
3879 PyObject
* obj1
= 0 ;
3881 (char *) "self",(char *) "tip", NULL
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3887 arg2
= wxString_in_helper(obj1
);
3888 if (arg2
== NULL
) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 (arg1
)->SetTip((wxString
const &)*arg2
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 Py_INCREF(Py_None
); resultobj
= Py_None
;
3913 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 result
= (arg1
)->GetTip();
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3944 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "self", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (wxWindow
*)(arg1
)->GetWindow();
3959 wxPyEndAllowThreads(__tstate
);
3960 if (PyErr_Occurred()) SWIG_fail
;
3963 resultobj
= wxPyMake_wxObject(result
);
3971 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3972 PyObject
*resultobj
;
3974 PyObject
* obj0
= 0 ;
3976 (char *) "flag", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3980 arg1
= PyInt_AsLong(obj0
) ? true : false;
3981 if (PyErr_Occurred()) SWIG_fail
;
3983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3984 wxToolTip::Enable(arg1
);
3986 wxPyEndAllowThreads(__tstate
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3989 Py_INCREF(Py_None
); resultobj
= Py_None
;
3996 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3997 PyObject
*resultobj
;
4000 (char *) "milliseconds", NULL
4003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
4005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4006 wxToolTip::SetDelay(arg1
);
4008 wxPyEndAllowThreads(__tstate
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4011 Py_INCREF(Py_None
); resultobj
= Py_None
;
4018 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4020 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4021 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4023 return Py_BuildValue((char *)"");
4025 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxWindow
*arg1
= (wxWindow
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4034 (char *) "window",(char *) "size", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4057 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxCaret
*arg1
= (wxCaret
*) 0 ;
4060 PyObject
* obj0
= 0 ;
4062 (char *) "self", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 wxPyEndAllowThreads(__tstate
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 Py_INCREF(Py_None
); resultobj
= Py_None
;
4081 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4082 PyObject
*resultobj
;
4083 wxCaret
*arg1
= (wxCaret
*) 0 ;
4085 PyObject
* obj0
= 0 ;
4087 (char *) "self", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (bool)(arg1
)->IsOk();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4099 resultobj
= PyInt_FromLong((long)result
);
4106 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4107 PyObject
*resultobj
;
4108 wxCaret
*arg1
= (wxCaret
*) 0 ;
4110 PyObject
* obj0
= 0 ;
4112 (char *) "self", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 result
= (bool)(arg1
)->IsVisible();
4121 wxPyEndAllowThreads(__tstate
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4124 resultobj
= PyInt_FromLong((long)result
);
4131 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4132 PyObject
*resultobj
;
4133 wxCaret
*arg1
= (wxCaret
*) 0 ;
4135 PyObject
* obj0
= 0 ;
4137 (char *) "self", NULL
4140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (arg1
)->GetPosition();
4146 wxPyEndAllowThreads(__tstate
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4150 wxPoint
* resultptr
;
4151 resultptr
= new wxPoint((wxPoint
&) result
);
4152 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4160 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4162 wxCaret
*arg1
= (wxCaret
*) 0 ;
4163 int *arg2
= (int *) 0 ;
4164 int *arg3
= (int *) 0 ;
4167 PyObject
* obj0
= 0 ;
4169 (char *) "self", NULL
4174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4178 (arg1
)->GetPosition(arg2
,arg3
);
4180 wxPyEndAllowThreads(__tstate
);
4181 if (PyErr_Occurred()) SWIG_fail
;
4183 Py_INCREF(Py_None
); resultobj
= Py_None
;
4185 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4186 resultobj
= t_output_helper(resultobj
,o
);
4189 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4190 resultobj
= t_output_helper(resultobj
,o
);
4198 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxCaret
*arg1
= (wxCaret
*) 0 ;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "self", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4211 result
= (arg1
)->GetSize();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4218 resultptr
= new wxSize((wxSize
&) result
);
4219 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4227 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxCaret
*arg1
= (wxCaret
*) 0 ;
4230 int *arg2
= (int *) 0 ;
4231 int *arg3
= (int *) 0 ;
4234 PyObject
* obj0
= 0 ;
4236 (char *) "self", NULL
4241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 (arg1
)->GetSize(arg2
,arg3
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4253 resultobj
= t_output_helper(resultobj
,o
);
4256 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4257 resultobj
= t_output_helper(resultobj
,o
);
4265 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxCaret
*arg1
= (wxCaret
*) 0 ;
4269 PyObject
* obj0
= 0 ;
4271 (char *) "self", NULL
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (wxWindow
*)(arg1
)->GetWindow();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= wxPyMake_wxObject(result
);
4292 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxCaret
*arg1
= (wxCaret
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4299 (char *) "self",(char *) "x",(char *) "y", NULL
4302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 (arg1
)->Move(arg2
,arg3
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 Py_INCREF(Py_None
); resultobj
= Py_None
;
4318 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxCaret
*arg1
= (wxCaret
*) 0 ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4326 (char *) "self",(char *) "pt", NULL
4329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4333 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->Move((wxPoint
const &)*arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxCaret
*arg1
= (wxCaret
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self",(char *) "width",(char *) "height", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 (arg1
)->SetSize(arg2
,arg3
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxCaret
*arg1
= (wxCaret
*) 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "size", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4390 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4394 (arg1
)->SetSize((wxSize
const &)*arg2
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 Py_INCREF(Py_None
); resultobj
= Py_None
;
4406 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4407 PyObject
*resultobj
;
4408 wxCaret
*arg1
= (wxCaret
*) 0 ;
4409 int arg2
= (int) True
;
4410 PyObject
* obj0
= 0 ;
4412 (char *) "self",(char *) "show", NULL
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 wxPyEndAllowThreads(__tstate
);
4422 if (PyErr_Occurred()) SWIG_fail
;
4424 Py_INCREF(Py_None
); resultobj
= Py_None
;
4431 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxCaret
*arg1
= (wxCaret
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4436 (char *) "self", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 wxPyEndAllowThreads(__tstate
);
4446 if (PyErr_Occurred()) SWIG_fail
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4458 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4460 return Py_BuildValue((char *)"");
4462 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4472 result
= (int)wxCaret_GetBlinkTime();
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= PyInt_FromLong((long)result
);
4484 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4488 (char *) "milliseconds", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 wxCaret_SetBlinkTime(arg1
);
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4499 Py_INCREF(Py_None
); resultobj
= Py_None
;
4506 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4507 PyObject
*resultobj
;
4508 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4509 wxBusyCursor
*result
;
4510 PyObject
* obj0
= 0 ;
4512 (char *) "cursor", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4533 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4538 (char *) "self", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 wxPyEndAllowThreads(__tstate
);
4548 if (PyErr_Occurred()) SWIG_fail
;
4550 Py_INCREF(Py_None
); resultobj
= Py_None
;
4557 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4560 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4562 return Py_BuildValue((char *)"");
4564 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxWindow
*arg1
= (wxWindow
*) NULL
;
4567 wxWindowDisabler
*result
;
4568 PyObject
* obj0
= 0 ;
4570 (char *) "winToSkip", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4581 wxPyEndAllowThreads(__tstate
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4591 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4592 PyObject
*resultobj
;
4593 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "self", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4618 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4620 return Py_BuildValue((char *)"");
4622 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxString
*arg1
= 0 ;
4626 bool temp1
= False
;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "message", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4634 arg1
= wxString_in_helper(obj0
);
4635 if (arg1
== NULL
) SWIG_fail
;
4639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4640 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4660 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4665 (char *) "self", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 Py_INCREF(Py_None
); resultobj
= Py_None
;
4684 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4687 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4689 return Py_BuildValue((char *)"");
4691 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4692 PyObject
*resultobj
;
4693 wxStopWatch
*result
;
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 result
= (wxStopWatch
*)new wxStopWatch();
4703 wxPyEndAllowThreads(__tstate
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4713 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4714 PyObject
*resultobj
;
4715 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4716 long arg2
= (long) 0 ;
4717 PyObject
* obj0
= 0 ;
4719 (char *) "self",(char *) "t0", NULL
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 (arg1
)->Start(arg2
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 Py_INCREF(Py_None
); resultobj
= Py_None
;
4738 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4741 PyObject
* obj0
= 0 ;
4743 (char *) "self", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4752 wxPyEndAllowThreads(__tstate
);
4753 if (PyErr_Occurred()) SWIG_fail
;
4755 Py_INCREF(Py_None
); resultobj
= Py_None
;
4762 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4763 PyObject
*resultobj
;
4764 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4765 PyObject
* obj0
= 0 ;
4767 (char *) "self", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 wxPyEndAllowThreads(__tstate
);
4777 if (PyErr_Occurred()) SWIG_fail
;
4779 Py_INCREF(Py_None
); resultobj
= Py_None
;
4786 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4787 PyObject
*resultobj
;
4788 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= PyInt_FromLong((long)result
);
4811 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4814 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4816 return Py_BuildValue((char *)"");
4818 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4819 PyObject
*resultobj
;
4820 int arg1
= (int) 9 ;
4821 wxFileHistory
*result
;
4823 (char *) "maxFiles", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4841 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4844 PyObject
* obj0
= 0 ;
4846 (char *) "self", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 Py_INCREF(Py_None
); resultobj
= Py_None
;
4865 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4868 wxString
*arg2
= 0 ;
4869 bool temp2
= False
;
4870 PyObject
* obj0
= 0 ;
4871 PyObject
* obj1
= 0 ;
4873 (char *) "self",(char *) "file", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4879 arg2
= wxString_in_helper(obj1
);
4880 if (arg2
== NULL
) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 Py_INCREF(Py_None
); resultobj
= Py_None
;
4905 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "self",(char *) "i", NULL
4914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 (arg1
)->RemoveFileFromHistory(arg2
);
4920 wxPyEndAllowThreads(__tstate
);
4921 if (PyErr_Occurred()) SWIG_fail
;
4923 Py_INCREF(Py_None
); resultobj
= Py_None
;
4930 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4931 PyObject
*resultobj
;
4932 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4934 PyObject
* obj0
= 0 ;
4936 (char *) "self", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 resultobj
= PyInt_FromLong((long)result
);
4955 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4958 wxMenu
*arg2
= (wxMenu
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4962 (char *) "self",(char *) "menu", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4967 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->UseMenu(arg2
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4985 wxMenu
*arg2
= (wxMenu
*) 0 ;
4986 PyObject
* obj0
= 0 ;
4987 PyObject
* obj1
= 0 ;
4989 (char *) "self",(char *) "menu", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4994 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4997 (arg1
)->RemoveMenu(arg2
);
4999 wxPyEndAllowThreads(__tstate
);
5000 if (PyErr_Occurred()) SWIG_fail
;
5002 Py_INCREF(Py_None
); resultobj
= Py_None
;
5009 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5010 PyObject
*resultobj
;
5011 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5012 wxConfigBase
*arg2
= 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "config", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5023 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->Load(*arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5042 wxConfigBase
*arg2
= 0 ;
5043 PyObject
* obj0
= 0 ;
5044 PyObject
* obj1
= 0 ;
5046 (char *) "self",(char *) "config", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5053 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 (arg1
)->Save(*arg2
);
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 Py_INCREF(Py_None
); resultobj
= Py_None
;
5069 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5070 PyObject
*resultobj
;
5071 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5081 (arg1
)->AddFilesToMenu();
5083 wxPyEndAllowThreads(__tstate
);
5084 if (PyErr_Occurred()) SWIG_fail
;
5086 Py_INCREF(Py_None
); resultobj
= Py_None
;
5093 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
;
5095 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5096 wxMenu
*arg2
= (wxMenu
*) 0 ;
5097 PyObject
* obj0
= 0 ;
5098 PyObject
* obj1
= 0 ;
5100 (char *) "self",(char *) "menu", NULL
5103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 (arg1
)->AddFilesToMenu(arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 Py_INCREF(Py_None
); resultobj
= Py_None
;
5120 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5125 PyObject
* obj0
= 0 ;
5127 (char *) "self",(char *) "i", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5152 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= PyInt_FromLong((long)result
);
5177 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5180 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5182 return Py_BuildValue((char *)"");
5184 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxString
*arg1
= 0 ;
5187 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5188 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5189 wxSingleInstanceChecker
*result
;
5190 bool temp1
= False
;
5191 bool temp2
= False
;
5192 PyObject
* obj0
= 0 ;
5193 PyObject
* obj1
= 0 ;
5195 (char *) "name",(char *) "path", NULL
5198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5200 arg1
= wxString_in_helper(obj0
);
5201 if (arg1
== NULL
) SWIG_fail
;
5206 arg2
= wxString_in_helper(obj1
);
5207 if (arg2
== NULL
) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5213 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5215 wxPyEndAllowThreads(__tstate
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5241 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxSingleInstanceChecker
*result
;
5248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5263 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 Py_INCREF(Py_None
); resultobj
= Py_None
;
5287 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5290 wxString
*arg2
= 0 ;
5291 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5292 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5294 bool temp2
= False
;
5295 bool temp3
= False
;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5298 PyObject
* obj2
= 0 ;
5300 (char *) "self",(char *) "name",(char *) "path", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5306 arg2
= wxString_in_helper(obj1
);
5307 if (arg2
== NULL
) SWIG_fail
;
5312 arg3
= wxString_in_helper(obj2
);
5313 if (arg3
== NULL
) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= PyInt_FromLong((long)result
);
5347 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5365 resultobj
= PyInt_FromLong((long)result
);
5372 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5375 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5377 return Py_BuildValue((char *)"");
5379 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxWindow
*arg1
= (wxWindow
*) 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5387 (char *) "window",(char *) "dc",(char *) "method", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5394 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 Py_INCREF(Py_None
); resultobj
= Py_None
;
5410 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5413 PyObject
* obj0
= 0 ;
5415 (char *) "self", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 Py_INCREF(Py_None
); resultobj
= Py_None
;
5434 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5438 PyObject
* obj0
= 0 ;
5440 (char *) "self", NULL
5443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5447 result
= (arg1
)->GetTip();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5454 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5456 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5465 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5466 PyObject
*resultobj
;
5467 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5469 PyObject
* obj0
= 0 ;
5471 (char *) "self", NULL
5474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (size_t)(arg1
)->GetCurrentTip();
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= PyInt_FromLong((long)result
);
5490 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5493 wxString
*arg2
= 0 ;
5495 bool temp2
= False
;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5499 (char *) "self",(char *) "tip", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5505 arg2
= wxString_in_helper(obj1
);
5506 if (arg2
== NULL
) SWIG_fail
;
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5513 wxPyEndAllowThreads(__tstate
);
5514 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5537 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5539 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5540 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5542 return Py_BuildValue((char *)"");
5544 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5547 wxPyTipProvider
*result
;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "currentTip", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5554 arg1
= (size_t) PyInt_AsLong(obj0
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5570 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5573 PyObject
*arg2
= (PyObject
*) 0 ;
5574 PyObject
*arg3
= (PyObject
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5576 PyObject
* obj1
= 0 ;
5577 PyObject
* obj2
= 0 ;
5579 (char *) "self",(char *) "self",(char *) "_class", NULL
5582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5590 wxPyEndAllowThreads(__tstate
);
5591 if (PyErr_Occurred()) SWIG_fail
;
5593 Py_INCREF(Py_None
); resultobj
= Py_None
;
5600 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5603 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5605 return Py_BuildValue((char *)"");
5607 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxWindow
*arg1
= (wxWindow
*) 0 ;
5610 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5611 bool arg3
= (bool) True
;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 PyObject
* obj2
= 0 ;
5617 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5624 arg3
= PyInt_AsLong(obj2
) ? true : false;
5625 if (PyErr_Occurred()) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5631 wxPyEndAllowThreads(__tstate
);
5632 if (PyErr_Occurred()) SWIG_fail
;
5634 resultobj
= PyInt_FromLong((long)result
);
5641 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5642 PyObject
*resultobj
;
5643 wxString
*arg1
= 0 ;
5645 wxTipProvider
*result
;
5646 bool temp1
= False
;
5647 PyObject
* obj0
= 0 ;
5648 PyObject
* obj1
= 0 ;
5650 (char *) "filename",(char *) "currentTip", NULL
5653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5655 arg1
= wxString_in_helper(obj0
);
5656 if (arg1
== NULL
) SWIG_fail
;
5659 arg2
= (size_t) PyInt_AsLong(obj1
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5665 wxPyEndAllowThreads(__tstate
);
5666 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5683 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5686 int arg2
= (int) -1 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "owner",(char *) "id", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5711 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5714 PyObject
* obj0
= 0 ;
5716 (char *) "self", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 wxPyEndAllowThreads(__tstate
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5728 Py_INCREF(Py_None
); resultobj
= Py_None
;
5735 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5736 PyObject
*resultobj
;
5737 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5738 PyObject
*arg2
= (PyObject
*) 0 ;
5739 PyObject
*arg3
= (PyObject
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5741 PyObject
* obj1
= 0 ;
5742 PyObject
* obj2
= 0 ;
5744 (char *) "self",(char *) "self",(char *) "_class", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5753 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5755 wxPyEndAllowThreads(__tstate
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5758 Py_INCREF(Py_None
); resultobj
= Py_None
;
5765 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5766 PyObject
*resultobj
;
5767 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5768 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5769 int arg3
= (int) -1 ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5773 (char *) "self",(char *) "owner",(char *) "id", NULL
5776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5781 (arg1
)->SetOwner(arg2
,arg3
);
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 Py_INCREF(Py_None
); resultobj
= Py_None
;
5793 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5796 int arg2
= (int) -1 ;
5797 bool arg3
= (bool) False
;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj2
= 0 ;
5802 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5808 arg3
= PyInt_AsLong(obj2
) ? true : false;
5809 if (PyErr_Occurred()) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyInt_FromLong((long)result
);
5825 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
;
5827 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5830 (char *) "self", NULL
5833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= PyInt_FromLong((long)result
);
5874 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= PyInt_FromLong((long)result
);
5899 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5903 PyObject
* obj0
= 0 ;
5905 (char *) "self", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= PyInt_FromLong((long)result
);
5924 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5928 PyObject
* obj0
= 0 ;
5930 (char *) "self", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5937 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= PyInt_FromLong((long)result
);
5949 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5952 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5954 return Py_BuildValue((char *)"");
5956 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
;
5958 int arg1
= (int) 0 ;
5959 int arg2
= (int) 0 ;
5960 wxTimerEvent
*result
;
5962 (char *) "timerid",(char *) "interval", NULL
5965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5980 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 resultobj
= PyInt_FromLong((long)result
);
6005 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6008 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6010 return Py_BuildValue((char *)"");
6012 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6013 PyObject
*resultobj
;
6015 wxTimerRunner
*result
;
6016 PyObject
* obj0
= 0 ;
6018 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6021 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6037 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6038 PyObject
*resultobj
;
6041 bool arg3
= (bool) False
;
6042 wxTimerRunner
*result
;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj2
= 0 ;
6046 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
6047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6049 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6052 arg3
= PyInt_AsLong(obj2
) ? true : false;
6053 if (PyErr_Occurred()) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6069 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6074 argc
= PyObject_Length(args
);
6075 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6076 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6082 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6090 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6093 if ((argc
>= 2) && (argc
<= 3)) {
6097 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6106 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6110 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6113 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6116 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6122 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6127 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6132 (char *) "self", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 Py_INCREF(Py_None
); resultobj
= Py_None
;
6151 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6155 bool arg3
= (bool) False
;
6156 PyObject
* obj0
= 0 ;
6157 PyObject
* obj2
= 0 ;
6159 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6165 arg3
= PyInt_AsLong(obj2
) ? true : false;
6166 if (PyErr_Occurred()) SWIG_fail
;
6169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6170 (arg1
)->Start(arg2
,arg3
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 Py_INCREF(Py_None
); resultobj
= Py_None
;
6182 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6185 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6187 return Py_BuildValue((char *)"");
6189 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
;
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6199 result
= (wxLog
*)new wxLog();
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6211 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (bool)wxLog::IsEnabled();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyInt_FromLong((long)result
);
6233 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6235 bool arg1
= (bool) True
;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "doIt", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6244 arg1
= PyInt_AsLong(obj0
) ? true : false;
6245 if (PyErr_Occurred()) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6249 result
= (bool)wxLog::EnableLogging(arg1
);
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 resultobj
= PyInt_FromLong((long)result
);
6261 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6264 wxChar
*arg2
= (wxChar
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6268 PyObject
* obj2
= 0 ;
6270 (char *) "level",(char *) "szString",(char *) "t", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6274 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6275 if (PyErr_Occurred()) SWIG_fail
;
6276 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6277 arg3
= (time_t) PyInt_AsLong(obj2
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6281 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6283 wxPyEndAllowThreads(__tstate
);
6284 if (PyErr_Occurred()) SWIG_fail
;
6286 Py_INCREF(Py_None
); resultobj
= Py_None
;
6293 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxLog
*arg1
= (wxLog
*) 0 ;
6296 PyObject
* obj0
= 0 ;
6298 (char *) "self", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6326 wxLog::FlushActive();
6328 wxPyEndAllowThreads(__tstate
);
6329 if (PyErr_Occurred()) SWIG_fail
;
6331 Py_INCREF(Py_None
); resultobj
= Py_None
;
6338 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6339 PyObject
*resultobj
;
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= (wxLog
*)wxLog::GetActiveTarget();
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6353 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6360 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6361 PyObject
*resultobj
;
6362 wxLog
*arg1
= (wxLog
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6366 (char *) "pLogger", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6385 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6399 Py_INCREF(Py_None
); resultobj
= Py_None
;
6406 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6407 PyObject
*resultobj
;
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 bool arg1
= (bool) True
;
6430 PyObject
* obj0
= 0 ;
6432 (char *) "bVerbose", NULL
6435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6437 arg1
= PyInt_AsLong(obj0
) ? true : false;
6438 if (PyErr_Occurred()) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 wxLog::SetVerbose(arg1
);
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 Py_INCREF(Py_None
); resultobj
= Py_None
;
6454 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6457 PyObject
* obj0
= 0 ;
6459 (char *) "logLevel", NULL
6462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6463 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6467 wxLog::SetLogLevel(arg1
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6472 Py_INCREF(Py_None
); resultobj
= Py_None
;
6479 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6480 PyObject
*resultobj
;
6485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 wxLog::DontCreateOnDemand();
6490 wxPyEndAllowThreads(__tstate
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 Py_INCREF(Py_None
); resultobj
= Py_None
;
6500 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6501 PyObject
*resultobj
;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "ulMask", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6509 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6510 if (PyErr_Occurred()) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 wxLog::SetTraceMask(arg1
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6518 Py_INCREF(Py_None
); resultobj
= Py_None
;
6525 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxString
*arg1
= 0 ;
6528 bool temp1
= False
;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "str", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6536 arg1
= wxString_in_helper(obj0
);
6537 if (arg1
== NULL
) SWIG_fail
;
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 wxLog::AddTraceMask((wxString
const &)*arg1
);
6544 wxPyEndAllowThreads(__tstate
);
6545 if (PyErr_Occurred()) SWIG_fail
;
6547 Py_INCREF(Py_None
); resultobj
= Py_None
;
6562 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6563 PyObject
*resultobj
;
6564 wxString
*arg1
= 0 ;
6565 bool temp1
= False
;
6566 PyObject
* obj0
= 0 ;
6568 (char *) "str", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6573 arg1
= wxString_in_helper(obj0
);
6574 if (arg1
== NULL
) SWIG_fail
;
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6581 wxPyEndAllowThreads(__tstate
);
6582 if (PyErr_Occurred()) SWIG_fail
;
6584 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6608 wxLog::ClearTraceMasks();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxArrayString
*result
;
6627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6632 result
= (wxArrayString
*) &_result_ref
;
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 resultobj
= wxArrayString2PyList_helper(*result
);
6647 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxChar
*arg1
= (wxChar
*) 0 ;
6650 PyObject
* obj0
= 0 ;
6655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6659 wxLog::SetTimestamp((wxChar
const *)arg1
);
6661 wxPyEndAllowThreads(__tstate
);
6662 if (PyErr_Occurred()) SWIG_fail
;
6664 Py_INCREF(Py_None
); resultobj
= Py_None
;
6671 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6681 result
= (bool)wxLog::GetVerbose();
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= PyInt_FromLong((long)result
);
6693 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6694 PyObject
*resultobj
;
6700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= (wxTraceMask
)wxLog::GetTraceMask();
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= PyInt_FromLong((long)result
);
6715 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxChar
*arg1
= (wxChar
*) 0 ;
6719 PyObject
* obj0
= 0 ;
6721 (char *) "mask", NULL
6724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= PyInt_FromLong((long)result
);
6740 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6750 result
= (wxLogLevel
)wxLog::GetLogLevel();
6752 wxPyEndAllowThreads(__tstate
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6755 resultobj
= PyInt_FromLong((long)result
);
6762 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6763 PyObject
*resultobj
;
6769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (wxChar
*)wxLog::GetTimestamp();
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6784 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6785 PyObject
*resultobj
;
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6794 result
= Log_TimeStamp();
6796 wxPyEndAllowThreads(__tstate
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6803 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6812 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6813 PyObject
*resultobj
;
6814 wxLog
*arg1
= (wxLog
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6817 (char *) "self", NULL
6820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6824 wxLog_Destroy(arg1
);
6826 wxPyEndAllowThreads(__tstate
);
6827 if (PyErr_Occurred()) SWIG_fail
;
6829 Py_INCREF(Py_None
); resultobj
= Py_None
;
6836 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6839 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6841 return Py_BuildValue((char *)"");
6843 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6844 PyObject
*resultobj
;
6845 wxLogStderr
*result
;
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (wxLogStderr
*)new wxLogStderr();
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6865 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6870 return Py_BuildValue((char *)"");
6872 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6875 wxLogTextCtrl
*result
;
6876 PyObject
* obj0
= 0 ;
6878 (char *) "pTextCtrl", NULL
6881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6897 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6900 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6902 return Py_BuildValue((char *)"");
6904 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6905 PyObject
*resultobj
;
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 result
= (wxLogGui
*)new wxLogGui();
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6926 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6929 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6931 return Py_BuildValue((char *)"");
6933 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6934 PyObject
*resultobj
;
6935 wxFrame
*arg1
= (wxFrame
*) 0 ;
6936 wxString
*arg2
= 0 ;
6937 bool arg3
= (bool) True
;
6938 bool arg4
= (bool) True
;
6939 wxLogWindow
*result
;
6940 bool temp2
= False
;
6941 PyObject
* obj0
= 0 ;
6942 PyObject
* obj1
= 0 ;
6943 PyObject
* obj2
= 0 ;
6944 PyObject
* obj3
= 0 ;
6946 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6952 arg2
= wxString_in_helper(obj1
);
6953 if (arg2
== NULL
) SWIG_fail
;
6957 arg3
= PyInt_AsLong(obj2
) ? true : false;
6958 if (PyErr_Occurred()) SWIG_fail
;
6961 arg4
= PyInt_AsLong(obj3
) ? true : false;
6962 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6986 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6989 bool arg2
= (bool) True
;
6990 PyObject
* obj0
= 0 ;
6991 PyObject
* obj1
= 0 ;
6993 (char *) "self",(char *) "bShow", NULL
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6999 arg2
= PyInt_AsLong(obj1
) ? true : false;
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 Py_INCREF(Py_None
); resultobj
= Py_None
;
7016 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= wxPyMake_wxObject(result
);
7043 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7044 PyObject
*resultobj
;
7045 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "self", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7056 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7068 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7072 PyObject
* obj0
= 0 ;
7074 (char *) "self", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7081 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7083 wxPyEndAllowThreads(__tstate
);
7084 if (PyErr_Occurred()) SWIG_fail
;
7086 resultobj
= PyInt_FromLong((long)result
);
7093 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7094 PyObject
*resultobj
;
7095 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7097 PyObject
* obj0
= 0 ;
7098 PyObject
* obj1
= 0 ;
7100 (char *) "self",(char *) "bDoPass", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7105 arg2
= PyInt_AsLong(obj1
) ? true : false;
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 (arg1
)->PassMessages(arg2
);
7111 wxPyEndAllowThreads(__tstate
);
7112 if (PyErr_Occurred()) SWIG_fail
;
7114 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7124 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7126 return Py_BuildValue((char *)"");
7128 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxLog
*arg1
= (wxLog
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "logger", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (wxLogChain
*)new wxLogChain(arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7153 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7155 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7156 wxLog
*arg2
= (wxLog
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7160 (char *) "self",(char *) "logger", NULL
7163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7168 (arg1
)->SetLog(arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 Py_INCREF(Py_None
); resultobj
= Py_None
;
7180 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
;
7182 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7184 PyObject
* obj0
= 0 ;
7185 PyObject
* obj1
= 0 ;
7187 (char *) "self",(char *) "bDoPass", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7192 arg2
= PyInt_AsLong(obj1
) ? true : false;
7193 if (PyErr_Occurred()) SWIG_fail
;
7195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7196 (arg1
)->PassMessages(arg2
);
7198 wxPyEndAllowThreads(__tstate
);
7199 if (PyErr_Occurred()) SWIG_fail
;
7201 Py_INCREF(Py_None
); resultobj
= Py_None
;
7208 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7214 (char *) "self", NULL
7217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7221 result
= (bool)(arg1
)->IsPassingMessages();
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= PyInt_FromLong((long)result
);
7233 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "self", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= (wxLog
*)(arg1
)->GetOldLog();
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7258 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7261 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7263 return Py_BuildValue((char *)"");
7265 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
;
7267 unsigned long result
;
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (unsigned long)wxSysErrorCode();
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= PyInt_FromLong((long)result
);
7287 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7288 PyObject
*resultobj
;
7289 unsigned long arg1
= (unsigned long) 0 ;
7291 PyObject
* obj0
= 0 ;
7293 (char *) "nErrCode", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7298 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= wxSysErrorMsg(arg1
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7312 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7321 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
;
7323 wxString
*arg1
= 0 ;
7324 bool temp1
= False
;
7325 PyObject
* obj0
= 0 ;
7327 (char *) "msg", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7332 arg1
= wxString_in_helper(obj0
);
7333 if (arg1
== NULL
) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 wxLogFatalError((wxString
const &)*arg1
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxString
*arg1
= 0 ;
7361 bool temp1
= False
;
7362 PyObject
* obj0
= 0 ;
7364 (char *) "msg", NULL
7367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7369 arg1
= wxString_in_helper(obj0
);
7370 if (arg1
== NULL
) SWIG_fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 wxLogError((wxString
const &)*arg1
);
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 Py_INCREF(Py_None
); resultobj
= Py_None
;
7395 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxString
*arg1
= 0 ;
7398 bool temp1
= False
;
7399 PyObject
* obj0
= 0 ;
7401 (char *) "msg", NULL
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7406 arg1
= wxString_in_helper(obj0
);
7407 if (arg1
== NULL
) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7412 wxLogWarning((wxString
const &)*arg1
);
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7432 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7433 PyObject
*resultobj
;
7434 wxString
*arg1
= 0 ;
7435 bool temp1
= False
;
7436 PyObject
* obj0
= 0 ;
7438 (char *) "msg", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7443 arg1
= wxString_in_helper(obj0
);
7444 if (arg1
== NULL
) SWIG_fail
;
7448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7449 wxLogMessage((wxString
const &)*arg1
);
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 Py_INCREF(Py_None
); resultobj
= Py_None
;
7469 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxString
*arg1
= 0 ;
7472 bool temp1
= False
;
7473 PyObject
* obj0
= 0 ;
7475 (char *) "msg", NULL
7478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7480 arg1
= wxString_in_helper(obj0
);
7481 if (arg1
== NULL
) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 wxLogInfo((wxString
const &)*arg1
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 Py_INCREF(Py_None
); resultobj
= Py_None
;
7506 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxString
*arg1
= 0 ;
7509 bool temp1
= False
;
7510 PyObject
* obj0
= 0 ;
7512 (char *) "msg", NULL
7515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7517 arg1
= wxString_in_helper(obj0
);
7518 if (arg1
== NULL
) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 wxLogDebug((wxString
const &)*arg1
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7543 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7544 PyObject
*resultobj
;
7545 wxString
*arg1
= 0 ;
7546 bool temp1
= False
;
7547 PyObject
* obj0
= 0 ;
7549 (char *) "msg", NULL
7552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7554 arg1
= wxString_in_helper(obj0
);
7555 if (arg1
== NULL
) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxLogVerbose((wxString
const &)*arg1
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7580 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxString
*arg1
= 0 ;
7583 bool temp1
= False
;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "msg", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7591 arg1
= wxString_in_helper(obj0
);
7592 if (arg1
== NULL
) SWIG_fail
;
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 wxLogStatus((wxString
const &)*arg1
);
7599 wxPyEndAllowThreads(__tstate
);
7600 if (PyErr_Occurred()) SWIG_fail
;
7602 Py_INCREF(Py_None
); resultobj
= Py_None
;
7617 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7618 PyObject
*resultobj
;
7619 wxFrame
*arg1
= (wxFrame
*) 0 ;
7620 wxString
*arg2
= 0 ;
7621 bool temp2
= False
;
7622 PyObject
* obj0
= 0 ;
7623 PyObject
* obj1
= 0 ;
7625 (char *) "pFrame",(char *) "msg", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7631 arg2
= wxString_in_helper(obj1
);
7632 if (arg2
== NULL
) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7657 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxString
*arg1
= 0 ;
7660 bool temp1
= False
;
7661 PyObject
* obj0
= 0 ;
7663 (char *) "msg", NULL
7666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7668 arg1
= wxString_in_helper(obj0
);
7669 if (arg1
== NULL
) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 wxLogSysError((wxString
const &)*arg1
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7694 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
7695 PyObject
*resultobj
;
7696 unsigned long arg1
;
7697 wxString
*arg2
= 0 ;
7698 bool temp2
= False
;
7699 PyObject
* obj0
= 0 ;
7700 PyObject
* obj1
= 0 ;
7702 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7703 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 arg2
= wxString_in_helper(obj1
);
7707 if (arg2
== NULL
) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 wxLogTrace(arg1
,(wxString
const &)*arg2
);
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 Py_INCREF(Py_None
); resultobj
= Py_None
;
7732 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
7733 PyObject
*resultobj
;
7734 wxString
*arg1
= 0 ;
7735 wxString
*arg2
= 0 ;
7736 bool temp1
= False
;
7737 bool temp2
= False
;
7738 PyObject
* obj0
= 0 ;
7739 PyObject
* obj1
= 0 ;
7741 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
7743 arg1
= wxString_in_helper(obj0
);
7744 if (arg1
== NULL
) SWIG_fail
;
7748 arg2
= wxString_in_helper(obj1
);
7749 if (arg2
== NULL
) SWIG_fail
;
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7756 wxPyEndAllowThreads(__tstate
);
7757 if (PyErr_Occurred()) SWIG_fail
;
7759 Py_INCREF(Py_None
); resultobj
= Py_None
;
7782 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
7787 argc
= PyObject_Length(args
);
7788 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
7789 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7795 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7805 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7813 return _wrap_LogTrace__SWIG_1(self
,args
);
7820 _v
= (PyInt_Check(argv
[0]) || PyLong_Check(argv
[0])) ? 1 : 0;
7825 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxString
, 0) == -1) {
7833 return _wrap_LogTrace__SWIG_0(self
,args
);
7838 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
7843 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 unsigned long arg1
;
7846 wxString
*arg2
= 0 ;
7847 bool temp2
= False
;
7848 PyObject
* obj0
= 0 ;
7849 PyObject
* obj1
= 0 ;
7851 (char *) "level",(char *) "msg", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7855 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7856 if (PyErr_Occurred()) SWIG_fail
;
7858 arg2
= wxString_in_helper(obj1
);
7859 if (arg2
== NULL
) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7866 wxPyEndAllowThreads(__tstate
);
7867 if (PyErr_Occurred()) SWIG_fail
;
7869 Py_INCREF(Py_None
); resultobj
= Py_None
;
7884 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxString
*arg1
= 0 ;
7887 wxString
*arg2
= 0 ;
7888 bool temp1
= False
;
7889 bool temp2
= False
;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7893 (char *) "title",(char *) "text", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7898 arg1
= wxString_in_helper(obj0
);
7899 if (arg1
== NULL
) SWIG_fail
;
7903 arg2
= wxString_in_helper(obj1
);
7904 if (arg2
== NULL
) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 Py_INCREF(Py_None
); resultobj
= Py_None
;
7937 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7938 PyObject
*resultobj
;
7944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (wxLogNull
*)new wxLogNull();
7949 wxPyEndAllowThreads(__tstate
);
7950 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7959 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7962 PyObject
* obj0
= 0 ;
7964 (char *) "self", NULL
7967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7986 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7988 return Py_BuildValue((char *)"");
7990 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7991 PyObject
*resultobj
;
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (wxPyLog
*)new wxPyLog();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
8012 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8015 PyObject
*arg2
= (PyObject
*) 0 ;
8016 PyObject
*arg3
= (PyObject
*) 0 ;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 PyObject
* obj2
= 0 ;
8021 (char *) "self",(char *) "self",(char *) "_class", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 Py_INCREF(Py_None
); resultobj
= Py_None
;
8042 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8045 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8047 return Py_BuildValue((char *)"");
8049 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8052 int arg2
= (int) wxSIGTERM
;
8055 (char *) "pid",(char *) "sig", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= PyInt_FromLong((long)result
);
8073 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8078 (char *) "pid", NULL
8081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (bool)wxPyProcess::Exists(arg1
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= PyInt_FromLong((long)result
);
8096 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 wxString
*arg1
= 0 ;
8099 int arg2
= (int) wxEXEC_ASYNC
;
8100 wxPyProcess
*result
;
8101 bool temp1
= False
;
8102 PyObject
* obj0
= 0 ;
8104 (char *) "cmd",(char *) "flags", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
8109 arg1
= wxString_in_helper(obj0
);
8110 if (arg1
== NULL
) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8115 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8135 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8136 PyObject
*resultobj
;
8137 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8138 int arg2
= (int) -1 ;
8139 wxPyProcess
*result
;
8140 PyObject
* obj0
= 0 ;
8142 (char *) "parent",(char *) "id", NULL
8145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8163 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8164 PyObject
*resultobj
;
8165 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8166 PyObject
*arg2
= (PyObject
*) 0 ;
8167 PyObject
*arg3
= (PyObject
*) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8170 PyObject
* obj2
= 0 ;
8172 (char *) "self",(char *) "self",(char *) "_class", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8181 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8183 wxPyEndAllowThreads(__tstate
);
8184 if (PyErr_Occurred()) SWIG_fail
;
8186 Py_INCREF(Py_None
); resultobj
= Py_None
;
8193 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8194 PyObject
*resultobj
;
8195 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8198 PyObject
* obj0
= 0 ;
8200 (char *) "self",(char *) "pid",(char *) "status", NULL
8203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8207 (arg1
)->base_OnTerminate(arg2
,arg3
);
8209 wxPyEndAllowThreads(__tstate
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 Py_INCREF(Py_None
); resultobj
= Py_None
;
8219 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8222 PyObject
* obj0
= 0 ;
8224 (char *) "self", NULL
8227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 Py_INCREF(Py_None
); resultobj
= Py_None
;
8243 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8244 PyObject
*resultobj
;
8245 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8247 PyObject
* obj0
= 0 ;
8249 (char *) "self", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= (bool)(arg1
)->IsRedirected();
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8261 resultobj
= PyInt_FromLong((long)result
);
8268 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8269 PyObject
*resultobj
;
8270 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8271 PyObject
* obj0
= 0 ;
8273 (char *) "self", NULL
8276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8292 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8293 PyObject
*resultobj
;
8294 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8295 wxInputStream
*result
;
8296 PyObject
* obj0
= 0 ;
8298 (char *) "self", NULL
8301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8311 wxPyInputStream
* _ptr
= NULL
;
8314 _ptr
= new wxPyInputStream(result
);
8316 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8324 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8327 wxInputStream
*result
;
8328 PyObject
* obj0
= 0 ;
8330 (char *) "self", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8343 wxPyInputStream
* _ptr
= NULL
;
8346 _ptr
= new wxPyInputStream(result
);
8348 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8356 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8357 PyObject
*resultobj
;
8358 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8359 wxOutputStream
*result
;
8360 PyObject
* obj0
= 0 ;
8362 (char *) "self", NULL
8365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8369 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8371 wxPyEndAllowThreads(__tstate
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8381 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8384 PyObject
* obj0
= 0 ;
8386 (char *) "self", NULL
8389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 (arg1
)->CloseOutput();
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 Py_INCREF(Py_None
); resultobj
= Py_None
;
8405 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8406 PyObject
*resultobj
;
8407 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8409 PyObject
* obj0
= 0 ;
8411 (char *) "self", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= PyInt_FromLong((long)result
);
8430 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8431 PyObject
*resultobj
;
8432 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8434 PyObject
* obj0
= 0 ;
8436 (char *) "self", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= PyInt_FromLong((long)result
);
8455 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8456 PyObject
*resultobj
;
8457 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8459 PyObject
* obj0
= 0 ;
8461 (char *) "self", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8470 wxPyEndAllowThreads(__tstate
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 resultobj
= PyInt_FromLong((long)result
);
8480 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8482 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8483 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8485 return Py_BuildValue((char *)"");
8487 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
;
8489 int arg1
= (int) 0 ;
8490 int arg2
= (int) 0 ;
8491 int arg3
= (int) 0 ;
8492 wxProcessEvent
*result
;
8494 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8512 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8513 PyObject
*resultobj
;
8514 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8516 PyObject
* obj0
= 0 ;
8518 (char *) "self", NULL
8521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (int)(arg1
)->GetPid();
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= PyInt_FromLong((long)result
);
8537 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8541 PyObject
* obj0
= 0 ;
8543 (char *) "self", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (int)(arg1
)->GetExitCode();
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= PyInt_FromLong((long)result
);
8562 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8563 PyObject
*resultobj
;
8564 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8566 PyObject
* obj0
= 0 ;
8568 (char *) "self",(char *) "m_pid", NULL
8571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8573 if (arg1
) (arg1
)->m_pid
= arg2
;
8575 Py_INCREF(Py_None
); resultobj
= Py_None
;
8582 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8583 PyObject
*resultobj
;
8584 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8586 PyObject
* obj0
= 0 ;
8588 (char *) "self", NULL
8591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8593 result
= (int) ((arg1
)->m_pid
);
8595 resultobj
= PyInt_FromLong((long)result
);
8602 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self",(char *) "m_exitcode", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8613 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8615 Py_INCREF(Py_None
); resultobj
= Py_None
;
8622 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8623 PyObject
*resultobj
;
8624 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8626 PyObject
* obj0
= 0 ;
8628 (char *) "self", NULL
8631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8633 result
= (int) ((arg1
)->m_exitcode
);
8635 resultobj
= PyInt_FromLong((long)result
);
8642 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8645 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8647 return Py_BuildValue((char *)"");
8649 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8650 PyObject
*resultobj
;
8651 wxString
*arg1
= 0 ;
8652 int arg2
= (int) wxEXEC_ASYNC
;
8653 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8655 bool temp1
= False
;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj2
= 0 ;
8659 (char *) "command",(char *) "flags",(char *) "process", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8664 arg1
= wxString_in_helper(obj0
);
8665 if (arg1
== NULL
) SWIG_fail
;
8669 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8675 wxPyEndAllowThreads(__tstate
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8678 resultobj
= PyInt_FromLong((long)result
);
8693 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8694 PyObject
*resultobj
;
8695 int arg1
= (int) wxJOYSTICK1
;
8698 (char *) "joystick", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= (wxJoystick
*)new wxJoystick(arg1
);
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8709 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8716 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
*resultobj
;
8718 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8719 PyObject
* obj0
= 0 ;
8721 (char *) "self", NULL
8724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8730 wxPyEndAllowThreads(__tstate
);
8731 if (PyErr_Occurred()) SWIG_fail
;
8733 Py_INCREF(Py_None
); resultobj
= Py_None
;
8740 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8741 PyObject
*resultobj
;
8742 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8744 PyObject
* obj0
= 0 ;
8746 (char *) "self", NULL
8749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8753 result
= (arg1
)->GetPosition();
8755 wxPyEndAllowThreads(__tstate
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8759 wxPoint
* resultptr
;
8760 resultptr
= new wxPoint((wxPoint
&) result
);
8761 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8769 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8773 PyObject
* obj0
= 0 ;
8775 (char *) "self", NULL
8778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 result
= (int)(arg1
)->GetZPosition();
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 resultobj
= PyInt_FromLong((long)result
);
8794 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8798 PyObject
* obj0
= 0 ;
8800 (char *) "self", NULL
8803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 result
= (int)(arg1
)->GetButtonState();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 resultobj
= PyInt_FromLong((long)result
);
8819 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (int)(arg1
)->GetPOVPosition();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8837 resultobj
= PyInt_FromLong((long)result
);
8844 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8845 PyObject
*resultobj
;
8846 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8848 PyObject
* obj0
= 0 ;
8850 (char *) "self", NULL
8853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8857 result
= (int)(arg1
)->GetPOVCTSPosition();
8859 wxPyEndAllowThreads(__tstate
);
8860 if (PyErr_Occurred()) SWIG_fail
;
8862 resultobj
= PyInt_FromLong((long)result
);
8869 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8873 PyObject
* obj0
= 0 ;
8875 (char *) "self", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (int)(arg1
)->GetRudderPosition();
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= PyInt_FromLong((long)result
);
8894 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8898 PyObject
* obj0
= 0 ;
8900 (char *) "self", NULL
8903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 result
= (int)(arg1
)->GetUPosition();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 resultobj
= PyInt_FromLong((long)result
);
8919 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "self", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 result
= (int)(arg1
)->GetVPosition();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= PyInt_FromLong((long)result
);
8944 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8957 result
= (int)(arg1
)->GetMovementThreshold();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 resultobj
= PyInt_FromLong((long)result
);
8969 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8975 (char *) "self",(char *) "threshold", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8982 (arg1
)->SetMovementThreshold(arg2
);
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 Py_INCREF(Py_None
); resultobj
= Py_None
;
8994 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8998 PyObject
* obj0
= 0 ;
9000 (char *) "self", NULL
9003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9007 result
= (bool)(arg1
)->IsOk();
9009 wxPyEndAllowThreads(__tstate
);
9010 if (PyErr_Occurred()) SWIG_fail
;
9012 resultobj
= PyInt_FromLong((long)result
);
9019 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9025 (char *) "self", NULL
9028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 result
= (int)(arg1
)->GetNumberJoysticks();
9034 wxPyEndAllowThreads(__tstate
);
9035 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= PyInt_FromLong((long)result
);
9044 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9045 PyObject
*resultobj
;
9046 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9048 PyObject
* obj0
= 0 ;
9050 (char *) "self", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (int)(arg1
)->GetManufacturerId();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= PyInt_FromLong((long)result
);
9069 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9073 PyObject
* obj0
= 0 ;
9075 (char *) "self", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 result
= (int)(arg1
)->GetProductId();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 resultobj
= PyInt_FromLong((long)result
);
9094 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9107 result
= (arg1
)->GetProductName();
9109 wxPyEndAllowThreads(__tstate
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9116 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9125 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9129 PyObject
* obj0
= 0 ;
9131 (char *) "self", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (int)(arg1
)->GetXMin();
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= PyInt_FromLong((long)result
);
9150 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (int)(arg1
)->GetYMin();
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9168 resultobj
= PyInt_FromLong((long)result
);
9175 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9176 PyObject
*resultobj
;
9177 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9179 PyObject
* obj0
= 0 ;
9181 (char *) "self", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (int)(arg1
)->GetZMin();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= PyInt_FromLong((long)result
);
9200 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (int)(arg1
)->GetXMax();
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= PyInt_FromLong((long)result
);
9225 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9238 result
= (int)(arg1
)->GetYMax();
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= PyInt_FromLong((long)result
);
9250 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9254 PyObject
* obj0
= 0 ;
9256 (char *) "self", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9263 result
= (int)(arg1
)->GetZMax();
9265 wxPyEndAllowThreads(__tstate
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9268 resultobj
= PyInt_FromLong((long)result
);
9275 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9276 PyObject
*resultobj
;
9277 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9279 PyObject
* obj0
= 0 ;
9281 (char *) "self", NULL
9284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (int)(arg1
)->GetNumberButtons();
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= PyInt_FromLong((long)result
);
9300 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9304 PyObject
* obj0
= 0 ;
9306 (char *) "self", NULL
9309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9313 result
= (int)(arg1
)->GetNumberAxes();
9315 wxPyEndAllowThreads(__tstate
);
9316 if (PyErr_Occurred()) SWIG_fail
;
9318 resultobj
= PyInt_FromLong((long)result
);
9325 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9326 PyObject
*resultobj
;
9327 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9329 PyObject
* obj0
= 0 ;
9331 (char *) "self", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9338 result
= (int)(arg1
)->GetMaxButtons();
9340 wxPyEndAllowThreads(__tstate
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9343 resultobj
= PyInt_FromLong((long)result
);
9350 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9351 PyObject
*resultobj
;
9352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9354 PyObject
* obj0
= 0 ;
9356 (char *) "self", NULL
9359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 result
= (int)(arg1
)->GetMaxAxes();
9365 wxPyEndAllowThreads(__tstate
);
9366 if (PyErr_Occurred()) SWIG_fail
;
9368 resultobj
= PyInt_FromLong((long)result
);
9375 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9376 PyObject
*resultobj
;
9377 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9379 PyObject
* obj0
= 0 ;
9381 (char *) "self", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9388 result
= (int)(arg1
)->GetPollingMin();
9390 wxPyEndAllowThreads(__tstate
);
9391 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= PyInt_FromLong((long)result
);
9400 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9401 PyObject
*resultobj
;
9402 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9413 result
= (int)(arg1
)->GetPollingMax();
9415 wxPyEndAllowThreads(__tstate
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= PyInt_FromLong((long)result
);
9425 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9429 PyObject
* obj0
= 0 ;
9431 (char *) "self", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9438 result
= (int)(arg1
)->GetRudderMin();
9440 wxPyEndAllowThreads(__tstate
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 resultobj
= PyInt_FromLong((long)result
);
9450 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9451 PyObject
*resultobj
;
9452 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9456 (char *) "self", NULL
9459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 result
= (int)(arg1
)->GetRudderMax();
9465 wxPyEndAllowThreads(__tstate
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9468 resultobj
= PyInt_FromLong((long)result
);
9475 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9479 PyObject
* obj0
= 0 ;
9481 (char *) "self", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 result
= (int)(arg1
)->GetUMin();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= PyInt_FromLong((long)result
);
9500 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9504 PyObject
* obj0
= 0 ;
9506 (char *) "self", NULL
9509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9513 result
= (int)(arg1
)->GetUMax();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 resultobj
= PyInt_FromLong((long)result
);
9525 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "self", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (int)(arg1
)->GetVMin();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= PyInt_FromLong((long)result
);
9550 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "self", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9563 result
= (int)(arg1
)->GetVMax();
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 resultobj
= PyInt_FromLong((long)result
);
9575 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->HasRudder();
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 resultobj
= PyInt_FromLong((long)result
);
9600 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9601 PyObject
*resultobj
;
9602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9604 PyObject
* obj0
= 0 ;
9606 (char *) "self", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (bool)(arg1
)->HasZ();
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= PyInt_FromLong((long)result
);
9625 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9626 PyObject
*resultobj
;
9627 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9629 PyObject
* obj0
= 0 ;
9631 (char *) "self", NULL
9634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->HasU();
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= PyInt_FromLong((long)result
);
9650 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9654 PyObject
* obj0
= 0 ;
9656 (char *) "self", NULL
9659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (bool)(arg1
)->HasV();
9665 wxPyEndAllowThreads(__tstate
);
9666 if (PyErr_Occurred()) SWIG_fail
;
9668 resultobj
= PyInt_FromLong((long)result
);
9675 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9676 PyObject
*resultobj
;
9677 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9679 PyObject
* obj0
= 0 ;
9681 (char *) "self", NULL
9684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)(arg1
)->HasPOV();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= PyInt_FromLong((long)result
);
9700 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9701 PyObject
*resultobj
;
9702 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9704 PyObject
* obj0
= 0 ;
9706 (char *) "self", NULL
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (bool)(arg1
)->HasPOV4Dir();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= PyInt_FromLong((long)result
);
9725 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (bool)(arg1
)->HasPOVCTS();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 resultobj
= PyInt_FromLong((long)result
);
9750 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9753 wxWindow
*arg2
= (wxWindow
*) 0 ;
9754 int arg3
= (int) 0 ;
9756 PyObject
* obj0
= 0 ;
9757 PyObject
* obj1
= 0 ;
9759 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 resultobj
= PyInt_FromLong((long)result
);
9779 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)(arg1
)->ReleaseCapture();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= PyInt_FromLong((long)result
);
9804 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9807 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9809 return Py_BuildValue((char *)"");
9811 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9814 wxPoint
*arg2
= (wxPoint
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9816 PyObject
* obj1
= 0 ;
9818 (char *) "self",(char *) "m_pos", NULL
9821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9824 if (arg1
) (arg1
)->m_pos
= *arg2
;
9826 Py_INCREF(Py_None
); resultobj
= Py_None
;
9833 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
;
9835 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "self", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9844 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9846 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9853 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9857 PyObject
* obj0
= 0 ;
9859 (char *) "self",(char *) "m_zPosition", NULL
9862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9864 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9866 Py_INCREF(Py_None
); resultobj
= Py_None
;
9873 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9884 result
= (int) ((arg1
)->m_zPosition
);
9886 resultobj
= PyInt_FromLong((long)result
);
9893 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self",(char *) "m_buttonChange", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9904 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9906 Py_INCREF(Py_None
); resultobj
= Py_None
;
9913 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9917 PyObject
* obj0
= 0 ;
9919 (char *) "self", NULL
9922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9924 result
= (int) ((arg1
)->m_buttonChange
);
9926 resultobj
= PyInt_FromLong((long)result
);
9933 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self",(char *) "m_buttonState", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9944 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9946 Py_INCREF(Py_None
); resultobj
= Py_None
;
9953 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9964 result
= (int) ((arg1
)->m_buttonState
);
9966 resultobj
= PyInt_FromLong((long)result
);
9973 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self",(char *) "m_joyStick", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9984 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9986 Py_INCREF(Py_None
); resultobj
= Py_None
;
9993 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
;
9995 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9997 PyObject
* obj0
= 0 ;
9999 (char *) "self", NULL
10002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10004 result
= (int) ((arg1
)->m_joyStick
);
10006 resultobj
= PyInt_FromLong((long)result
);
10013 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10016 int arg2
= (int) 0 ;
10017 int arg3
= (int) wxJOYSTICK1
;
10018 int arg4
= (int) 0 ;
10019 wxJoystickEvent
*result
;
10020 char *kwnames
[] = {
10021 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
10039 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10058 wxPoint
* resultptr
;
10059 resultptr
= new wxPoint((wxPoint
&) result
);
10060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
10068 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10069 PyObject
*resultobj
;
10070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10072 PyObject
* obj0
= 0 ;
10073 char *kwnames
[] = {
10074 (char *) "self", NULL
10077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= PyInt_FromLong((long)result
);
10093 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 resultobj
= PyInt_FromLong((long)result
);
10118 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10131 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10133 wxPyEndAllowThreads(__tstate
);
10134 if (PyErr_Occurred()) SWIG_fail
;
10136 resultobj
= PyInt_FromLong((long)result
);
10143 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
;
10145 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10147 PyObject
* obj0
= 0 ;
10148 char *kwnames
[] = {
10149 (char *) "self", NULL
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= PyInt_FromLong((long)result
);
10168 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self",(char *) "stick", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 (arg1
)->SetJoystick(arg2
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 Py_INCREF(Py_None
); resultobj
= Py_None
;
10193 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self",(char *) "state", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetButtonState(arg2
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self",(char *) "change", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 (arg1
)->SetButtonChange(arg2
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 Py_INCREF(Py_None
); resultobj
= Py_None
;
10243 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10246 wxPoint
*arg2
= 0 ;
10248 PyObject
* obj0
= 0 ;
10249 PyObject
* obj1
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self",(char *) "pos", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10258 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 Py_INCREF(Py_None
); resultobj
= Py_None
;
10274 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self",(char *) "zPos", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 (arg1
)->SetZPosition(arg2
);
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 Py_INCREF(Py_None
); resultobj
= Py_None
;
10299 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10300 PyObject
*resultobj
;
10301 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 char *kwnames
[] = {
10305 (char *) "self", NULL
10308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= PyInt_FromLong((long)result
);
10324 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= PyInt_FromLong((long)result
);
10349 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= PyInt_FromLong((long)result
);
10374 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10377 int arg2
= (int) wxJOY_BUTTON_ANY
;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "but", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= PyInt_FromLong((long)result
);
10400 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10403 int arg2
= (int) wxJOY_BUTTON_ANY
;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self",(char *) "but", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= PyInt_FromLong((long)result
);
10426 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10429 int arg2
= (int) wxJOY_BUTTON_ANY
;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self",(char *) "but", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10440 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10445 resultobj
= PyInt_FromLong((long)result
);
10452 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10455 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10457 return Py_BuildValue((char *)"");
10459 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 wxString
*arg1
= 0 ;
10462 bool arg2
= (bool) False
;
10464 bool temp1
= False
;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "fileName",(char *) "isResource", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10473 arg1
= wxString_in_helper(obj0
);
10474 if (arg1
== NULL
) SWIG_fail
;
10478 arg2
= PyInt_AsLong(obj1
) ? true : false;
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10503 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10504 PyObject
*resultobj
;
10505 wxString
*arg1
= 0 ;
10507 bool temp1
= False
;
10508 PyObject
* obj0
= 0 ;
10509 char *kwnames
[] = {
10510 (char *) "data", NULL
10513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10515 arg1
= wxString_in_helper(obj0
);
10516 if (arg1
== NULL
) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10541 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxWave
*arg1
= (wxWave
*) 0 ;
10544 PyObject
* obj0
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxWave
*arg1
= (wxWave
*) 0 ;
10569 PyObject
* obj0
= 0 ;
10570 char *kwnames
[] = {
10571 (char *) "self", NULL
10574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10580 wxPyEndAllowThreads(__tstate
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= PyInt_FromLong((long)result
);
10590 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxWave
*arg1
= (wxWave
*) 0 ;
10593 bool arg2
= (bool) True
;
10594 bool arg3
= (bool) False
;
10596 PyObject
* obj0
= 0 ;
10597 PyObject
* obj1
= 0 ;
10598 PyObject
* obj2
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "async",(char *) "looped", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10606 arg2
= PyInt_AsLong(obj1
) ? true : false;
10607 if (PyErr_Occurred()) SWIG_fail
;
10610 arg3
= PyInt_AsLong(obj2
) ? true : false;
10611 if (PyErr_Occurred()) SWIG_fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= PyInt_FromLong((long)result
);
10627 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10630 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10632 return Py_BuildValue((char *)"");
10634 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10635 PyObject
*resultobj
;
10636 wxString
*arg1
= 0 ;
10637 wxString
*arg2
= 0 ;
10638 wxString
*arg3
= 0 ;
10639 wxString
*arg4
= 0 ;
10640 wxFileTypeInfo
*result
;
10641 bool temp1
= False
;
10642 bool temp2
= False
;
10643 bool temp3
= False
;
10644 bool temp4
= False
;
10645 PyObject
* obj0
= 0 ;
10646 PyObject
* obj1
= 0 ;
10647 PyObject
* obj2
= 0 ;
10648 PyObject
* obj3
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10655 arg1
= wxString_in_helper(obj0
);
10656 if (arg1
== NULL
) SWIG_fail
;
10660 arg2
= wxString_in_helper(obj1
);
10661 if (arg2
== NULL
) SWIG_fail
;
10665 arg3
= wxString_in_helper(obj2
);
10666 if (arg3
== NULL
) SWIG_fail
;
10670 arg4
= wxString_in_helper(obj3
);
10671 if (arg4
== NULL
) SWIG_fail
;
10675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10676 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10678 wxPyEndAllowThreads(__tstate
);
10679 if (PyErr_Occurred()) SWIG_fail
;
10681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10720 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxArrayString
*arg1
= 0 ;
10723 wxFileTypeInfo
*result
;
10724 PyObject
* obj0
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "sArray", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10731 if (! PySequence_Check(obj0
)) {
10732 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10735 arg1
= new wxArrayString
;
10736 int i
, len
=PySequence_Length(obj0
);
10737 for (i
=0; i
<len
; i
++) {
10738 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10740 PyObject
* str
= PyObject_Unicode(item
);
10742 PyObject
* str
= PyObject_Str(item
);
10744 arg1
->Add(Py2wxString(str
));
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10758 if (arg1
) delete arg1
;
10763 if (arg1
) delete arg1
;
10769 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10770 PyObject
*resultobj
;
10771 wxFileTypeInfo
*result
;
10772 char *kwnames
[] = {
10776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10791 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10792 PyObject
*resultobj
;
10793 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10795 PyObject
* obj0
= 0 ;
10796 char *kwnames
[] = {
10797 (char *) "self", NULL
10800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= PyInt_FromLong((long)result
);
10816 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10819 wxString
*arg2
= 0 ;
10820 int arg3
= (int) 0 ;
10821 bool temp2
= False
;
10822 PyObject
* obj0
= 0 ;
10823 PyObject
* obj1
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10831 arg2
= wxString_in_helper(obj1
);
10832 if (arg2
== NULL
) SWIG_fail
;
10836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10837 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10839 wxPyEndAllowThreads(__tstate
);
10840 if (PyErr_Occurred()) SWIG_fail
;
10842 Py_INCREF(Py_None
); resultobj
= Py_None
;
10857 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
;
10859 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10860 wxString
*arg2
= 0 ;
10861 bool temp2
= False
;
10862 PyObject
* obj0
= 0 ;
10863 PyObject
* obj1
= 0 ;
10864 char *kwnames
[] = {
10865 (char *) "self",(char *) "shortDesc", NULL
10868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10871 arg2
= wxString_in_helper(obj1
);
10872 if (arg2
== NULL
) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 Py_INCREF(Py_None
); resultobj
= Py_None
;
10897 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10898 PyObject
*resultobj
;
10899 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10901 PyObject
* obj0
= 0 ;
10902 char *kwnames
[] = {
10903 (char *) "self", NULL
10906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10912 result
= (wxString
*) &_result_ref
;
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10922 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10931 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10946 result
= (wxString
*) &_result_ref
;
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10956 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10965 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "self", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10980 result
= (wxString
*) &_result_ref
;
10983 wxPyEndAllowThreads(__tstate
);
10984 if (PyErr_Occurred()) SWIG_fail
;
10988 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
10990 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
10999 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11013 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
11014 result
= (wxString
*) &_result_ref
;
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11024 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11033 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11034 PyObject
*resultobj
;
11035 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11037 PyObject
* obj0
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
11048 result
= (wxString
*) &_result_ref
;
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11058 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11067 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11070 wxArrayString
*result
;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11081 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
11082 result
= (wxArrayString
*) &_result_ref
;
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11089 resultobj
= wxArrayString2PyList_helper(*result
);
11097 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11098 PyObject
*resultobj
;
11099 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11101 PyObject
* obj0
= 0 ;
11102 char *kwnames
[] = {
11103 (char *) "self", NULL
11106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
11107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11110 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
11112 wxPyEndAllowThreads(__tstate
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 resultobj
= PyInt_FromLong((long)result
);
11122 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11123 PyObject
*resultobj
;
11124 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11126 PyObject
* obj0
= 0 ;
11127 char *kwnames
[] = {
11128 (char *) "self", NULL
11131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
11132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
11137 result
= (wxString
*) &_result_ref
;
11140 wxPyEndAllowThreads(__tstate
);
11141 if (PyErr_Occurred()) SWIG_fail
;
11145 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
11147 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
11156 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11160 PyObject
* obj0
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "self", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11169 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= PyInt_FromLong((long)result
);
11181 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11184 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11186 return Py_BuildValue((char *)"");
11188 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxFileTypeInfo
*arg1
= 0 ;
11191 wxFileType
*result
;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "ftInfo", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11199 if (arg1
== NULL
) {
11200 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11204 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11206 wxPyEndAllowThreads(__tstate
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11216 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11217 PyObject
*resultobj
;
11218 wxFileType
*arg1
= (wxFileType
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 Py_INCREF(Py_None
); resultobj
= Py_None
;
11240 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxFileType
*arg1
= (wxFileType
*) 0 ;
11244 PyObject
* obj0
= 0 ;
11245 char *kwnames
[] = {
11246 (char *) "self", NULL
11249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11253 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11255 wxPyEndAllowThreads(__tstate
);
11256 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= result
;
11265 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11266 PyObject
*resultobj
;
11267 wxFileType
*arg1
= (wxFileType
*) 0 ;
11269 PyObject
* obj0
= 0 ;
11270 char *kwnames
[] = {
11271 (char *) "self", NULL
11274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= result
;
11290 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxFileType
*arg1
= (wxFileType
*) 0 ;
11294 PyObject
* obj0
= 0 ;
11295 char *kwnames
[] = {
11296 (char *) "self", NULL
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11303 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= result
;
11315 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11316 PyObject
*resultobj
;
11317 wxFileType
*arg1
= (wxFileType
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11328 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11340 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
;
11342 wxFileType
*arg1
= (wxFileType
*) 0 ;
11344 PyObject
* obj0
= 0 ;
11345 char *kwnames
[] = {
11346 (char *) "self", NULL
11349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= result
;
11365 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxFileType
*arg1
= (wxFileType
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= result
;
11390 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
;
11392 wxFileType
*arg1
= (wxFileType
*) 0 ;
11393 wxString
*arg2
= 0 ;
11394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11397 bool temp2
= False
;
11398 bool temp3
= False
;
11399 PyObject
* obj0
= 0 ;
11400 PyObject
* obj1
= 0 ;
11401 PyObject
* obj2
= 0 ;
11402 char *kwnames
[] = {
11403 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11409 arg2
= wxString_in_helper(obj1
);
11410 if (arg2
== NULL
) SWIG_fail
;
11415 arg3
= wxString_in_helper(obj2
);
11416 if (arg3
== NULL
) SWIG_fail
;
11421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11422 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11424 wxPyEndAllowThreads(__tstate
);
11425 if (PyErr_Occurred()) SWIG_fail
;
11427 resultobj
= result
;
11450 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxFileType
*arg1
= (wxFileType
*) 0 ;
11453 wxString
*arg2
= 0 ;
11454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11457 bool temp2
= False
;
11458 bool temp3
= False
;
11459 PyObject
* obj0
= 0 ;
11460 PyObject
* obj1
= 0 ;
11461 PyObject
* obj2
= 0 ;
11462 char *kwnames
[] = {
11463 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11469 arg2
= wxString_in_helper(obj1
);
11470 if (arg2
== NULL
) SWIG_fail
;
11475 arg3
= wxString_in_helper(obj2
);
11476 if (arg3
== NULL
) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
;
11510 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11511 PyObject
*resultobj
;
11512 wxFileType
*arg1
= (wxFileType
*) 0 ;
11513 wxString
*arg2
= 0 ;
11514 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11515 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11517 bool temp2
= False
;
11518 bool temp3
= False
;
11519 PyObject
* obj0
= 0 ;
11520 PyObject
* obj1
= 0 ;
11521 PyObject
* obj2
= 0 ;
11522 char *kwnames
[] = {
11523 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11529 arg2
= wxString_in_helper(obj1
);
11530 if (arg2
== NULL
) SWIG_fail
;
11535 arg3
= wxString_in_helper(obj2
);
11536 if (arg3
== NULL
) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= result
;
11570 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11571 PyObject
*resultobj
;
11572 wxFileType
*arg1
= (wxFileType
*) 0 ;
11573 wxString
*arg2
= 0 ;
11574 wxString
*arg3
= 0 ;
11575 bool arg4
= (bool) True
;
11577 bool temp2
= False
;
11578 bool temp3
= False
;
11579 PyObject
* obj0
= 0 ;
11580 PyObject
* obj1
= 0 ;
11581 PyObject
* obj2
= 0 ;
11582 PyObject
* obj3
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11590 arg2
= wxString_in_helper(obj1
);
11591 if (arg2
== NULL
) SWIG_fail
;
11595 arg3
= wxString_in_helper(obj2
);
11596 if (arg3
== NULL
) SWIG_fail
;
11600 arg4
= PyInt_AsLong(obj3
) ? true : false;
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= PyInt_FromLong((long)result
);
11633 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxFileType
*arg1
= (wxFileType
*) 0 ;
11636 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11637 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11638 int arg3
= (int) 0 ;
11640 bool temp2
= False
;
11641 PyObject
* obj0
= 0 ;
11642 PyObject
* obj1
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self",(char *) "cmd",(char *) "index", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11651 arg2
= wxString_in_helper(obj1
);
11652 if (arg2
== NULL
) SWIG_fail
;
11657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11658 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= PyInt_FromLong((long)result
);
11678 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxFileType
*arg1
= (wxFileType
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11691 result
= (bool)(arg1
)->Unassociate();
11693 wxPyEndAllowThreads(__tstate
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 resultobj
= PyInt_FromLong((long)result
);
11703 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11704 PyObject
*resultobj
;
11705 wxString
*arg1
= 0 ;
11706 wxString
*arg2
= 0 ;
11707 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11708 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11710 bool temp1
= False
;
11711 bool temp2
= False
;
11712 bool temp3
= False
;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 PyObject
* obj2
= 0 ;
11716 char *kwnames
[] = {
11717 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11722 arg1
= wxString_in_helper(obj0
);
11723 if (arg1
== NULL
) SWIG_fail
;
11727 arg2
= wxString_in_helper(obj1
);
11728 if (arg2
== NULL
) SWIG_fail
;
11733 arg3
= wxString_in_helper(obj2
);
11734 if (arg3
== NULL
) SWIG_fail
;
11739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11740 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11742 wxPyEndAllowThreads(__tstate
);
11743 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11749 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11782 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11785 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11787 return Py_BuildValue((char *)"");
11789 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11790 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11795 static PyObject
*_wrap_TheMimeTypesManager_get() {
11798 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11803 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11804 PyObject
*resultobj
;
11805 wxString
*arg1
= 0 ;
11806 wxString
*arg2
= 0 ;
11808 bool temp1
= False
;
11809 bool temp2
= False
;
11810 PyObject
* obj0
= 0 ;
11811 PyObject
* obj1
= 0 ;
11812 char *kwnames
[] = {
11813 (char *) "mimeType",(char *) "wildcard", NULL
11816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11818 arg1
= wxString_in_helper(obj0
);
11819 if (arg1
== NULL
) SWIG_fail
;
11823 arg2
= wxString_in_helper(obj1
);
11824 if (arg2
== NULL
) SWIG_fail
;
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11834 resultobj
= PyInt_FromLong((long)result
);
11857 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11858 PyObject
*resultobj
;
11859 wxMimeTypesManager
*result
;
11860 char *kwnames
[] = {
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11867 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11869 wxPyEndAllowThreads(__tstate
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11872 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11879 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11880 PyObject
*resultobj
;
11881 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11882 int arg2
= (int) wxMAILCAP_ALL
;
11883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11885 bool temp3
= False
;
11886 PyObject
* obj0
= 0 ;
11887 PyObject
* obj2
= 0 ;
11888 char *kwnames
[] = {
11889 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11896 arg3
= wxString_in_helper(obj2
);
11897 if (arg3
== NULL
) SWIG_fail
;
11902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11903 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 Py_INCREF(Py_None
); resultobj
= Py_None
;
11923 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 char *kwnames
[] = {
11928 (char *) "self", NULL
11931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11935 (arg1
)->ClearData();
11937 wxPyEndAllowThreads(__tstate
);
11938 if (PyErr_Occurred()) SWIG_fail
;
11940 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11950 wxString
*arg2
= 0 ;
11951 wxFileType
*result
;
11952 bool temp2
= False
;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "ext", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 arg2
= wxString_in_helper(obj1
);
11963 if (arg2
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11988 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11991 wxString
*arg2
= 0 ;
11992 wxFileType
*result
;
11993 bool temp2
= False
;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "mimeType", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12003 arg2
= wxString_in_helper(obj1
);
12004 if (arg2
== NULL
) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12029 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12032 wxString
*arg2
= 0 ;
12033 bool arg3
= (bool) False
;
12035 bool temp2
= False
;
12036 PyObject
* obj0
= 0 ;
12037 PyObject
* obj1
= 0 ;
12038 PyObject
* obj2
= 0 ;
12039 char *kwnames
[] = {
12040 (char *) "self",(char *) "filename",(char *) "fallback", NULL
12043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12046 arg2
= wxString_in_helper(obj1
);
12047 if (arg2
== NULL
) SWIG_fail
;
12051 arg3
= PyInt_AsLong(obj2
) ? true : false;
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 resultobj
= PyInt_FromLong((long)result
);
12076 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
;
12078 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12079 wxString
*arg2
= 0 ;
12081 bool temp2
= False
;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self",(char *) "filename", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12091 arg2
= wxString_in_helper(obj1
);
12092 if (arg2
== NULL
) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= PyInt_FromLong((long)result
);
12117 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= result
;
12142 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12145 wxFileTypeInfo
*arg2
= 0 ;
12146 PyObject
* obj0
= 0 ;
12147 PyObject
* obj1
= 0 ;
12148 char *kwnames
[] = {
12149 (char *) "self",(char *) "ft", NULL
12152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12155 if (arg2
== NULL
) {
12156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12162 wxPyEndAllowThreads(__tstate
);
12163 if (PyErr_Occurred()) SWIG_fail
;
12165 Py_INCREF(Py_None
); resultobj
= Py_None
;
12172 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12175 wxFileTypeInfo
*arg2
= 0 ;
12176 wxFileType
*result
;
12177 PyObject
* obj0
= 0 ;
12178 PyObject
* obj1
= 0 ;
12179 char *kwnames
[] = {
12180 (char *) "self",(char *) "ftInfo", NULL
12183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12185 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12186 if (arg2
== NULL
) {
12187 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12191 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12193 wxPyEndAllowThreads(__tstate
);
12194 if (PyErr_Occurred()) SWIG_fail
;
12196 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12203 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12204 PyObject
*resultobj
;
12205 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12206 wxFileType
*arg2
= (wxFileType
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "ft", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)(arg1
)->Unassociate(arg2
);
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= PyInt_FromLong((long)result
);
12231 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12234 PyObject
* obj0
= 0 ;
12235 char *kwnames
[] = {
12236 (char *) "self", NULL
12239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 wxPyEndAllowThreads(__tstate
);
12246 if (PyErr_Occurred()) SWIG_fail
;
12248 Py_INCREF(Py_None
); resultobj
= Py_None
;
12255 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12258 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12260 return Py_BuildValue((char *)"");
12262 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12263 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12268 static PyObject
*_wrap_ART_TOOLBAR_get() {
12273 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12275 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12282 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12283 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12288 static PyObject
*_wrap_ART_MENU_get() {
12293 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12295 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12302 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12303 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12308 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12313 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12315 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12322 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12323 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12328 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12333 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12335 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12342 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12343 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12348 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12353 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12355 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12362 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12363 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12368 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12373 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12375 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12382 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12383 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12388 static PyObject
*_wrap_ART_OTHER_get() {
12393 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12395 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12402 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12403 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12408 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12413 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12415 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12422 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12423 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12428 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12433 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12435 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12442 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12443 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12448 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12453 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12455 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12462 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12463 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12468 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12473 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12475 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12482 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12483 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12488 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12493 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12495 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12502 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12503 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12508 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12513 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12515 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12522 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12523 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12528 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12533 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12535 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12542 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12543 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12548 static PyObject
*_wrap_ART_GO_BACK_get() {
12553 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12555 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12562 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12563 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12568 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12573 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12575 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12582 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12583 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12588 static PyObject
*_wrap_ART_GO_UP_get() {
12593 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12595 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12602 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12603 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12608 static PyObject
*_wrap_ART_GO_DOWN_get() {
12613 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12615 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12622 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12623 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12628 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12633 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12635 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12642 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12643 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12648 static PyObject
*_wrap_ART_GO_HOME_get() {
12653 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12655 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12662 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12663 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12668 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12673 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12675 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12682 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12683 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12688 static PyObject
*_wrap_ART_PRINT_get() {
12693 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12695 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12702 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12703 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12708 static PyObject
*_wrap_ART_HELP_get() {
12713 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12715 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12722 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12723 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12728 static PyObject
*_wrap_ART_TIP_get() {
12733 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12735 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12742 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12743 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12748 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12753 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12755 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12762 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12763 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12768 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12773 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12775 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12782 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12783 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12788 static PyObject
*_wrap_ART_NEW_DIR_get() {
12793 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12795 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12802 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12803 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12808 static PyObject
*_wrap_ART_FOLDER_get() {
12813 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12815 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12822 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12823 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12828 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12833 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12835 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12842 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12843 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12848 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12853 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12855 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12862 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12863 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12868 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12873 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12875 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12882 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12883 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12888 static PyObject
*_wrap_ART_TICK_MARK_get() {
12893 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12895 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12902 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12903 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12908 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12913 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12915 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12922 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12923 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12928 static PyObject
*_wrap_ART_ERROR_get() {
12933 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12935 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12942 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12943 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12948 static PyObject
*_wrap_ART_QUESTION_get() {
12953 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12955 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12962 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12963 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12968 static PyObject
*_wrap_ART_WARNING_get() {
12973 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12975 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12982 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12983 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12988 static PyObject
*_wrap_ART_INFORMATION_get() {
12993 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12995 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
13002 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
13003 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
13008 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
13013 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13015 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
13022 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13023 PyObject
*resultobj
;
13024 wxPyArtProvider
*result
;
13025 char *kwnames
[] = {
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (wxPyArtProvider
*)new wxPyArtProvider();
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
13044 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13047 PyObject
*arg2
= (PyObject
*) 0 ;
13048 PyObject
*arg3
= (PyObject
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 PyObject
* obj1
= 0 ;
13051 PyObject
* obj2
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self",(char *) "self",(char *) "_class", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13064 wxPyEndAllowThreads(__tstate
);
13065 if (PyErr_Occurred()) SWIG_fail
;
13067 Py_INCREF(Py_None
); resultobj
= Py_None
;
13074 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13075 PyObject
*resultobj
;
13076 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "provider", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13086 wxPyArtProvider::PushProvider(arg1
);
13088 wxPyEndAllowThreads(__tstate
);
13089 if (PyErr_Occurred()) SWIG_fail
;
13091 Py_INCREF(Py_None
); resultobj
= Py_None
;
13098 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13099 PyObject
*resultobj
;
13101 char *kwnames
[] = {
13105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
13107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13108 result
= (bool)wxPyArtProvider::PopProvider();
13110 wxPyEndAllowThreads(__tstate
);
13111 if (PyErr_Occurred()) SWIG_fail
;
13113 resultobj
= PyInt_FromLong((long)result
);
13120 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13121 PyObject
*resultobj
;
13122 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13124 PyObject
* obj0
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "provider", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= PyInt_FromLong((long)result
);
13145 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
;
13147 wxString
*arg1
= 0 ;
13148 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13149 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13150 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13151 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13153 bool temp1
= False
;
13154 bool temp2
= False
;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 PyObject
* obj2
= 0 ;
13159 char *kwnames
[] = {
13160 (char *) "id",(char *) "client",(char *) "size", NULL
13163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13165 arg1
= wxString_in_helper(obj0
);
13166 if (arg1
== NULL
) SWIG_fail
;
13171 arg2
= wxString_in_helper(obj1
);
13172 if (arg2
== NULL
) SWIG_fail
;
13179 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13184 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13186 wxPyEndAllowThreads(__tstate
);
13187 if (PyErr_Occurred()) SWIG_fail
;
13190 wxBitmap
* resultptr
;
13191 resultptr
= new wxBitmap((wxBitmap
&) result
);
13192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13216 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxString
*arg1
= 0 ;
13219 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13220 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13221 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13222 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13224 bool temp1
= False
;
13225 bool temp2
= False
;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 PyObject
* obj2
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "id",(char *) "client",(char *) "size", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13236 arg1
= wxString_in_helper(obj0
);
13237 if (arg1
== NULL
) SWIG_fail
;
13242 arg2
= wxString_in_helper(obj1
);
13243 if (arg2
== NULL
) SWIG_fail
;
13250 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13255 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13257 wxPyEndAllowThreads(__tstate
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13261 wxIcon
* resultptr
;
13262 resultptr
= new wxIcon((wxIcon
&) result
);
13263 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13287 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13299 wxPyArtProvider_Destroy(arg1
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 Py_INCREF(Py_None
); resultobj
= Py_None
;
13311 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13314 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13316 return Py_BuildValue((char *)"");
13318 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 Py_INCREF(Py_None
); resultobj
= Py_None
;
13342 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13345 wxConfigBase
*result
;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "pConfig", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13367 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 bool arg1
= (bool) True
;
13370 wxConfigBase
*result
;
13371 PyObject
* obj0
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "createOnDemand", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13378 arg1
= PyInt_AsLong(obj0
) ? true : false;
13379 if (PyErr_Occurred()) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13395 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxConfigBase
*result
;
13398 char *kwnames
[] = {
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 result
= (wxConfigBase
*)wxConfigBase::Create();
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13417 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 char *kwnames
[] = {
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 wxConfigBase::DontCreateOnDemand();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 Py_INCREF(Py_None
); resultobj
= Py_None
;
13438 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13441 wxString
*arg2
= 0 ;
13442 bool temp2
= False
;
13443 PyObject
* obj0
= 0 ;
13444 PyObject
* obj1
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "strPath", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13452 arg2
= wxString_in_helper(obj1
);
13453 if (arg2
== NULL
) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 (arg1
)->SetPath((wxString
const &)*arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 Py_INCREF(Py_None
); resultobj
= Py_None
;
13478 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13493 result
= (wxString
*) &_result_ref
;
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
13503 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
13512 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
;
13514 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13516 PyObject
* obj0
= 0 ;
13517 char *kwnames
[] = {
13518 (char *) "self", NULL
13521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= result
;
13537 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "index", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= result
;
13563 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 char *kwnames
[] = {
13569 (char *) "self", NULL
13572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13581 resultobj
= result
;
13588 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13589 PyObject
*resultobj
;
13590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self",(char *) "index", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= result
;
13614 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13617 bool arg2
= (bool) False
;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self",(char *) "bRecursive", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13628 arg2
= PyInt_AsLong(obj1
) ? true : false;
13629 if (PyErr_Occurred()) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= PyInt_FromLong((long)result
);
13645 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13648 bool arg2
= (bool) False
;
13650 PyObject
* obj0
= 0 ;
13651 PyObject
* obj1
= 0 ;
13652 char *kwnames
[] = {
13653 (char *) "self",(char *) "bRecursive", NULL
13656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13659 arg2
= PyInt_AsLong(obj1
) ? true : false;
13660 if (PyErr_Occurred()) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= PyInt_FromLong((long)result
);
13676 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13679 wxString
*arg2
= 0 ;
13681 bool temp2
= False
;
13682 PyObject
* obj0
= 0 ;
13683 PyObject
* obj1
= 0 ;
13684 char *kwnames
[] = {
13685 (char *) "self",(char *) "strName", NULL
13688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13691 arg2
= wxString_in_helper(obj1
);
13692 if (arg2
== NULL
) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= PyInt_FromLong((long)result
);
13717 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13718 PyObject
*resultobj
;
13719 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13720 wxString
*arg2
= 0 ;
13722 bool temp2
= False
;
13723 PyObject
* obj0
= 0 ;
13724 PyObject
* obj1
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self",(char *) "strName", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13732 arg2
= wxString_in_helper(obj1
);
13733 if (arg2
== NULL
) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= PyInt_FromLong((long)result
);
13758 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13761 wxString
*arg2
= 0 ;
13763 bool temp2
= False
;
13764 PyObject
* obj0
= 0 ;
13765 PyObject
* obj1
= 0 ;
13766 char *kwnames
[] = {
13767 (char *) "self",(char *) "strName", NULL
13770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13773 arg2
= wxString_in_helper(obj1
);
13774 if (arg2
== NULL
) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13784 resultobj
= PyInt_FromLong((long)result
);
13799 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13800 PyObject
*resultobj
;
13801 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13802 wxString
*arg2
= 0 ;
13804 bool temp2
= False
;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 char *kwnames
[] = {
13808 (char *) "self",(char *) "name", NULL
13811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13814 arg2
= wxString_in_helper(obj1
);
13815 if (arg2
== NULL
) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= PyInt_FromLong((long)result
);
13840 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13841 PyObject
*resultobj
;
13842 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13843 wxString
*arg2
= 0 ;
13844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13847 bool temp2
= False
;
13848 bool temp3
= False
;
13849 PyObject
* obj0
= 0 ;
13850 PyObject
* obj1
= 0 ;
13851 PyObject
* obj2
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13859 arg2
= wxString_in_helper(obj1
);
13860 if (arg2
== NULL
) SWIG_fail
;
13865 arg3
= wxString_in_helper(obj2
);
13866 if (arg3
== NULL
) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13881 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13906 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13907 PyObject
*resultobj
;
13908 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13909 wxString
*arg2
= 0 ;
13910 long arg3
= (long) 0 ;
13912 bool temp2
= False
;
13913 PyObject
* obj0
= 0 ;
13914 PyObject
* obj1
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13922 arg2
= wxString_in_helper(obj1
);
13923 if (arg2
== NULL
) SWIG_fail
;
13927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13928 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13930 wxPyEndAllowThreads(__tstate
);
13931 if (PyErr_Occurred()) SWIG_fail
;
13933 resultobj
= PyInt_FromLong((long)result
);
13948 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13951 wxString
*arg2
= 0 ;
13952 double arg3
= (double) 0.0 ;
13954 bool temp2
= False
;
13955 PyObject
* obj0
= 0 ;
13956 PyObject
* obj1
= 0 ;
13957 char *kwnames
[] = {
13958 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13964 arg2
= wxString_in_helper(obj1
);
13965 if (arg2
== NULL
) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= PyFloat_FromDouble(result
);
13990 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13993 wxString
*arg2
= 0 ;
13994 bool arg3
= (bool) False
;
13996 bool temp2
= False
;
13997 PyObject
* obj0
= 0 ;
13998 PyObject
* obj1
= 0 ;
13999 PyObject
* obj2
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14007 arg2
= wxString_in_helper(obj1
);
14008 if (arg2
== NULL
) SWIG_fail
;
14012 arg3
= PyInt_AsLong(obj2
) ? true : false;
14013 if (PyErr_Occurred()) SWIG_fail
;
14016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14017 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= PyInt_FromLong((long)result
);
14037 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14038 PyObject
*resultobj
;
14039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14040 wxString
*arg2
= 0 ;
14041 wxString
*arg3
= 0 ;
14043 bool temp2
= False
;
14044 bool temp3
= False
;
14045 PyObject
* obj0
= 0 ;
14046 PyObject
* obj1
= 0 ;
14047 PyObject
* obj2
= 0 ;
14048 char *kwnames
[] = {
14049 (char *) "self",(char *) "key",(char *) "value", NULL
14052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14055 arg2
= wxString_in_helper(obj1
);
14056 if (arg2
== NULL
) SWIG_fail
;
14060 arg3
= wxString_in_helper(obj2
);
14061 if (arg3
== NULL
) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= PyInt_FromLong((long)result
);
14094 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14097 wxString
*arg2
= 0 ;
14100 bool temp2
= False
;
14101 PyObject
* obj0
= 0 ;
14102 PyObject
* obj1
= 0 ;
14103 char *kwnames
[] = {
14104 (char *) "self",(char *) "key",(char *) "value", NULL
14107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14110 arg2
= wxString_in_helper(obj1
);
14111 if (arg2
== NULL
) SWIG_fail
;
14115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14116 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14118 wxPyEndAllowThreads(__tstate
);
14119 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= PyInt_FromLong((long)result
);
14136 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14137 PyObject
*resultobj
;
14138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14139 wxString
*arg2
= 0 ;
14142 bool temp2
= False
;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "key",(char *) "value", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14152 arg2
= wxString_in_helper(obj1
);
14153 if (arg2
== NULL
) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14163 resultobj
= PyInt_FromLong((long)result
);
14178 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14181 wxString
*arg2
= 0 ;
14184 bool temp2
= False
;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 PyObject
* obj2
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "key",(char *) "value", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14195 arg2
= wxString_in_helper(obj1
);
14196 if (arg2
== NULL
) SWIG_fail
;
14199 arg3
= PyInt_AsLong(obj2
) ? true : false;
14200 if (PyErr_Occurred()) SWIG_fail
;
14202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14203 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14205 wxPyEndAllowThreads(__tstate
);
14206 if (PyErr_Occurred()) SWIG_fail
;
14208 resultobj
= PyInt_FromLong((long)result
);
14223 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14226 bool arg2
= (bool) False
;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "bCurrentOnly", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 arg2
= PyInt_AsLong(obj1
) ? true : false;
14238 if (PyErr_Occurred()) SWIG_fail
;
14241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14242 result
= (bool)(arg1
)->Flush(arg2
);
14244 wxPyEndAllowThreads(__tstate
);
14245 if (PyErr_Occurred()) SWIG_fail
;
14247 resultobj
= PyInt_FromLong((long)result
);
14254 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14255 PyObject
*resultobj
;
14256 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14257 wxString
*arg2
= 0 ;
14258 wxString
*arg3
= 0 ;
14260 bool temp2
= False
;
14261 bool temp3
= False
;
14262 PyObject
* obj0
= 0 ;
14263 PyObject
* obj1
= 0 ;
14264 PyObject
* obj2
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 arg2
= wxString_in_helper(obj1
);
14273 if (arg2
== NULL
) SWIG_fail
;
14277 arg3
= wxString_in_helper(obj2
);
14278 if (arg3
== NULL
) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14288 resultobj
= PyInt_FromLong((long)result
);
14311 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14314 wxString
*arg2
= 0 ;
14315 wxString
*arg3
= 0 ;
14317 bool temp2
= False
;
14318 bool temp3
= False
;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 PyObject
* obj2
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14329 arg2
= wxString_in_helper(obj1
);
14330 if (arg2
== NULL
) SWIG_fail
;
14334 arg3
= wxString_in_helper(obj2
);
14335 if (arg3
== NULL
) SWIG_fail
;
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14342 wxPyEndAllowThreads(__tstate
);
14343 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= PyInt_FromLong((long)result
);
14368 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14371 wxString
*arg2
= 0 ;
14372 bool arg3
= (bool) True
;
14374 bool temp2
= False
;
14375 PyObject
* obj0
= 0 ;
14376 PyObject
* obj1
= 0 ;
14377 PyObject
* obj2
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14385 arg2
= wxString_in_helper(obj1
);
14386 if (arg2
== NULL
) SWIG_fail
;
14390 arg3
= PyInt_AsLong(obj2
) ? true : false;
14391 if (PyErr_Occurred()) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14400 resultobj
= PyInt_FromLong((long)result
);
14415 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14418 wxString
*arg2
= 0 ;
14420 bool temp2
= False
;
14421 PyObject
* obj0
= 0 ;
14422 PyObject
* obj1
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self",(char *) "key", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14430 arg2
= wxString_in_helper(obj1
);
14431 if (arg2
== NULL
) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14438 wxPyEndAllowThreads(__tstate
);
14439 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= PyInt_FromLong((long)result
);
14456 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14457 PyObject
*resultobj
;
14458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14460 PyObject
* obj0
= 0 ;
14461 char *kwnames
[] = {
14462 (char *) "self", NULL
14465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (bool)(arg1
)->DeleteAll();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= PyInt_FromLong((long)result
);
14481 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14494 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14496 wxPyEndAllowThreads(__tstate
);
14497 if (PyErr_Occurred()) SWIG_fail
;
14499 resultobj
= PyInt_FromLong((long)result
);
14506 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14509 bool arg2
= (bool) True
;
14510 PyObject
* obj0
= 0 ;
14511 PyObject
* obj1
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "bDoIt", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14519 arg2
= PyInt_AsLong(obj1
) ? true : false;
14520 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 (arg1
)->SetExpandEnvVars(arg2
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 Py_INCREF(Py_None
); resultobj
= Py_None
;
14536 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
;
14538 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14539 bool arg2
= (bool) True
;
14540 PyObject
* obj0
= 0 ;
14541 PyObject
* obj1
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self",(char *) "bDoIt", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14549 arg2
= PyInt_AsLong(obj1
) ? true : false;
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 (arg1
)->SetRecordDefaults(arg2
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 Py_INCREF(Py_None
); resultobj
= Py_None
;
14566 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14567 PyObject
*resultobj
;
14568 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14570 PyObject
* obj0
= 0 ;
14571 char *kwnames
[] = {
14572 (char *) "self", NULL
14575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= PyInt_FromLong((long)result
);
14591 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14594 wxString
*arg2
= 0 ;
14596 bool temp2
= False
;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 char *kwnames
[] = {
14600 (char *) "self",(char *) "str", NULL
14603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14606 arg2
= wxString_in_helper(obj1
);
14607 if (arg2
== NULL
) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14621 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14638 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14639 PyObject
*resultobj
;
14640 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14642 PyObject
* obj0
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14669 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14670 PyObject
*resultobj
;
14671 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 char *kwnames
[] = {
14675 (char *) "self", NULL
14678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14682 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14700 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14703 wxString
*arg2
= 0 ;
14704 bool temp2
= False
;
14705 PyObject
* obj0
= 0 ;
14706 PyObject
* obj1
= 0 ;
14707 char *kwnames
[] = {
14708 (char *) "self",(char *) "appName", NULL
14711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14714 arg2
= wxString_in_helper(obj1
);
14715 if (arg2
== NULL
) SWIG_fail
;
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 (arg1
)->SetAppName((wxString
const &)*arg2
);
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14725 Py_INCREF(Py_None
); resultobj
= Py_None
;
14740 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14741 PyObject
*resultobj
;
14742 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14743 wxString
*arg2
= 0 ;
14744 bool temp2
= False
;
14745 PyObject
* obj0
= 0 ;
14746 PyObject
* obj1
= 0 ;
14747 char *kwnames
[] = {
14748 (char *) "self",(char *) "vendorName", NULL
14751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14754 arg2
= wxString_in_helper(obj1
);
14755 if (arg2
== NULL
) SWIG_fail
;
14759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14760 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 Py_INCREF(Py_None
); resultobj
= Py_None
;
14780 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14781 PyObject
*resultobj
;
14782 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14784 PyObject
* obj0
= 0 ;
14785 char *kwnames
[] = {
14786 (char *) "self",(char *) "style", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14793 (arg1
)->SetStyle(arg2
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 Py_INCREF(Py_None
); resultobj
= Py_None
;
14805 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
;
14807 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14818 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14820 wxPyEndAllowThreads(__tstate
);
14821 if (PyErr_Occurred()) SWIG_fail
;
14823 resultobj
= PyInt_FromLong((long)result
);
14830 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14832 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14833 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14835 return Py_BuildValue((char *)"");
14837 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14840 wxString
*arg2
= 0 ;
14841 wxConfigPathChanger
*result
;
14842 bool temp2
= False
;
14843 PyObject
* obj0
= 0 ;
14844 PyObject
* obj1
= 0 ;
14845 char *kwnames
[] = {
14846 (char *) "pContainer",(char *) "strEntry", NULL
14849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14852 arg2
= wxString_in_helper(obj1
);
14853 if (arg2
== NULL
) SWIG_fail
;
14857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14858 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14878 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
;
14904 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14906 PyObject
* obj0
= 0 ;
14907 char *kwnames
[] = {
14908 (char *) "self", NULL
14911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14917 result
= (wxString
*) &_result_ref
;
14920 wxPyEndAllowThreads(__tstate
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14927 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14936 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14939 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14941 return Py_BuildValue((char *)"");
14943 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14946 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14947 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14948 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14951 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14952 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14953 long arg5
= (long) 0 ;
14955 bool temp1
= False
;
14956 bool temp2
= False
;
14957 bool temp3
= False
;
14958 bool temp4
= False
;
14959 PyObject
* obj0
= 0 ;
14960 PyObject
* obj1
= 0 ;
14961 PyObject
* obj2
= 0 ;
14962 PyObject
* obj3
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14970 arg1
= wxString_in_helper(obj0
);
14971 if (arg1
== NULL
) SWIG_fail
;
14977 arg2
= wxString_in_helper(obj1
);
14978 if (arg2
== NULL
) SWIG_fail
;
14984 arg3
= wxString_in_helper(obj2
);
14985 if (arg3
== NULL
) SWIG_fail
;
14991 arg4
= wxString_in_helper(obj3
);
14992 if (arg4
== NULL
) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
15042 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxConfig
*arg1
= (wxConfig
*) 0 ;
15045 PyObject
* obj0
= 0 ;
15046 char *kwnames
[] = {
15047 (char *) "self", NULL
15050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
15051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15056 wxPyEndAllowThreads(__tstate
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 Py_INCREF(Py_None
); resultobj
= Py_None
;
15066 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
15068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15069 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
15071 return Py_BuildValue((char *)"");
15073 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
;
15075 wxString
const &arg1_defvalue
= wxPyEmptyString
;
15076 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
15077 wxString
const &arg2_defvalue
= wxPyEmptyString
;
15078 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
15079 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15080 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15081 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15082 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15083 long arg5
= (long) 0 ;
15084 wxFileConfig
*result
;
15085 bool temp1
= False
;
15086 bool temp2
= False
;
15087 bool temp3
= False
;
15088 bool temp4
= False
;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 PyObject
* obj2
= 0 ;
15092 PyObject
* obj3
= 0 ;
15093 char *kwnames
[] = {
15094 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
15097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
15100 arg1
= wxString_in_helper(obj0
);
15101 if (arg1
== NULL
) SWIG_fail
;
15107 arg2
= wxString_in_helper(obj1
);
15108 if (arg2
== NULL
) SWIG_fail
;
15114 arg3
= wxString_in_helper(obj2
);
15115 if (arg3
== NULL
) SWIG_fail
;
15121 arg4
= wxString_in_helper(obj3
);
15122 if (arg4
== NULL
) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15172 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15173 PyObject
*resultobj
;
15174 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15175 PyObject
* obj0
= 0 ;
15176 char *kwnames
[] = {
15177 (char *) "self", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 Py_INCREF(Py_None
); resultobj
= Py_None
;
15196 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15199 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15201 return Py_BuildValue((char *)"");
15203 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxString
*arg1
= 0 ;
15207 bool temp1
= False
;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "sz", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15215 arg1
= wxString_in_helper(obj0
);
15216 if (arg1
== NULL
) SWIG_fail
;
15220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15221 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15223 wxPyEndAllowThreads(__tstate
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15247 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
15248 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
15253 static PyObject
*_wrap_DateFormatStr_get() {
15258 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15260 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
15267 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
15268 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
15273 static PyObject
*_wrap_TimeSpanFormatStr_get() {
15278 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15280 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
15287 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15288 PyObject
*resultobj
;
15290 char *kwnames
[] = {
15291 (char *) "country", NULL
15294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15297 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 Py_INCREF(Py_None
); resultobj
= Py_None
;
15309 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
;
15312 char *kwnames
[] = {
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (int)wxDateTime::GetCountry();
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 resultobj
= PyInt_FromLong((long)result
);
15331 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 int arg1
= (int) wxDateTime::Country_Default
;
15335 char *kwnames
[] = {
15336 (char *) "country", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= PyInt_FromLong((long)result
);
15354 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 int arg1
= (int) wxDateTime::Gregorian
;
15358 char *kwnames
[] = {
15359 (char *) "cal", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= PyInt_FromLong((long)result
);
15377 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15381 char *kwnames
[] = {
15382 (char *) "year", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15388 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15390 wxPyEndAllowThreads(__tstate
);
15391 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= PyInt_FromLong((long)result
);
15400 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 int arg1
= (int) wxDateTime::Gregorian
;
15404 char *kwnames
[] = {
15405 (char *) "cal", NULL
15408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15411 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15413 wxPyEndAllowThreads(__tstate
);
15414 if (PyErr_Occurred()) SWIG_fail
;
15416 resultobj
= PyInt_FromLong((long)result
);
15423 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 int arg1
= (int) wxDateTime::Inv_Year
;
15426 int arg2
= (int) wxDateTime::Gregorian
;
15428 char *kwnames
[] = {
15429 (char *) "year",(char *) "cal", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= PyInt_FromLong((long)result
);
15447 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 int arg1
= (int) wxDateTime::Inv_Year
;
15451 char *kwnames
[] = {
15452 (char *) "year", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15458 result
= (int)wxDateTime::GetCentury(arg1
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= PyInt_FromLong((long)result
);
15470 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
;
15473 int arg2
= (int) wxDateTime::Gregorian
;
15475 char *kwnames
[] = {
15476 (char *) "year",(char *) "cal", NULL
15479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= PyInt_FromLong((long)result
);
15494 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15497 int arg2
= (int) wxDateTime::Inv_Year
;
15498 int arg3
= (int) wxDateTime::Gregorian
;
15500 char *kwnames
[] = {
15501 (char *) "month",(char *) "year",(char *) "cal", NULL
15504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15507 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15509 wxPyEndAllowThreads(__tstate
);
15510 if (PyErr_Occurred()) SWIG_fail
;
15512 resultobj
= PyInt_FromLong((long)result
);
15519 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15522 int arg2
= (int) wxDateTime::Name_Full
;
15524 char *kwnames
[] = {
15525 (char *) "month",(char *) "flags", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15531 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15533 wxPyEndAllowThreads(__tstate
);
15534 if (PyErr_Occurred()) SWIG_fail
;
15538 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15540 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15549 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15552 int arg2
= (int) wxDateTime::Name_Full
;
15554 char *kwnames
[] = {
15555 (char *) "weekday",(char *) "flags", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15561 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15563 wxPyEndAllowThreads(__tstate
);
15564 if (PyErr_Occurred()) SWIG_fail
;
15568 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15570 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15579 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxString
*arg1
= (wxString
*) 0 ;
15582 wxString
*arg2
= (wxString
*) 0 ;
15583 PyObject
* obj0
= 0 ;
15584 PyObject
* obj1
= 0 ;
15585 char *kwnames
[] = {
15586 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 int arg1
= (int) wxDateTime::Inv_Year
;
15609 int arg2
= (int) wxDateTime::Country_Default
;
15611 char *kwnames
[] = {
15612 (char *) "year",(char *) "country", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= PyInt_FromLong((long)result
);
15630 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15631 PyObject
*resultobj
;
15632 int arg1
= (int) wxDateTime::Inv_Year
;
15633 int arg2
= (int) wxDateTime::Country_Default
;
15635 char *kwnames
[] = {
15636 (char *) "year",(char *) "country", NULL
15639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15648 wxDateTime
* resultptr
;
15649 resultptr
= new wxDateTime((wxDateTime
&) result
);
15650 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15658 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15659 PyObject
*resultobj
;
15660 int arg1
= (int) wxDateTime::Inv_Year
;
15661 int arg2
= (int) wxDateTime::Country_Default
;
15663 char *kwnames
[] = {
15664 (char *) "year",(char *) "country", NULL
15667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15676 wxDateTime
* resultptr
;
15677 resultptr
= new wxDateTime((wxDateTime
&) result
);
15678 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15686 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15689 char *kwnames
[] = {
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 result
= wxDateTime::Now();
15698 wxPyEndAllowThreads(__tstate
);
15699 if (PyErr_Occurred()) SWIG_fail
;
15702 wxDateTime
* resultptr
;
15703 resultptr
= new wxDateTime((wxDateTime
&) result
);
15704 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15712 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15713 PyObject
*resultobj
;
15715 char *kwnames
[] = {
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= wxDateTime::UNow();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15728 wxDateTime
* resultptr
;
15729 resultptr
= new wxDateTime((wxDateTime
&) result
);
15730 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15738 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15741 char *kwnames
[] = {
15745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15748 result
= wxDateTime::Today();
15750 wxPyEndAllowThreads(__tstate
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 wxDateTime
* resultptr
;
15755 resultptr
= new wxDateTime((wxDateTime
&) result
);
15756 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15764 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15765 PyObject
*resultobj
;
15766 wxDateTime
*result
;
15767 char *kwnames
[] = {
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15774 result
= (wxDateTime
*)new wxDateTime();
15776 wxPyEndAllowThreads(__tstate
);
15777 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15786 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15789 wxDateTime
*result
;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "timet", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15796 arg1
= (time_t) PyInt_AsLong(obj0
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 result
= (wxDateTime
*)new wxDateTime(arg1
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15812 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15815 wxDateTime
*result
;
15816 char *kwnames
[] = {
15817 (char *) "jdn", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15823 result
= (wxDateTime
*)new wxDateTime(arg1
);
15825 wxPyEndAllowThreads(__tstate
);
15826 if (PyErr_Occurred()) SWIG_fail
;
15828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15835 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15838 int arg2
= (int) 0 ;
15839 int arg3
= (int) 0 ;
15840 int arg4
= (int) 0 ;
15841 wxDateTime
*result
;
15842 char *kwnames
[] = {
15843 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15861 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15864 int arg2
= (int) wxDateTime::Inv_Month
;
15865 int arg3
= (int) wxDateTime::Inv_Year
;
15866 int arg4
= (int) 0 ;
15867 int arg5
= (int) 0 ;
15868 int arg6
= (int) 0 ;
15869 int arg7
= (int) 0 ;
15870 wxDateTime
*result
;
15871 char *kwnames
[] = {
15872 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15878 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15880 wxPyEndAllowThreads(__tstate
);
15881 if (PyErr_Occurred()) SWIG_fail
;
15883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15890 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15891 PyObject
*resultobj
;
15892 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 char *kwnames
[] = {
15895 (char *) "self", NULL
15898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 wxPyEndAllowThreads(__tstate
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15907 Py_INCREF(Py_None
); resultobj
= Py_None
;
15914 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15915 PyObject
*resultobj
;
15916 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15917 wxDateTime
*result
;
15918 PyObject
* obj0
= 0 ;
15919 char *kwnames
[] = {
15920 (char *) "self", NULL
15923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15929 result
= (wxDateTime
*) &_result_ref
;
15932 wxPyEndAllowThreads(__tstate
);
15933 if (PyErr_Occurred()) SWIG_fail
;
15935 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15942 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15946 wxDateTime
*result
;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self",(char *) "timet", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15955 arg2
= (time_t) PyInt_AsLong(obj1
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15961 result
= (wxDateTime
*) &_result_ref
;
15964 wxPyEndAllowThreads(__tstate
);
15965 if (PyErr_Occurred()) SWIG_fail
;
15967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15974 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15975 PyObject
*resultobj
;
15976 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15978 wxDateTime
*result
;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self",(char *) "jdn", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15990 result
= (wxDateTime
*) &_result_ref
;
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16003 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16007 int arg3
= (int) 0 ;
16008 int arg4
= (int) 0 ;
16009 int arg5
= (int) 0 ;
16010 wxDateTime
*result
;
16011 PyObject
* obj0
= 0 ;
16012 char *kwnames
[] = {
16013 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
16022 result
= (wxDateTime
*) &_result_ref
;
16025 wxPyEndAllowThreads(__tstate
);
16026 if (PyErr_Occurred()) SWIG_fail
;
16028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16035 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
;
16037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16039 int arg3
= (int) wxDateTime::Inv_Month
;
16040 int arg4
= (int) wxDateTime::Inv_Year
;
16041 int arg5
= (int) 0 ;
16042 int arg6
= (int) 0 ;
16043 int arg7
= (int) 0 ;
16044 int arg8
= (int) 0 ;
16045 wxDateTime
*result
;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
16057 result
= (wxDateTime
*) &_result_ref
;
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16063 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16070 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16073 wxDateTime
*result
;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16084 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
16085 result
= (wxDateTime
*) &_result_ref
;
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16098 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16102 wxDateTime
*result
;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "year", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
16114 result
= (wxDateTime
*) &_result_ref
;
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16127 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16131 wxDateTime
*result
;
16132 PyObject
* obj0
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "self",(char *) "month", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
16138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
16143 result
= (wxDateTime
*) &_result_ref
;
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16156 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16160 wxDateTime
*result
;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self",(char *) "day", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
16172 result
= (wxDateTime
*) &_result_ref
;
16175 wxPyEndAllowThreads(__tstate
);
16176 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16185 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16189 wxDateTime
*result
;
16190 PyObject
* obj0
= 0 ;
16191 char *kwnames
[] = {
16192 (char *) "self",(char *) "hour", NULL
16195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
16196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16200 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
16201 result
= (wxDateTime
*) &_result_ref
;
16204 wxPyEndAllowThreads(__tstate
);
16205 if (PyErr_Occurred()) SWIG_fail
;
16207 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16214 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16215 PyObject
*resultobj
;
16216 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16218 wxDateTime
*result
;
16219 PyObject
* obj0
= 0 ;
16220 char *kwnames
[] = {
16221 (char *) "self",(char *) "minute", NULL
16224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
16225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16230 result
= (wxDateTime
*) &_result_ref
;
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16243 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16247 wxDateTime
*result
;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "second", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16259 result
= (wxDateTime
*) &_result_ref
;
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16272 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16276 wxDateTime
*result
;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self",(char *) "millisecond", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16288 result
= (wxDateTime
*) &_result_ref
;
16291 wxPyEndAllowThreads(__tstate
);
16292 if (PyErr_Occurred()) SWIG_fail
;
16294 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16301 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16305 int arg3
= (int) wxDateTime::Monday_First
;
16306 wxDateTime
*result
;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16318 result
= (wxDateTime
*) &_result_ref
;
16321 wxPyEndAllowThreads(__tstate
);
16322 if (PyErr_Occurred()) SWIG_fail
;
16324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16331 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16335 int arg3
= (int) wxDateTime::Monday_First
;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16346 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16352 wxDateTime
* resultptr
;
16353 resultptr
= new wxDateTime((wxDateTime
&) result
);
16354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16362 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16363 PyObject
*resultobj
;
16364 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16366 wxDateTime
*result
;
16367 PyObject
* obj0
= 0 ;
16368 char *kwnames
[] = {
16369 (char *) "self",(char *) "weekday", NULL
16372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16377 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16378 result
= (wxDateTime
*) &_result_ref
;
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16391 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16392 PyObject
*resultobj
;
16393 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16396 PyObject
* obj0
= 0 ;
16397 char *kwnames
[] = {
16398 (char *) "self",(char *) "weekday", NULL
16401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16411 wxDateTime
* resultptr
;
16412 resultptr
= new wxDateTime((wxDateTime
&) result
);
16413 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16421 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16425 wxDateTime
*result
;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self",(char *) "weekday", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16437 result
= (wxDateTime
*) &_result_ref
;
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16450 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
;
16452 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self",(char *) "weekday", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16464 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16466 wxPyEndAllowThreads(__tstate
);
16467 if (PyErr_Occurred()) SWIG_fail
;
16470 wxDateTime
* resultptr
;
16471 resultptr
= new wxDateTime((wxDateTime
&) result
);
16472 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16480 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16484 int arg3
= (int) 1 ;
16485 int arg4
= (int) wxDateTime::Inv_Month
;
16486 int arg5
= (int) wxDateTime::Inv_Year
;
16488 PyObject
* obj0
= 0 ;
16489 char *kwnames
[] = {
16490 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= PyInt_FromLong((long)result
);
16509 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16513 int arg3
= (int) wxDateTime::Inv_Month
;
16514 int arg4
= (int) wxDateTime::Inv_Year
;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16525 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16527 wxPyEndAllowThreads(__tstate
);
16528 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= PyInt_FromLong((long)result
);
16537 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16538 PyObject
*resultobj
;
16539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16541 int arg3
= (int) wxDateTime::Inv_Month
;
16542 int arg4
= (int) wxDateTime::Inv_Year
;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 wxDateTime
* resultptr
;
16560 resultptr
= new wxDateTime((wxDateTime
&) result
);
16561 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16569 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16570 PyObject
*resultobj
;
16571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16573 int arg3
= (int) wxDateTime::Mon
;
16574 int arg4
= (int) wxDateTime::Monday_First
;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16585 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= PyInt_FromLong((long)result
);
16597 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16601 int arg3
= (int) wxDateTime::Mon
;
16602 int arg4
= (int) wxDateTime::Monday_First
;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16613 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16615 wxPyEndAllowThreads(__tstate
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16619 wxDateTime
* resultptr
;
16620 resultptr
= new wxDateTime((wxDateTime
&) result
);
16621 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16629 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16632 int arg2
= (int) wxDateTime::Inv_Month
;
16633 int arg3
= (int) wxDateTime::Inv_Year
;
16634 wxDateTime
*result
;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self",(char *) "month",(char *) "year", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16646 result
= (wxDateTime
*) &_result_ref
;
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16659 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16660 PyObject
*resultobj
;
16661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16662 int arg2
= (int) wxDateTime::Inv_Month
;
16663 int arg3
= (int) wxDateTime::Inv_Year
;
16665 PyObject
* obj0
= 0 ;
16666 char *kwnames
[] = {
16667 (char *) "self",(char *) "month",(char *) "year", NULL
16670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16674 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16680 wxDateTime
* resultptr
;
16681 resultptr
= new wxDateTime((wxDateTime
&) result
);
16682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16690 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16694 wxDateTime
*result
;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self",(char *) "yday", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16706 result
= (wxDateTime
*) &_result_ref
;
16709 wxPyEndAllowThreads(__tstate
);
16710 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16719 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16720 PyObject
*resultobj
;
16721 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "yday", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16733 result
= (arg1
)->GetYearDay(arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 wxDateTime
* resultptr
;
16740 resultptr
= new wxDateTime((wxDateTime
&) result
);
16741 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16749 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16753 PyObject
* obj0
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (double)(arg1
)->GetJulianDayNumber();
16764 wxPyEndAllowThreads(__tstate
);
16765 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= PyFloat_FromDouble(result
);
16774 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16775 PyObject
*resultobj
;
16776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16778 PyObject
* obj0
= 0 ;
16779 char *kwnames
[] = {
16780 (char *) "self", NULL
16783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16787 result
= (double)(arg1
)->GetJDN();
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= PyFloat_FromDouble(result
);
16799 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16800 PyObject
*resultobj
;
16801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16803 PyObject
* obj0
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "self", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16812 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16814 wxPyEndAllowThreads(__tstate
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= PyFloat_FromDouble(result
);
16824 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16825 PyObject
*resultobj
;
16826 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16828 PyObject
* obj0
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16837 result
= (double)(arg1
)->GetMJD();
16839 wxPyEndAllowThreads(__tstate
);
16840 if (PyErr_Occurred()) SWIG_fail
;
16842 resultobj
= PyFloat_FromDouble(result
);
16849 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (double)(arg1
)->GetRataDie();
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= PyFloat_FromDouble(result
);
16874 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16877 wxDateTime::TimeZone
*arg2
= 0 ;
16878 bool arg3
= (bool) False
;
16880 bool temp2
= False
;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 PyObject
* obj2
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16891 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16895 arg3
= PyInt_AsLong(obj2
) ? true : false;
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 wxDateTime
* resultptr
;
16907 resultptr
= new wxDateTime((wxDateTime
&) result
);
16908 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16911 if (temp2
) delete arg2
;
16916 if (temp2
) delete arg2
;
16922 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16925 wxDateTime::TimeZone
*arg2
= 0 ;
16926 bool arg3
= (bool) False
;
16927 wxDateTime
*result
;
16928 bool temp2
= False
;
16929 PyObject
* obj0
= 0 ;
16930 PyObject
* obj1
= 0 ;
16931 PyObject
* obj2
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16939 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16943 arg3
= PyInt_AsLong(obj2
) ? true : false;
16944 if (PyErr_Occurred()) SWIG_fail
;
16947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16950 result
= (wxDateTime
*) &_result_ref
;
16953 wxPyEndAllowThreads(__tstate
);
16954 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16958 if (temp2
) delete arg2
;
16963 if (temp2
) delete arg2
;
16969 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16972 bool arg2
= (bool) False
;
16974 PyObject
* obj0
= 0 ;
16975 PyObject
* obj1
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "self",(char *) "noDST", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16983 arg2
= PyInt_AsLong(obj1
) ? true : false;
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= (arg1
)->ToGMT(arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 wxDateTime
* resultptr
;
16995 resultptr
= new wxDateTime((wxDateTime
&) result
);
16996 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
17004 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17007 bool arg2
= (bool) False
;
17008 wxDateTime
*result
;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "self",(char *) "noDST", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
17016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17018 arg2
= PyInt_AsLong(obj1
) ? true : false;
17019 if (PyErr_Occurred()) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17024 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
17025 result
= (wxDateTime
*) &_result_ref
;
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17038 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17041 int arg2
= (int) wxDateTime::Country_Default
;
17043 PyObject
* obj0
= 0 ;
17044 char *kwnames
[] = {
17045 (char *) "self",(char *) "country", NULL
17048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
17049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= PyInt_FromLong((long)result
);
17064 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
17074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
17079 wxPyEndAllowThreads(__tstate
);
17080 if (PyErr_Occurred()) SWIG_fail
;
17082 resultobj
= PyInt_FromLong((long)result
);
17089 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17090 PyObject
*resultobj
;
17091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17093 PyObject
* obj0
= 0 ;
17094 char *kwnames
[] = {
17095 (char *) "self", NULL
17098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
17099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17102 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
17104 wxPyEndAllowThreads(__tstate
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 resultobj
= PyInt_FromLong((long)result
);
17114 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17117 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17118 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17120 bool temp2
= False
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "tz", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17131 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17137 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= PyInt_FromLong((long)result
);
17144 if (temp2
) delete arg2
;
17149 if (temp2
) delete arg2
;
17155 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17156 PyObject
*resultobj
;
17157 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17158 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17159 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17161 bool temp2
= False
;
17162 PyObject
* obj0
= 0 ;
17163 PyObject
* obj1
= 0 ;
17164 char *kwnames
[] = {
17165 (char *) "self",(char *) "tz", NULL
17168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17172 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= PyInt_FromLong((long)result
);
17185 if (temp2
) delete arg2
;
17190 if (temp2
) delete arg2
;
17196 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17199 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17200 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17202 bool temp2
= False
;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "self",(char *) "tz", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17213 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17219 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= PyInt_FromLong((long)result
);
17226 if (temp2
) delete arg2
;
17231 if (temp2
) delete arg2
;
17237 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17240 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17241 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17243 bool temp2
= False
;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self",(char *) "tz", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17254 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17260 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= PyInt_FromLong((long)result
);
17267 if (temp2
) delete arg2
;
17272 if (temp2
) delete arg2
;
17278 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17281 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17282 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17284 bool temp2
= False
;
17285 PyObject
* obj0
= 0 ;
17286 PyObject
* obj1
= 0 ;
17287 char *kwnames
[] = {
17288 (char *) "self",(char *) "tz", NULL
17291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17295 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17301 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17303 wxPyEndAllowThreads(__tstate
);
17304 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= PyInt_FromLong((long)result
);
17308 if (temp2
) delete arg2
;
17313 if (temp2
) delete arg2
;
17319 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17322 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17323 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17325 bool temp2
= False
;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "tz", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17336 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= PyInt_FromLong((long)result
);
17349 if (temp2
) delete arg2
;
17354 if (temp2
) delete arg2
;
17360 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17361 PyObject
*resultobj
;
17362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17363 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17364 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17366 bool temp2
= False
;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self",(char *) "tz", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17377 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 resultobj
= PyInt_FromLong((long)result
);
17390 if (temp2
) delete arg2
;
17395 if (temp2
) delete arg2
;
17401 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17402 PyObject
*resultobj
;
17403 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17404 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17405 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17407 bool temp2
= False
;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self",(char *) "tz", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17418 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 resultobj
= PyInt_FromLong((long)result
);
17431 if (temp2
) delete arg2
;
17436 if (temp2
) delete arg2
;
17442 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17443 PyObject
*resultobj
;
17444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17445 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17446 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17448 bool temp2
= False
;
17449 PyObject
* obj0
= 0 ;
17450 PyObject
* obj1
= 0 ;
17451 char *kwnames
[] = {
17452 (char *) "self",(char *) "tz", NULL
17455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17459 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= PyInt_FromLong((long)result
);
17472 if (temp2
) delete arg2
;
17477 if (temp2
) delete arg2
;
17483 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17486 int arg2
= (int) wxDateTime::Monday_First
;
17487 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17488 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17490 bool temp3
= False
;
17491 PyObject
* obj0
= 0 ;
17492 PyObject
* obj2
= 0 ;
17493 char *kwnames
[] = {
17494 (char *) "self",(char *) "flags",(char *) "tz", NULL
17497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17501 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 resultobj
= PyInt_FromLong((long)result
);
17514 if (temp3
) delete arg3
;
17519 if (temp3
) delete arg3
;
17525 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
;
17527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17528 int arg2
= (int) wxDateTime::Monday_First
;
17529 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17530 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17532 bool temp3
= False
;
17533 PyObject
* obj0
= 0 ;
17534 PyObject
* obj2
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self",(char *) "flags",(char *) "tz", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= PyInt_FromLong((long)result
);
17556 if (temp3
) delete arg3
;
17561 if (temp3
) delete arg3
;
17567 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17570 int arg2
= (int) wxDateTime::Country_Default
;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self",(char *) "country", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 resultobj
= PyInt_FromLong((long)result
);
17593 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17596 wxDateTime
*arg2
= 0 ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self",(char *) "datetime", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17607 if (arg2
== NULL
) {
17608 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17614 wxPyEndAllowThreads(__tstate
);
17615 if (PyErr_Occurred()) SWIG_fail
;
17617 resultobj
= PyInt_FromLong((long)result
);
17624 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17625 PyObject
*resultobj
;
17626 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17627 wxDateTime
*arg2
= 0 ;
17629 PyObject
* obj0
= 0 ;
17630 PyObject
* obj1
= 0 ;
17631 char *kwnames
[] = {
17632 (char *) "self",(char *) "datetime", NULL
17635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17637 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17638 if (arg2
== NULL
) {
17639 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= PyInt_FromLong((long)result
);
17655 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17658 wxDateTime
*arg2
= 0 ;
17660 PyObject
* obj0
= 0 ;
17661 PyObject
* obj1
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self",(char *) "datetime", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17668 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 if (arg2
== NULL
) {
17670 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= PyInt_FromLong((long)result
);
17686 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17687 PyObject
*resultobj
;
17688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17689 wxDateTime
*arg2
= 0 ;
17690 wxDateTime
*arg3
= 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 PyObject
* obj2
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self",(char *) "t1",(char *) "t2", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17701 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17702 if (arg2
== NULL
) {
17703 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17705 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17706 if (arg3
== NULL
) {
17707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= PyInt_FromLong((long)result
);
17723 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17726 wxDateTime
*arg2
= 0 ;
17727 wxDateTime
*arg3
= 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 PyObject
* obj2
= 0 ;
17732 char *kwnames
[] = {
17733 (char *) "self",(char *) "t1",(char *) "t2", NULL
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17739 if (arg2
== NULL
) {
17740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17742 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17743 if (arg3
== NULL
) {
17744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= PyInt_FromLong((long)result
);
17760 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17763 wxDateTime
*arg2
= 0 ;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "dt", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17774 if (arg2
== NULL
) {
17775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= PyInt_FromLong((long)result
);
17791 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17794 wxDateTime
*arg2
= 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char *kwnames
[] = {
17799 (char *) "self",(char *) "dt", NULL
17802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17805 if (arg2
== NULL
) {
17806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17810 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17812 wxPyEndAllowThreads(__tstate
);
17813 if (PyErr_Occurred()) SWIG_fail
;
17815 resultobj
= PyInt_FromLong((long)result
);
17822 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17823 PyObject
*resultobj
;
17824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17825 wxDateTime
*arg2
= 0 ;
17826 wxTimeSpan
*arg3
= 0 ;
17828 PyObject
* obj0
= 0 ;
17829 PyObject
* obj1
= 0 ;
17830 PyObject
* obj2
= 0 ;
17831 char *kwnames
[] = {
17832 (char *) "self",(char *) "dt",(char *) "ts", NULL
17835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17838 if (arg2
== NULL
) {
17839 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17841 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17842 if (arg3
== NULL
) {
17843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17847 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= PyInt_FromLong((long)result
);
17859 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
;
17861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17862 wxTimeSpan
*arg2
= 0 ;
17863 wxDateTime
*result
;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 char *kwnames
[] = {
17867 (char *) "self",(char *) "diff", NULL
17870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17873 if (arg2
== NULL
) {
17874 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17880 result
= (wxDateTime
*) &_result_ref
;
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17893 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17894 PyObject
*resultobj
;
17895 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17896 wxDateSpan
*arg2
= 0 ;
17897 wxDateTime
*result
;
17898 PyObject
* obj0
= 0 ;
17899 PyObject
* obj1
= 0 ;
17900 char *kwnames
[] = {
17901 (char *) "self",(char *) "diff", NULL
17904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17906 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17907 if (arg2
== NULL
) {
17908 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17914 result
= (wxDateTime
*) &_result_ref
;
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17927 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17930 wxTimeSpan
*arg2
= 0 ;
17931 wxDateTime
*result
;
17932 PyObject
* obj0
= 0 ;
17933 PyObject
* obj1
= 0 ;
17934 char *kwnames
[] = {
17935 (char *) "self",(char *) "diff", NULL
17938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17941 if (arg2
== NULL
) {
17942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17948 result
= (wxDateTime
*) &_result_ref
;
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17961 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17962 PyObject
*resultobj
;
17963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17964 wxDateSpan
*arg2
= 0 ;
17965 wxDateTime
*result
;
17966 PyObject
* obj0
= 0 ;
17967 PyObject
* obj1
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self",(char *) "diff", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17975 if (arg2
== NULL
) {
17976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17982 result
= (wxDateTime
*) &_result_ref
;
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17995 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17996 PyObject
*resultobj
;
17997 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17998 wxDateTime
*arg2
= 0 ;
18000 PyObject
* obj0
= 0 ;
18001 PyObject
* obj1
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self",(char *) "dt", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18009 if (arg2
== NULL
) {
18010 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18014 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
18016 wxPyEndAllowThreads(__tstate
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18020 wxTimeSpan
* resultptr
;
18021 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18022 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18030 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
18031 PyObject
*resultobj
;
18032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18033 wxTimeSpan
*arg2
= 0 ;
18034 wxDateTime
*result
;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18038 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18041 if (arg2
== NULL
) {
18042 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18047 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
18048 result
= (wxDateTime
*) &_result_ref
;
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18061 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
18062 PyObject
*resultobj
;
18063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18064 wxDateSpan
*arg2
= 0 ;
18065 wxDateTime
*result
;
18066 PyObject
* obj0
= 0 ;
18067 PyObject
* obj1
= 0 ;
18069 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 if (arg2
== NULL
) {
18073 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
18079 result
= (wxDateTime
*) &_result_ref
;
18082 wxPyEndAllowThreads(__tstate
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18092 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
18097 argc
= PyObject_Length(args
);
18098 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18099 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18105 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18115 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18123 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
18131 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18141 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18149 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
18154 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
18159 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18160 PyObject
*resultobj
;
18161 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18162 wxTimeSpan
*arg2
= 0 ;
18163 wxDateTime
*result
;
18164 PyObject
* obj0
= 0 ;
18165 PyObject
* obj1
= 0 ;
18167 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18170 if (arg2
== NULL
) {
18171 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
18177 result
= (wxDateTime
*) &_result_ref
;
18180 wxPyEndAllowThreads(__tstate
);
18181 if (PyErr_Occurred()) SWIG_fail
;
18183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18190 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18191 PyObject
*resultobj
;
18192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18193 wxDateSpan
*arg2
= 0 ;
18194 wxDateTime
*result
;
18195 PyObject
* obj0
= 0 ;
18196 PyObject
* obj1
= 0 ;
18198 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18201 if (arg2
== NULL
) {
18202 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
18208 result
= (wxDateTime
*) &_result_ref
;
18211 wxPyEndAllowThreads(__tstate
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
18221 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
18226 argc
= PyObject_Length(args
);
18227 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18228 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18234 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18244 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18252 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18260 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18270 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18278 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18283 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18288 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18289 PyObject
*resultobj
;
18290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18291 wxTimeSpan
*arg2
= 0 ;
18293 PyObject
* obj0
= 0 ;
18294 PyObject
* obj1
= 0 ;
18296 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18299 if (arg2
== NULL
) {
18300 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 wxDateTime
* resultptr
;
18311 resultptr
= new wxDateTime((wxDateTime
&) result
);
18312 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18320 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18321 PyObject
*resultobj
;
18322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18323 wxDateSpan
*arg2
= 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18328 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18331 if (arg2
== NULL
) {
18332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18342 wxDateTime
* resultptr
;
18343 resultptr
= new wxDateTime((wxDateTime
&) result
);
18344 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18352 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18357 argc
= PyObject_Length(args
);
18358 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18359 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18365 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18375 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18383 return _wrap_DateTime___add____SWIG_0(self
,args
);
18391 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18401 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18409 return _wrap_DateTime___add____SWIG_1(self
,args
);
18414 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18419 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18420 PyObject
*resultobj
;
18421 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18422 wxDateTime
*arg2
= 0 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18427 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18430 if (arg2
== NULL
) {
18431 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18435 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18437 wxPyEndAllowThreads(__tstate
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18441 wxTimeSpan
* resultptr
;
18442 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18443 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18451 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18452 PyObject
*resultobj
;
18453 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18454 wxTimeSpan
*arg2
= 0 ;
18456 PyObject
* obj0
= 0 ;
18457 PyObject
* obj1
= 0 ;
18459 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18462 if (arg2
== NULL
) {
18463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18473 wxDateTime
* resultptr
;
18474 resultptr
= new wxDateTime((wxDateTime
&) result
);
18475 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18483 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18484 PyObject
*resultobj
;
18485 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18486 wxDateSpan
*arg2
= 0 ;
18488 PyObject
* obj0
= 0 ;
18489 PyObject
* obj1
= 0 ;
18491 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18494 if (arg2
== NULL
) {
18495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 wxDateTime
* resultptr
;
18506 resultptr
= new wxDateTime((wxDateTime
&) result
);
18507 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18515 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18520 argc
= PyObject_Length(args
);
18521 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18522 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18528 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18538 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18546 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18554 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18564 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18572 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18580 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18590 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18598 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18603 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18608 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18609 PyObject
*resultobj
;
18610 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18611 wxDateTime
*arg2
= 0 ;
18613 PyObject
* obj0
= 0 ;
18614 PyObject
* obj1
= 0 ;
18616 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18618 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18619 if (arg2
== NULL
) {
18620 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18626 wxPyEndAllowThreads(__tstate
);
18627 if (PyErr_Occurred()) SWIG_fail
;
18629 resultobj
= PyInt_FromLong((long)result
);
18636 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18637 PyObject
*resultobj
;
18638 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18639 wxDateTime
*arg2
= 0 ;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18644 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18646 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18647 if (arg2
== NULL
) {
18648 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18652 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= PyInt_FromLong((long)result
);
18664 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18665 PyObject
*resultobj
;
18666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18667 wxDateTime
*arg2
= 0 ;
18669 PyObject
* obj0
= 0 ;
18670 PyObject
* obj1
= 0 ;
18672 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18675 if (arg2
== NULL
) {
18676 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18680 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= PyInt_FromLong((long)result
);
18692 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18693 PyObject
*resultobj
;
18694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18695 wxDateTime
*arg2
= 0 ;
18697 PyObject
* obj0
= 0 ;
18698 PyObject
* obj1
= 0 ;
18700 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18702 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18703 if (arg2
== NULL
) {
18704 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= PyInt_FromLong((long)result
);
18720 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18721 PyObject
*resultobj
;
18722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18723 wxDateTime
*arg2
= 0 ;
18725 PyObject
* obj0
= 0 ;
18726 PyObject
* obj1
= 0 ;
18728 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18731 if (arg2
== NULL
) {
18732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= PyInt_FromLong((long)result
);
18748 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18749 PyObject
*resultobj
;
18750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18751 wxDateTime
*arg2
= 0 ;
18753 PyObject
* obj0
= 0 ;
18754 PyObject
* obj1
= 0 ;
18756 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18759 if (arg2
== NULL
) {
18760 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18764 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18766 wxPyEndAllowThreads(__tstate
);
18767 if (PyErr_Occurred()) SWIG_fail
;
18769 resultobj
= PyInt_FromLong((long)result
);
18776 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18777 PyObject
*resultobj
;
18778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18779 wxString
*arg2
= 0 ;
18781 bool temp2
= False
;
18782 PyObject
* obj0
= 0 ;
18783 PyObject
* obj1
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self",(char *) "date", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18791 arg2
= wxString_in_helper(obj1
);
18792 if (arg2
== NULL
) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= PyInt_FromLong((long)result
);
18817 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18820 wxString
*arg2
= 0 ;
18821 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18822 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18823 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18824 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18826 bool temp2
= False
;
18827 bool temp3
= False
;
18828 PyObject
* obj0
= 0 ;
18829 PyObject
* obj1
= 0 ;
18830 PyObject
* obj2
= 0 ;
18831 PyObject
* obj3
= 0 ;
18832 char *kwnames
[] = {
18833 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18839 arg2
= wxString_in_helper(obj1
);
18840 if (arg2
== NULL
) SWIG_fail
;
18845 arg3
= wxString_in_helper(obj2
);
18846 if (arg3
== NULL
) SWIG_fail
;
18851 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18852 if (arg4
== NULL
) {
18853 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= PyInt_FromLong((long)result
);
18886 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18887 PyObject
*resultobj
;
18888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18889 wxString
*arg2
= 0 ;
18891 bool temp2
= False
;
18892 PyObject
* obj0
= 0 ;
18893 PyObject
* obj1
= 0 ;
18894 char *kwnames
[] = {
18895 (char *) "self",(char *) "datetime", NULL
18898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18901 arg2
= wxString_in_helper(obj1
);
18902 if (arg2
== NULL
) SWIG_fail
;
18906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18907 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18912 resultobj
= PyInt_FromLong((long)result
);
18927 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18930 wxString
*arg2
= 0 ;
18932 bool temp2
= False
;
18933 PyObject
* obj0
= 0 ;
18934 PyObject
* obj1
= 0 ;
18935 char *kwnames
[] = {
18936 (char *) "self",(char *) "date", NULL
18939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18942 arg2
= wxString_in_helper(obj1
);
18943 if (arg2
== NULL
) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= PyInt_FromLong((long)result
);
18968 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18969 PyObject
*resultobj
;
18970 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18971 wxString
*arg2
= 0 ;
18973 bool temp2
= False
;
18974 PyObject
* obj0
= 0 ;
18975 PyObject
* obj1
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "self",(char *) "time", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18983 arg2
= wxString_in_helper(obj1
);
18984 if (arg2
== NULL
) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= PyInt_FromLong((long)result
);
19009 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19012 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
19013 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19014 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19015 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19017 bool temp2
= False
;
19018 bool temp3
= False
;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 PyObject
* obj2
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self",(char *) "format",(char *) "tz", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19030 arg2
= wxString_in_helper(obj1
);
19031 if (arg2
== NULL
) SWIG_fail
;
19037 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19052 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19060 if (temp3
) delete arg3
;
19069 if (temp3
) delete arg3
;
19075 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19076 PyObject
*resultobj
;
19077 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19079 PyObject
* obj0
= 0 ;
19080 char *kwnames
[] = {
19081 (char *) "self", NULL
19084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
19085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= ((wxDateTime
const *)arg1
)->FormatDate();
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19106 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19110 PyObject
* obj0
= 0 ;
19111 char *kwnames
[] = {
19112 (char *) "self", NULL
19115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
19116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19119 result
= ((wxDateTime
const *)arg1
)->FormatTime();
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19137 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19138 PyObject
*resultobj
;
19139 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19141 PyObject
* obj0
= 0 ;
19142 char *kwnames
[] = {
19143 (char *) "self", NULL
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
19147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19168 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19188 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19190 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19199 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
19201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19202 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
19204 return Py_BuildValue((char *)"");
19206 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19210 char *kwnames
[] = {
19211 (char *) "sec", NULL
19214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= wxTimeSpan::Seconds(arg1
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 wxTimeSpan
* resultptr
;
19224 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19225 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19233 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19236 char *kwnames
[] = {
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= wxTimeSpan::Second();
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19249 wxTimeSpan
* resultptr
;
19250 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19251 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19259 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19263 char *kwnames
[] = {
19264 (char *) "min", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19270 result
= wxTimeSpan::Minutes(arg1
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 wxTimeSpan
* resultptr
;
19277 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19278 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19286 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19289 char *kwnames
[] = {
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= wxTimeSpan::Minute();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 wxTimeSpan
* resultptr
;
19303 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19312 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19316 char *kwnames
[] = {
19317 (char *) "hours", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 result
= wxTimeSpan::Hours(arg1
);
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19329 wxTimeSpan
* resultptr
;
19330 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19331 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19339 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19342 char *kwnames
[] = {
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= wxTimeSpan::Hour();
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19355 wxTimeSpan
* resultptr
;
19356 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19365 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19369 char *kwnames
[] = {
19370 (char *) "days", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19376 result
= wxTimeSpan::Days(arg1
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19382 wxTimeSpan
* resultptr
;
19383 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19384 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19392 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19395 char *kwnames
[] = {
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= wxTimeSpan::Day();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19408 wxTimeSpan
* resultptr
;
19409 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19418 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19422 char *kwnames
[] = {
19423 (char *) "days", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= wxTimeSpan::Weeks(arg1
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19435 wxTimeSpan
* resultptr
;
19436 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19437 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19445 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19448 char *kwnames
[] = {
19452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19455 result
= wxTimeSpan::Week();
19457 wxPyEndAllowThreads(__tstate
);
19458 if (PyErr_Occurred()) SWIG_fail
;
19461 wxTimeSpan
* resultptr
;
19462 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19463 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19471 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 long arg1
= (long) 0 ;
19474 long arg2
= (long) 0 ;
19475 long arg3
= (long) 0 ;
19476 long arg4
= (long) 0 ;
19477 wxTimeSpan
*result
;
19478 char *kwnames
[] = {
19479 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19497 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 Py_INCREF(Py_None
); resultobj
= Py_None
;
19521 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19524 wxTimeSpan
*arg2
= 0 ;
19525 wxTimeSpan
*result
;
19526 PyObject
* obj0
= 0 ;
19527 PyObject
* obj1
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self",(char *) "diff", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19534 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19535 if (arg2
== NULL
) {
19536 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19542 result
= (wxTimeSpan
*) &_result_ref
;
19545 wxPyEndAllowThreads(__tstate
);
19546 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19555 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19556 PyObject
*resultobj
;
19557 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19558 wxTimeSpan
*arg2
= 0 ;
19559 wxTimeSpan
*result
;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 char *kwnames
[] = {
19563 (char *) "self",(char *) "diff", NULL
19566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19568 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19569 if (arg2
== NULL
) {
19570 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19576 result
= (wxTimeSpan
*) &_result_ref
;
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19589 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19593 wxTimeSpan
*result
;
19594 PyObject
* obj0
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self",(char *) "n", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19605 result
= (wxTimeSpan
*) &_result_ref
;
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19618 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19621 wxTimeSpan
*result
;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19633 result
= (wxTimeSpan
*) &_result_ref
;
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19646 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19647 PyObject
*resultobj
;
19648 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19650 PyObject
* obj0
= 0 ;
19651 char *kwnames
[] = {
19652 (char *) "self", NULL
19655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19665 wxTimeSpan
* resultptr
;
19666 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19667 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19675 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19676 PyObject
*resultobj
;
19677 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19678 wxTimeSpan
*arg2
= 0 ;
19679 wxTimeSpan
*result
;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 char *kwnames
[] = {
19683 (char *) "self",(char *) "diff", NULL
19686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19689 if (arg2
== NULL
) {
19690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19696 result
= (wxTimeSpan
*) &_result_ref
;
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19709 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19712 wxTimeSpan
*arg2
= 0 ;
19713 wxTimeSpan
*result
;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "diff", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19723 if (arg2
== NULL
) {
19724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19730 result
= (wxTimeSpan
*) &_result_ref
;
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19743 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19744 PyObject
*resultobj
;
19745 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19747 wxTimeSpan
*result
;
19748 PyObject
* obj0
= 0 ;
19749 char *kwnames
[] = {
19750 (char *) "self",(char *) "n", NULL
19753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19759 result
= (wxTimeSpan
*) &_result_ref
;
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19772 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19775 wxTimeSpan
*result
;
19776 PyObject
* obj0
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19787 result
= (wxTimeSpan
*) &_result_ref
;
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19800 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19803 wxTimeSpan
*arg2
= 0 ;
19805 PyObject
* obj0
= 0 ;
19806 PyObject
* obj1
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self",(char *) "other", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19814 if (arg2
== NULL
) {
19815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 wxTimeSpan
* resultptr
;
19826 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19827 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19835 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19838 wxTimeSpan
*arg2
= 0 ;
19840 PyObject
* obj0
= 0 ;
19841 PyObject
* obj1
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self",(char *) "other", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19849 if (arg2
== NULL
) {
19850 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19860 wxTimeSpan
* resultptr
;
19861 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19862 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19870 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19875 PyObject
* obj0
= 0 ;
19876 char *kwnames
[] = {
19877 (char *) "self",(char *) "n", NULL
19880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 result
= wxTimeSpan___mul__(arg1
,arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19890 wxTimeSpan
* resultptr
;
19891 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19892 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19900 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "n", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19916 wxPyEndAllowThreads(__tstate
);
19917 if (PyErr_Occurred()) SWIG_fail
;
19920 wxTimeSpan
* resultptr
;
19921 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19922 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19930 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19933 wxTimeSpan
*arg2
= 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "other", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19943 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19944 if (arg2
== NULL
) {
19945 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= PyInt_FromLong((long)result
);
19961 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19964 wxTimeSpan
*arg2
= 0 ;
19966 PyObject
* obj0
= 0 ;
19967 PyObject
* obj1
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self",(char *) "other", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19974 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 if (arg2
== NULL
) {
19976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 resultobj
= PyInt_FromLong((long)result
);
19992 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19995 wxTimeSpan
*arg2
= 0 ;
19997 PyObject
* obj0
= 0 ;
19998 PyObject
* obj1
= 0 ;
19999 char *kwnames
[] = {
20000 (char *) "self",(char *) "other", NULL
20003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
20004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20006 if (arg2
== NULL
) {
20007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
20013 wxPyEndAllowThreads(__tstate
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 resultobj
= PyInt_FromLong((long)result
);
20023 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20024 PyObject
*resultobj
;
20025 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20026 wxTimeSpan
*arg2
= 0 ;
20028 PyObject
* obj0
= 0 ;
20029 PyObject
* obj1
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self",(char *) "other", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
20035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20036 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20037 if (arg2
== NULL
) {
20038 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= PyInt_FromLong((long)result
);
20054 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20057 wxTimeSpan
*arg2
= 0 ;
20059 PyObject
* obj0
= 0 ;
20060 PyObject
* obj1
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self",(char *) "other", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20068 if (arg2
== NULL
) {
20069 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20073 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
20075 wxPyEndAllowThreads(__tstate
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 resultobj
= PyInt_FromLong((long)result
);
20085 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20086 PyObject
*resultobj
;
20087 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20088 wxTimeSpan
*arg2
= 0 ;
20090 PyObject
* obj0
= 0 ;
20091 PyObject
* obj1
= 0 ;
20092 char *kwnames
[] = {
20093 (char *) "self",(char *) "other", NULL
20096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20099 if (arg2
== NULL
) {
20100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 resultobj
= PyInt_FromLong((long)result
);
20116 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= PyInt_FromLong((long)result
);
20141 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
20156 wxPyEndAllowThreads(__tstate
);
20157 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= PyInt_FromLong((long)result
);
20166 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20167 PyObject
*resultobj
;
20168 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20170 PyObject
* obj0
= 0 ;
20171 char *kwnames
[] = {
20172 (char *) "self", NULL
20175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
20176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 resultobj
= PyInt_FromLong((long)result
);
20191 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20194 wxTimeSpan
*arg2
= 0 ;
20196 PyObject
* obj0
= 0 ;
20197 PyObject
* obj1
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self",(char *) "ts", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
20203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20205 if (arg2
== NULL
) {
20206 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20215 resultobj
= PyInt_FromLong((long)result
);
20222 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20225 wxTimeSpan
*arg2
= 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20229 char *kwnames
[] = {
20230 (char *) "self",(char *) "ts", NULL
20233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20235 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20236 if (arg2
== NULL
) {
20237 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= PyInt_FromLong((long)result
);
20253 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20255 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20256 wxTimeSpan
*arg2
= 0 ;
20258 PyObject
* obj0
= 0 ;
20259 PyObject
* obj1
= 0 ;
20260 char *kwnames
[] = {
20261 (char *) "self",(char *) "t", NULL
20264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20267 if (arg2
== NULL
) {
20268 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20272 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= PyInt_FromLong((long)result
);
20284 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20285 PyObject
*resultobj
;
20286 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20288 PyObject
* obj0
= 0 ;
20289 char *kwnames
[] = {
20290 (char *) "self", NULL
20293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20299 wxPyEndAllowThreads(__tstate
);
20300 if (PyErr_Occurred()) SWIG_fail
;
20302 resultobj
= PyInt_FromLong((long)result
);
20309 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20327 resultobj
= PyInt_FromLong((long)result
);
20334 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20335 PyObject
*resultobj
;
20336 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20338 PyObject
* obj0
= 0 ;
20339 char *kwnames
[] = {
20340 (char *) "self", NULL
20343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 resultobj
= PyInt_FromLong((long)result
);
20359 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= PyInt_FromLong((long)result
);
20384 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20397 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20399 wxPyEndAllowThreads(__tstate
);
20400 if (PyErr_Occurred()) SWIG_fail
;
20403 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20404 hi
= PyLong_FromLong( (&result
)->GetHi() );
20405 lo
= PyLong_FromLong( (&result
)->GetLo() );
20406 shifter
= PyLong_FromLong(32);
20407 shifted
= PyNumber_Lshift(hi
, shifter
);
20408 resultobj
= PyNumber_Or(shifted
, lo
);
20411 Py_DECREF(shifter
);
20412 Py_DECREF(shifted
);
20420 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20421 PyObject
*resultobj
;
20422 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20424 PyObject
* obj0
= 0 ;
20425 char *kwnames
[] = {
20426 (char *) "self", NULL
20429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20439 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20440 hi
= PyLong_FromLong( (&result
)->GetHi() );
20441 lo
= PyLong_FromLong( (&result
)->GetLo() );
20442 shifter
= PyLong_FromLong(32);
20443 shifted
= PyNumber_Lshift(hi
, shifter
);
20444 resultobj
= PyNumber_Or(shifted
, lo
);
20447 Py_DECREF(shifter
);
20448 Py_DECREF(shifted
);
20456 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20457 PyObject
*resultobj
;
20458 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20459 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20460 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20462 bool temp2
= False
;
20463 PyObject
* obj0
= 0 ;
20464 PyObject
* obj1
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "format", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20473 arg2
= wxString_in_helper(obj1
);
20474 if (arg2
== NULL
) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20489 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20506 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20509 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20511 return Py_BuildValue((char *)"");
20513 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 int arg1
= (int) 0 ;
20516 int arg2
= (int) 0 ;
20517 int arg3
= (int) 0 ;
20518 int arg4
= (int) 0 ;
20519 wxDateSpan
*result
;
20520 char *kwnames
[] = {
20521 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20539 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20541 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 Py_INCREF(Py_None
); resultobj
= Py_None
;
20563 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20567 char *kwnames
[] = {
20568 (char *) "days", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= wxDateSpan::Days(arg1
);
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 wxDateSpan
* resultptr
;
20581 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20582 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20590 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20593 char *kwnames
[] = {
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 result
= wxDateSpan::Day();
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20606 wxDateSpan
* resultptr
;
20607 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20616 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20620 char *kwnames
[] = {
20621 (char *) "weeks", NULL
20624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= wxDateSpan::Weeks(arg1
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 wxDateSpan
* resultptr
;
20634 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20643 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
;
20646 char *kwnames
[] = {
20650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20653 result
= wxDateSpan::Week();
20655 wxPyEndAllowThreads(__tstate
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20659 wxDateSpan
* resultptr
;
20660 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20661 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20669 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20673 char *kwnames
[] = {
20674 (char *) "mon", NULL
20677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= wxDateSpan::Months(arg1
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20686 wxDateSpan
* resultptr
;
20687 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20688 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20696 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20699 char *kwnames
[] = {
20703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 result
= wxDateSpan::Month();
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20712 wxDateSpan
* resultptr
;
20713 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20714 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20722 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20726 char *kwnames
[] = {
20727 (char *) "years", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= wxDateSpan::Years(arg1
);
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 wxDateSpan
* resultptr
;
20740 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20741 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20749 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20752 char *kwnames
[] = {
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= wxDateSpan::Year();
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20765 wxDateSpan
* resultptr
;
20766 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20767 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20775 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20776 PyObject
*resultobj
;
20777 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20779 wxDateSpan
*result
;
20780 PyObject
* obj0
= 0 ;
20781 char *kwnames
[] = {
20782 (char *) "self",(char *) "n", NULL
20785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20791 result
= (wxDateSpan
*) &_result_ref
;
20794 wxPyEndAllowThreads(__tstate
);
20795 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20804 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20808 wxDateSpan
*result
;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self",(char *) "n", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20820 result
= (wxDateSpan
*) &_result_ref
;
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20833 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20837 wxDateSpan
*result
;
20838 PyObject
* obj0
= 0 ;
20839 char *kwnames
[] = {
20840 (char *) "self",(char *) "n", NULL
20843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20848 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20849 result
= (wxDateSpan
*) &_result_ref
;
20852 wxPyEndAllowThreads(__tstate
);
20853 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20862 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20863 PyObject
*resultobj
;
20864 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20866 wxDateSpan
*result
;
20867 PyObject
* obj0
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "self",(char *) "n", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20877 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20878 result
= (wxDateSpan
*) &_result_ref
;
20881 wxPyEndAllowThreads(__tstate
);
20882 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20891 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20892 PyObject
*resultobj
;
20893 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20895 PyObject
* obj0
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20904 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= PyInt_FromLong((long)result
);
20916 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20920 PyObject
* obj0
= 0 ;
20921 char *kwnames
[] = {
20922 (char *) "self", NULL
20925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20934 resultobj
= PyInt_FromLong((long)result
);
20941 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20942 PyObject
*resultobj
;
20943 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20945 PyObject
* obj0
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20954 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= PyInt_FromLong((long)result
);
20966 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
;
20968 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20970 PyObject
* obj0
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20981 wxPyEndAllowThreads(__tstate
);
20982 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= PyInt_FromLong((long)result
);
20991 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20992 PyObject
*resultobj
;
20993 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20995 PyObject
* obj0
= 0 ;
20996 char *kwnames
[] = {
20997 (char *) "self", NULL
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
21001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21004 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
21006 wxPyEndAllowThreads(__tstate
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= PyInt_FromLong((long)result
);
21016 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21017 PyObject
*resultobj
;
21018 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21019 wxDateSpan
*arg2
= 0 ;
21020 wxDateSpan
*result
;
21021 PyObject
* obj0
= 0 ;
21022 PyObject
* obj1
= 0 ;
21023 char *kwnames
[] = {
21024 (char *) "self",(char *) "other", NULL
21027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21030 if (arg2
== NULL
) {
21031 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21036 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
21037 result
= (wxDateSpan
*) &_result_ref
;
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21050 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21053 wxDateSpan
*arg2
= 0 ;
21054 wxDateSpan
*result
;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char *kwnames
[] = {
21058 (char *) "self",(char *) "other", NULL
21061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21064 if (arg2
== NULL
) {
21065 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
21071 result
= (wxDateSpan
*) &_result_ref
;
21074 wxPyEndAllowThreads(__tstate
);
21075 if (PyErr_Occurred()) SWIG_fail
;
21077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21084 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21087 wxDateSpan
*result
;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 wxDateSpan
&_result_ref
= (arg1
)->Neg();
21099 result
= (wxDateSpan
*) &_result_ref
;
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21112 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21113 PyObject
*resultobj
;
21114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21116 wxDateSpan
*result
;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self",(char *) "factor", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21128 result
= (wxDateSpan
*) &_result_ref
;
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21141 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21144 wxDateSpan
*arg2
= 0 ;
21145 wxDateSpan
*result
;
21146 PyObject
* obj0
= 0 ;
21147 PyObject
* obj1
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self",(char *) "other", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21154 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21155 if (arg2
== NULL
) {
21156 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21161 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
21162 result
= (wxDateSpan
*) &_result_ref
;
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21175 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21178 wxDateSpan
*arg2
= 0 ;
21179 wxDateSpan
*result
;
21180 PyObject
* obj0
= 0 ;
21181 PyObject
* obj1
= 0 ;
21182 char *kwnames
[] = {
21183 (char *) "self",(char *) "other", NULL
21186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21189 if (arg2
== NULL
) {
21190 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21195 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
21196 result
= (wxDateSpan
*) &_result_ref
;
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21209 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21212 wxDateSpan
*result
;
21213 PyObject
* obj0
= 0 ;
21214 char *kwnames
[] = {
21215 (char *) "self", NULL
21218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
21219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 wxDateSpan
&_result_ref
= (arg1
)->operator -();
21224 result
= (wxDateSpan
*) &_result_ref
;
21227 wxPyEndAllowThreads(__tstate
);
21228 if (PyErr_Occurred()) SWIG_fail
;
21230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21237 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21239 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21241 wxDateSpan
*result
;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "self",(char *) "factor", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21253 result
= (wxDateSpan
*) &_result_ref
;
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21266 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21269 wxDateSpan
*arg2
= 0 ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self",(char *) "other", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21279 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21280 if (arg2
== NULL
) {
21281 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21291 wxDateSpan
* resultptr
;
21292 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21293 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21301 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21302 PyObject
*resultobj
;
21303 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21304 wxDateSpan
*arg2
= 0 ;
21306 PyObject
* obj0
= 0 ;
21307 PyObject
* obj1
= 0 ;
21308 char *kwnames
[] = {
21309 (char *) "self",(char *) "other", NULL
21312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21314 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21315 if (arg2
== NULL
) {
21316 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21320 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21322 wxPyEndAllowThreads(__tstate
);
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 wxDateSpan
* resultptr
;
21327 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21336 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self",(char *) "n", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= wxDateSpan___mul__(arg1
,arg2
);
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 wxDateSpan
* resultptr
;
21357 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21366 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self",(char *) "n", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= wxDateSpan___rmul__(arg1
,arg2
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 wxDateSpan
* resultptr
;
21387 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21388 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21396 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21398 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21399 wxDateSpan
*arg2
= 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 char *kwnames
[] = {
21404 (char *) "self",(char *) "other", NULL
21407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21409 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21410 if (arg2
== NULL
) {
21411 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21420 resultobj
= PyInt_FromLong((long)result
);
21427 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21428 PyObject
*resultobj
;
21429 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21430 wxDateSpan
*arg2
= 0 ;
21432 PyObject
* obj0
= 0 ;
21433 PyObject
* obj1
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self",(char *) "other", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21441 if (arg2
== NULL
) {
21442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= PyInt_FromLong((long)result
);
21458 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21461 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21463 return Py_BuildValue((char *)"");
21465 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21466 PyObject
*resultobj
;
21468 char *kwnames
[] = {
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21475 result
= (long)wxGetLocalTime();
21477 wxPyEndAllowThreads(__tstate
);
21478 if (PyErr_Occurred()) SWIG_fail
;
21480 resultobj
= PyInt_FromLong((long)result
);
21487 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
;
21490 char *kwnames
[] = {
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (long)wxGetUTCTime();
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= PyInt_FromLong((long)result
);
21509 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21512 char *kwnames
[] = {
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21519 result
= (long)wxGetCurrentTime();
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 resultobj
= PyInt_FromLong((long)result
);
21531 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21534 char *kwnames
[] = {
21538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= wxGetLocalTimeMillis();
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21548 hi
= PyLong_FromLong( (&result
)->GetHi() );
21549 lo
= PyLong_FromLong( (&result
)->GetLo() );
21550 shifter
= PyLong_FromLong(32);
21551 shifted
= PyNumber_Lshift(hi
, shifter
);
21552 resultobj
= PyNumber_Or(shifted
, lo
);
21555 Py_DECREF(shifter
);
21556 Py_DECREF(shifted
);
21564 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21565 PyObject
*resultobj
;
21567 wxDataFormat
*result
;
21568 char *kwnames
[] = {
21569 (char *) "type", NULL
21572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21575 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21587 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxString
*arg1
= 0 ;
21590 wxDataFormat
*result
;
21591 bool temp1
= False
;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "format", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21599 arg1
= wxString_in_helper(obj0
);
21600 if (arg1
== NULL
) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21625 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21626 PyObject
*resultobj
;
21627 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 Py_INCREF(Py_None
); resultobj
= Py_None
;
21649 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21650 PyObject
*resultobj
;
21651 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21654 PyObject
* obj0
= 0 ;
21656 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 resultobj
= PyInt_FromLong((long)result
);
21672 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21673 PyObject
*resultobj
;
21674 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21677 PyObject
* obj0
= 0 ;
21679 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 resultobj
= PyInt_FromLong((long)result
);
21695 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21696 PyObject
*resultobj
;
21697 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21698 wxDataFormat
*arg2
= 0 ;
21700 PyObject
* obj0
= 0 ;
21701 PyObject
* obj1
= 0 ;
21703 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21705 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21706 if (arg2
== NULL
) {
21707 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= PyInt_FromLong((long)result
);
21723 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21728 argc
= PyObject_Length(args
);
21729 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21730 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21736 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21746 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21754 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21762 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21771 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21774 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21779 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21784 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21785 PyObject
*resultobj
;
21786 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21787 wxDataFormat
*arg2
= 0 ;
21789 PyObject
* obj0
= 0 ;
21790 PyObject
* obj1
= 0 ;
21792 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21794 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21795 if (arg2
== NULL
) {
21796 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21805 resultobj
= PyInt_FromLong((long)result
);
21812 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21817 argc
= PyObject_Length(args
);
21818 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21819 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21825 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21835 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21843 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21851 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21860 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21863 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21868 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21873 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self",(char *) "format", NULL
21882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 (arg1
)->SetType((wxDataFormatId
)arg2
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21891 Py_INCREF(Py_None
); resultobj
= Py_None
;
21898 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21899 PyObject
*resultobj
;
21900 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21902 PyObject
* obj0
= 0 ;
21903 char *kwnames
[] = {
21904 (char *) "self", NULL
21907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21911 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21913 wxPyEndAllowThreads(__tstate
);
21914 if (PyErr_Occurred()) SWIG_fail
;
21916 resultobj
= PyInt_FromLong((long)result
);
21923 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21924 PyObject
*resultobj
;
21925 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21927 PyObject
* obj0
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 result
= ((wxDataFormat
const *)arg1
)->GetId();
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21945 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21954 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21957 wxString
*arg2
= 0 ;
21958 bool temp2
= False
;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "format", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21968 arg2
= wxString_in_helper(obj1
);
21969 if (arg2
== NULL
) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->SetId((wxString
const &)*arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21994 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
21996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21997 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
21999 return Py_BuildValue((char *)"");
22001 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
22002 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
22007 static PyObject
*_wrap_FormatInvalid_get() {
22010 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
22015 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 Py_INCREF(Py_None
); resultobj
= Py_None
;
22039 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22040 PyObject
*resultobj
;
22041 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22042 int arg2
= (int) wxDataObject::Get
;
22043 SwigValueWrapper
< wxDataFormat
> result
;
22044 PyObject
* obj0
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "dir", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 wxDataFormat
* resultptr
;
22060 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
22061 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
22069 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22070 PyObject
*resultobj
;
22071 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22072 int arg2
= (int) wxDataObject::Get
;
22074 PyObject
* obj0
= 0 ;
22075 char *kwnames
[] = {
22076 (char *) "self",(char *) "dir", NULL
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
22080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= PyInt_FromLong((long)result
);
22095 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22096 PyObject
*resultobj
;
22097 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22098 wxDataFormat
*arg2
= 0 ;
22099 int arg3
= (int) wxDataObject::Get
;
22101 PyObject
* obj0
= 0 ;
22102 PyObject
* obj1
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self",(char *) "format",(char *) "dir", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22110 if (arg2
== NULL
) {
22111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
22117 wxPyEndAllowThreads(__tstate
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 resultobj
= PyInt_FromLong((long)result
);
22127 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22128 PyObject
*resultobj
;
22129 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22130 wxDataFormat
*arg2
= 0 ;
22132 PyObject
* obj0
= 0 ;
22133 PyObject
* obj1
= 0 ;
22134 char *kwnames
[] = {
22135 (char *) "self",(char *) "format", NULL
22138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22141 if (arg2
== NULL
) {
22142 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= PyInt_FromLong((long)result
);
22158 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22161 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
22162 int arg3
= (int) wxDataObject::Get
;
22163 PyObject
* obj0
= 0 ;
22164 PyObject
* obj1
= 0 ;
22165 char *kwnames
[] = {
22166 (char *) "self",(char *) "formats",(char *) "dir", NULL
22169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22174 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
22176 wxPyEndAllowThreads(__tstate
);
22177 if (PyErr_Occurred()) SWIG_fail
;
22179 Py_INCREF(Py_None
); resultobj
= Py_None
;
22186 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22187 PyObject
*resultobj
;
22188 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22189 wxDataFormat
*arg2
= 0 ;
22190 void *arg3
= (void *) 0 ;
22192 PyObject
* obj0
= 0 ;
22193 PyObject
* obj1
= 0 ;
22194 PyObject
* obj2
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "format",(char *) "buf", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22201 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22202 if (arg2
== NULL
) {
22203 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22205 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22208 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
22210 wxPyEndAllowThreads(__tstate
);
22211 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= PyInt_FromLong((long)result
);
22220 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22221 PyObject
*resultobj
;
22222 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
22223 wxDataFormat
*arg2
= 0 ;
22225 void *arg4
= (void *) 0 ;
22227 PyObject
* obj0
= 0 ;
22228 PyObject
* obj1
= 0 ;
22229 PyObject
* obj2
= 0 ;
22230 PyObject
* obj3
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22238 if (arg2
== NULL
) {
22239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22241 arg3
= (size_t) PyInt_AsLong(obj2
);
22242 if (PyErr_Occurred()) SWIG_fail
;
22243 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22246 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22251 resultobj
= PyInt_FromLong((long)result
);
22258 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22261 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22263 return Py_BuildValue((char *)"");
22265 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22266 PyObject
*resultobj
;
22267 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22268 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22269 wxDataObjectSimple
*result
;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "format", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22278 if (arg1
== NULL
) {
22279 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22296 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22299 wxDataFormat
*result
;
22300 PyObject
* obj0
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22310 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22311 result
= (wxDataFormat
*) &_result_ref
;
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22324 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22325 PyObject
*resultobj
;
22326 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22327 wxDataFormat
*arg2
= 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "format", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22337 if (arg2
== NULL
) {
22338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 Py_INCREF(Py_None
); resultobj
= Py_None
;
22354 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22357 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22359 return Py_BuildValue((char *)"");
22361 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
;
22363 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22364 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22365 wxPyDataObjectSimple
*result
;
22366 PyObject
* obj0
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "format", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22374 if (arg1
== NULL
) {
22375 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22382 wxPyEndAllowThreads(__tstate
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22392 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22395 PyObject
*arg2
= (PyObject
*) 0 ;
22396 PyObject
*arg3
= (PyObject
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 PyObject
* obj1
= 0 ;
22399 PyObject
* obj2
= 0 ;
22400 char *kwnames
[] = {
22401 (char *) "self",(char *) "self",(char *) "_class", NULL
22404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22425 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22427 return Py_BuildValue((char *)"");
22429 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxDataObjectComposite
*result
;
22432 char *kwnames
[] = {
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22451 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22454 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22455 int arg3
= (int) False
;
22456 PyObject
* obj0
= 0 ;
22457 PyObject
* obj1
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22464 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 (arg1
)->Add(arg2
,arg3
);
22469 wxPyEndAllowThreads(__tstate
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 Py_INCREF(Py_None
); resultobj
= Py_None
;
22479 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22481 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22482 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22484 return Py_BuildValue((char *)"");
22486 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22489 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22490 wxTextDataObject
*result
;
22491 bool temp1
= False
;
22492 PyObject
* obj0
= 0 ;
22493 char *kwnames
[] = {
22494 (char *) "text", NULL
22497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22500 arg1
= wxString_in_helper(obj0
);
22501 if (arg1
== NULL
) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22527 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22528 PyObject
*resultobj
;
22529 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (size_t)(arg1
)->GetTextLength();
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= PyInt_FromLong((long)result
);
22552 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (arg1
)->GetText();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22583 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22586 wxString
*arg2
= 0 ;
22587 bool temp2
= False
;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "text", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22597 arg2
= wxString_in_helper(obj1
);
22598 if (arg2
== NULL
) SWIG_fail
;
22602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22603 (arg1
)->SetText((wxString
const &)*arg2
);
22605 wxPyEndAllowThreads(__tstate
);
22606 if (PyErr_Occurred()) SWIG_fail
;
22608 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22626 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22628 return Py_BuildValue((char *)"");
22630 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22633 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22634 wxPyTextDataObject
*result
;
22635 bool temp1
= False
;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "text", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22644 arg1
= wxString_in_helper(obj0
);
22645 if (arg1
== NULL
) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22671 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22674 PyObject
*arg2
= (PyObject
*) 0 ;
22675 PyObject
*arg3
= (PyObject
*) 0 ;
22676 PyObject
* obj0
= 0 ;
22677 PyObject
* obj1
= 0 ;
22678 PyObject
* obj2
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self",(char *) "self",(char *) "_class", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22694 Py_INCREF(Py_None
); resultobj
= Py_None
;
22701 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22704 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22706 return Py_BuildValue((char *)"");
22708 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22711 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22712 wxBitmapDataObject
*result
;
22713 PyObject
* obj0
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "bitmap", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22721 if (arg1
== NULL
) {
22722 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22727 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22729 wxPyEndAllowThreads(__tstate
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22732 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22739 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22740 PyObject
*resultobj
;
22741 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22758 wxBitmap
* resultptr
;
22759 resultptr
= new wxBitmap((wxBitmap
&) result
);
22760 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22768 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22771 wxBitmap
*arg2
= 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "bitmap", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22781 if (arg2
== NULL
) {
22782 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22786 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22788 wxPyEndAllowThreads(__tstate
);
22789 if (PyErr_Occurred()) SWIG_fail
;
22791 Py_INCREF(Py_None
); resultobj
= Py_None
;
22798 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22800 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22801 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22803 return Py_BuildValue((char *)"");
22805 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22806 PyObject
*resultobj
;
22807 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22808 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22809 wxPyBitmapDataObject
*result
;
22810 PyObject
* obj0
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "bitmap", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22818 if (arg1
== NULL
) {
22819 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22836 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22839 PyObject
*arg2
= (PyObject
*) 0 ;
22840 PyObject
*arg3
= (PyObject
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 PyObject
* obj1
= 0 ;
22843 PyObject
* obj2
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self",(char *) "self",(char *) "_class", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22866 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22869 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22871 return Py_BuildValue((char *)"");
22873 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxFileDataObject
*result
;
22876 char *kwnames
[] = {
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (wxFileDataObject
*)new wxFileDataObject();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22895 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22898 wxArrayString
*result
;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22910 result
= (wxArrayString
*) &_result_ref
;
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= wxArrayString2PyList_helper(*result
);
22925 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22927 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22928 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22930 return Py_BuildValue((char *)"");
22932 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22935 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22936 wxCustomDataObject
*result
;
22937 PyObject
* obj0
= 0 ;
22938 char *kwnames
[] = {
22939 (char *) "format", NULL
22942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22945 if (arg1
== NULL
) {
22946 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22963 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22966 PyObject
*arg2
= (PyObject
*) 0 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "data", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 wxCustomDataObject_TakeData(arg1
,arg2
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22983 Py_INCREF(Py_None
); resultobj
= Py_None
;
22990 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22991 PyObject
*resultobj
;
22992 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22993 PyObject
*arg2
= (PyObject
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self",(char *) "data", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= PyInt_FromLong((long)result
);
23018 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23022 PyObject
* obj0
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23031 result
= (size_t)(arg1
)->GetSize();
23033 wxPyEndAllowThreads(__tstate
);
23034 if (PyErr_Occurred()) SWIG_fail
;
23036 resultobj
= PyInt_FromLong((long)result
);
23043 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23044 PyObject
*resultobj
;
23045 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
23053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23056 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
23058 wxPyEndAllowThreads(__tstate
);
23059 if (PyErr_Occurred()) SWIG_fail
;
23061 resultobj
= result
;
23068 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23071 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
23073 return Py_BuildValue((char *)"");
23075 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23076 PyObject
*resultobj
;
23077 wxURLDataObject
*result
;
23078 char *kwnames
[] = {
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
23084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23085 result
= (wxURLDataObject
*)new wxURLDataObject();
23087 wxPyEndAllowThreads(__tstate
);
23088 if (PyErr_Occurred()) SWIG_fail
;
23090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
23097 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 char *kwnames
[] = {
23103 (char *) "self", NULL
23106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
23107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (arg1
)->GetURL();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23128 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
23131 wxString
*arg2
= 0 ;
23132 bool temp2
= False
;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "url", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23142 arg2
= wxString_in_helper(obj1
);
23143 if (arg2
== NULL
) SWIG_fail
;
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23148 (arg1
)->SetURL((wxString
const &)*arg2
);
23150 wxPyEndAllowThreads(__tstate
);
23151 if (PyErr_Occurred()) SWIG_fail
;
23153 Py_INCREF(Py_None
); resultobj
= Py_None
;
23168 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23171 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
23173 return Py_BuildValue((char *)"");
23175 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxMetafileDataObject
*result
;
23178 char *kwnames
[] = {
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
23184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23185 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
23197 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
23199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23200 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
23202 return Py_BuildValue((char *)"");
23204 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23205 PyObject
*resultobj
;
23208 char *kwnames
[] = {
23209 (char *) "res", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= PyInt_FromLong((long)result
);
23227 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxWindow
*arg1
= (wxWindow
*) NULL
;
23230 wxIcon
const &arg2_defvalue
= wxNullIcon
;
23231 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
23232 wxIcon
const &arg3_defvalue
= wxNullIcon
;
23233 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
23234 wxIcon
const &arg4_defvalue
= wxNullIcon
;
23235 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
23236 wxPyDropSource
*result
;
23237 PyObject
* obj0
= 0 ;
23238 PyObject
* obj1
= 0 ;
23239 PyObject
* obj2
= 0 ;
23240 PyObject
* obj3
= 0 ;
23241 char *kwnames
[] = {
23242 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23250 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23251 if (arg2
== NULL
) {
23252 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23256 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23257 if (arg3
== NULL
) {
23258 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23262 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23263 if (arg4
== NULL
) {
23264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23281 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23282 PyObject
*resultobj
;
23283 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23284 PyObject
*arg2
= (PyObject
*) 0 ;
23285 PyObject
*arg3
= (PyObject
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 PyObject
* obj2
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 Py_INCREF(Py_None
); resultobj
= Py_None
;
23312 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23313 PyObject
*resultobj
;
23314 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23315 PyObject
* obj0
= 0 ;
23316 char *kwnames
[] = {
23317 (char *) "self", NULL
23320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 Py_INCREF(Py_None
); resultobj
= Py_None
;
23336 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23337 PyObject
*resultobj
;
23338 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23339 wxDataObject
*arg2
= 0 ;
23340 PyObject
* obj0
= 0 ;
23341 PyObject
* obj1
= 0 ;
23342 char *kwnames
[] = {
23343 (char *) "self",(char *) "data", NULL
23346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23348 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23349 if (arg2
== NULL
) {
23350 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 (arg1
)->SetData(*arg2
);
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 Py_INCREF(Py_None
); resultobj
= Py_None
;
23366 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23369 wxDataObject
*result
;
23370 PyObject
* obj0
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23391 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23395 wxCursor
*arg3
= 0 ;
23396 PyObject
* obj0
= 0 ;
23397 PyObject
* obj2
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self",(char *) "res",(char *) "cursor", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23404 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23405 if (arg3
== NULL
) {
23406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23410 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23415 Py_INCREF(Py_None
); resultobj
= Py_None
;
23422 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23423 PyObject
*resultobj
;
23424 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23425 int arg2
= (int) wxDrag_CopyOnly
;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self",(char *) "flags", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23436 result
= (int)(arg1
)->DoDragDrop(arg2
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= PyInt_FromLong((long)result
);
23448 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
;
23450 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23453 PyObject
* obj0
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "effect", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23462 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= PyInt_FromLong((long)result
);
23474 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23477 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23479 return Py_BuildValue((char *)"");
23481 static PyObject
*_wrap_new_PyDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23482 PyObject
*resultobj
;
23483 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23484 wxPyDropTarget
*result
;
23485 PyObject
* obj0
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "dataObject", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDropTarget",kwnames
,&obj0
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23496 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23508 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23509 PyObject
*resultobj
;
23510 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23511 PyObject
*arg2
= (PyObject
*) 0 ;
23512 PyObject
*arg3
= (PyObject
*) 0 ;
23513 PyObject
* obj0
= 0 ;
23514 PyObject
* obj1
= 0 ;
23515 PyObject
* obj2
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self",(char *) "self",(char *) "_class", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23531 Py_INCREF(Py_None
); resultobj
= Py_None
;
23538 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 Py_INCREF(Py_None
); resultobj
= Py_None
;
23562 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23565 wxDataObject
*result
;
23566 PyObject
* obj0
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23575 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23577 wxPyEndAllowThreads(__tstate
);
23578 if (PyErr_Occurred()) SWIG_fail
;
23580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23587 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23590 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23591 PyObject
* obj0
= 0 ;
23592 PyObject
* obj1
= 0 ;
23593 char *kwnames
[] = {
23594 (char *) "self",(char *) "dataObject", NULL
23597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 (arg1
)->SetDataObject(arg2
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 Py_INCREF(Py_None
); resultobj
= Py_None
;
23614 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= PyInt_FromLong((long)result
);
23642 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= PyInt_FromLong((long)result
);
23670 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23673 PyObject
* obj0
= 0 ;
23674 char *kwnames
[] = {
23675 (char *) "self", NULL
23678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23682 (arg1
)->base_OnLeave();
23684 wxPyEndAllowThreads(__tstate
);
23685 if (PyErr_Occurred()) SWIG_fail
;
23687 Py_INCREF(Py_None
); resultobj
= Py_None
;
23694 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23700 PyObject
* obj0
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "x",(char *) "y", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23711 wxPyEndAllowThreads(__tstate
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23714 resultobj
= PyInt_FromLong((long)result
);
23721 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23722 PyObject
*resultobj
;
23723 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23725 PyObject
* obj0
= 0 ;
23726 char *kwnames
[] = {
23727 (char *) "self", NULL
23730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (bool)(arg1
)->GetData();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= PyInt_FromLong((long)result
);
23746 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23749 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23751 return Py_BuildValue((char *)"");
23753 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23754 PyObject
*resultobj
;
23755 wxPyTextDropTarget
*result
;
23756 char *kwnames
[] = {
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23775 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23778 PyObject
*arg2
= (PyObject
*) 0 ;
23779 PyObject
*arg3
= (PyObject
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 PyObject
* obj1
= 0 ;
23782 PyObject
* obj2
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "self",(char *) "_class", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 Py_INCREF(Py_None
); resultobj
= Py_None
;
23805 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23812 PyObject
* obj0
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23826 resultobj
= PyInt_FromLong((long)result
);
23833 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
;
23835 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23840 PyObject
* obj0
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23849 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23851 wxPyEndAllowThreads(__tstate
);
23852 if (PyErr_Occurred()) SWIG_fail
;
23854 resultobj
= PyInt_FromLong((long)result
);
23861 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23862 PyObject
*resultobj
;
23863 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 (arg1
)->base_OnLeave();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 Py_INCREF(Py_None
); resultobj
= Py_None
;
23885 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "x",(char *) "y", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= PyInt_FromLong((long)result
);
23912 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23913 PyObject
*resultobj
;
23914 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 char *kwnames
[] = {
23921 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 resultobj
= PyInt_FromLong((long)result
);
23940 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23943 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23945 return Py_BuildValue((char *)"");
23947 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxPyFileDropTarget
*result
;
23950 char *kwnames
[] = {
23954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23959 wxPyEndAllowThreads(__tstate
);
23960 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23969 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23970 PyObject
*resultobj
;
23971 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23972 PyObject
*arg2
= (PyObject
*) 0 ;
23973 PyObject
*arg3
= (PyObject
*) 0 ;
23974 PyObject
* obj0
= 0 ;
23975 PyObject
* obj1
= 0 ;
23976 PyObject
* obj2
= 0 ;
23977 char *kwnames
[] = {
23978 (char *) "self",(char *) "self",(char *) "_class", NULL
23981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23992 Py_INCREF(Py_None
); resultobj
= Py_None
;
23999 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24000 PyObject
*resultobj
;
24001 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24015 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
24017 wxPyEndAllowThreads(__tstate
);
24018 if (PyErr_Occurred()) SWIG_fail
;
24020 resultobj
= PyInt_FromLong((long)result
);
24027 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 char *kwnames
[] = {
24036 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24043 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
24045 wxPyEndAllowThreads(__tstate
);
24046 if (PyErr_Occurred()) SWIG_fail
;
24048 resultobj
= PyInt_FromLong((long)result
);
24055 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 (arg1
)->base_OnLeave();
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 Py_INCREF(Py_None
); resultobj
= Py_None
;
24079 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self",(char *) "x",(char *) "y", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= PyInt_FromLong((long)result
);
24106 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
24113 PyObject
* obj0
= 0 ;
24114 char *kwnames
[] = {
24115 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
24118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
24119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= PyInt_FromLong((long)result
);
24134 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
24136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24137 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
24139 return Py_BuildValue((char *)"");
24141 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxClipboard
*result
;
24144 char *kwnames
[] = {
24148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
24150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24151 result
= (wxClipboard
*)new wxClipboard();
24153 wxPyEndAllowThreads(__tstate
);
24154 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
24163 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24164 PyObject
*resultobj
;
24165 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24188 PyObject
*resultobj
;
24189 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24191 PyObject
* obj0
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (bool)(arg1
)->Open();
24202 wxPyEndAllowThreads(__tstate
);
24203 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= PyInt_FromLong((long)result
);
24212 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24213 PyObject
*resultobj
;
24214 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 char *kwnames
[] = {
24217 (char *) "self", NULL
24220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
24221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 resultobj
= PyInt_FromLong((long)result
);
24261 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24264 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "data", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (bool)(arg1
)->AddData(arg2
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= PyInt_FromLong((long)result
);
24289 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24292 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "data", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24305 result
= (bool)(arg1
)->SetData(arg2
);
24307 wxPyEndAllowThreads(__tstate
);
24308 if (PyErr_Occurred()) SWIG_fail
;
24310 resultobj
= PyInt_FromLong((long)result
);
24317 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24318 PyObject
*resultobj
;
24319 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24320 wxDataFormat
*arg2
= 0 ;
24322 PyObject
* obj0
= 0 ;
24323 PyObject
* obj1
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self",(char *) "format", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24330 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24331 if (arg2
== NULL
) {
24332 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24338 wxPyEndAllowThreads(__tstate
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= PyInt_FromLong((long)result
);
24348 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24349 PyObject
*resultobj
;
24350 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24351 wxDataObject
*arg2
= 0 ;
24353 PyObject
* obj0
= 0 ;
24354 PyObject
* obj1
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "data", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24361 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24362 if (arg2
== NULL
) {
24363 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 result
= (bool)(arg1
)->GetData(*arg2
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24372 resultobj
= PyInt_FromLong((long)result
);
24379 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24382 PyObject
* obj0
= 0 ;
24383 char *kwnames
[] = {
24384 (char *) "self", NULL
24387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24405 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24407 PyObject
* obj0
= 0 ;
24408 char *kwnames
[] = {
24409 (char *) "self", NULL
24412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (bool)(arg1
)->Flush();
24418 wxPyEndAllowThreads(__tstate
);
24419 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= PyInt_FromLong((long)result
);
24428 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24431 bool arg2
= (bool) False
;
24432 PyObject
* obj0
= 0 ;
24433 PyObject
* obj1
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self",(char *) "primary", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24441 arg2
= PyInt_AsLong(obj1
) ? true : false;
24442 if (PyErr_Occurred()) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 (arg1
)->UsePrimarySelection(arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 Py_INCREF(Py_None
); resultobj
= Py_None
;
24458 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24461 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24463 return Py_BuildValue((char *)"");
24465 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24466 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24471 static PyObject
*_wrap_TheClipboard_get() {
24474 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24479 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24480 PyObject
*resultobj
;
24481 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24482 wxClipboardLocker
*result
;
24483 PyObject
* obj0
= 0 ;
24484 char *kwnames
[] = {
24485 (char *) "clipboard", NULL
24488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24494 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24496 wxPyEndAllowThreads(__tstate
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24506 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24509 PyObject
* obj0
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 wxPyEndAllowThreads(__tstate
);
24521 if (PyErr_Occurred()) SWIG_fail
;
24523 Py_INCREF(Py_None
); resultobj
= Py_None
;
24530 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24531 PyObject
*resultobj
;
24532 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24534 PyObject
* obj0
= 0 ;
24535 char *kwnames
[] = {
24536 (char *) "self", NULL
24539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24543 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= PyInt_FromLong((long)result
);
24555 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24558 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24560 return Py_BuildValue((char *)"");
24562 static PyMethodDef SwigMethods
[] = {
24563 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24570 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24577 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24637 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24645 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24661 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24666 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24669 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24672 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24678 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24692 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24698 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24704 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24707 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24720 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24723 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24724 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24727 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24754 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24756 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24758 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24760 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24767 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24773 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
24786 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24791 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24794 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24811 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24819 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24865 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24893 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24899 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24915 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24931 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24945 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24954 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24997 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
25001 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
25004 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
25007 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
25065 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
25078 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25082 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
25083 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
25084 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
25085 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25086 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
25087 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
25088 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
25089 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
25090 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
25091 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
25092 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
25093 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
25094 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
25095 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
25096 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
25097 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25098 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
25099 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
25100 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
25101 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
25102 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
25103 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
25104 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
25105 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
25106 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
25107 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
25108 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
25109 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
25110 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
25111 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
25112 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
25113 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
25114 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
25115 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
25116 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
25117 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
25118 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
25119 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
25120 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
25121 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
25122 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
25123 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
25124 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
25125 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25126 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25127 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25128 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25129 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25130 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
25131 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25132 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25133 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25134 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25135 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
25136 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25137 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25138 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25139 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25140 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25141 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25142 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25143 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25144 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
25145 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
25146 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
25147 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
25148 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25149 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25150 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
25151 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
25152 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
25153 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
25154 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
25155 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
25156 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25157 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25158 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
25159 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
25160 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
25161 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
25162 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
25163 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
25164 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25165 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
25166 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
25167 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
25168 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
25169 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
25170 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
25171 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
25172 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
25173 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
25174 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
25175 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25176 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25177 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
25178 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
25179 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
25180 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
25181 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
25182 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
25183 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
25184 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
25185 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
25186 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
25187 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
25188 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
25189 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
25190 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
25191 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
25192 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
25193 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
25194 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
25195 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
25196 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
25197 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
25198 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
25199 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
25200 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
25201 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
25202 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25203 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25204 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
25205 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
25206 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
25207 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
25208 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
25209 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
25210 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
25211 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
25212 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
25213 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
25214 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
25215 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25216 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
25217 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
25218 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
25219 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25220 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
25221 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25222 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25223 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
25224 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
25225 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
25226 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25227 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
25228 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
25229 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
25230 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
25231 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25232 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25233 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25234 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25235 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25236 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25237 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25238 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25239 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25240 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25241 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25242 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25243 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25244 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25245 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25246 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25247 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25248 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25249 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25250 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25251 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25252 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25253 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25254 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25255 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25256 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25257 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25258 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25259 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25260 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25261 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25262 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25263 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25264 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25265 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25266 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25267 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25268 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25269 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25270 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25271 { (char *)"new_PyDropTarget", (PyCFunction
) _wrap_new_PyDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25272 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25273 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25274 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25275 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25276 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25277 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25278 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25279 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25280 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25281 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25282 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25283 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25284 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25285 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25286 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25287 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25288 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25289 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25290 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25291 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25292 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25293 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25294 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25295 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25296 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25297 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25298 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25299 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25300 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25301 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25302 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25303 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25304 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25305 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25306 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25307 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25308 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25309 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25310 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25311 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25312 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25313 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25314 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25319 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25321 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25324 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25325 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25327 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25328 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25330 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25331 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25333 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25334 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25336 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25337 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25339 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25340 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25342 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25343 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25345 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25346 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25348 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25349 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25351 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25352 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25354 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25355 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25357 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25358 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25360 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25363 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25364 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25366 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25367 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25369 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25370 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25372 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25373 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25375 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25376 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25378 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25379 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25381 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25382 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25384 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25385 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25387 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25388 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25390 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25391 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25393 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25394 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25396 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25397 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25399 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25400 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25402 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25403 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25405 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25406 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25408 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25409 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25411 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25412 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25414 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25415 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25417 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25418 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25420 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25421 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25423 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25424 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25426 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25427 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25429 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25430 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25432 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25433 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25435 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25436 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25438 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25439 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25441 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25442 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25444 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25445 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25447 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25448 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25450 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25451 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25453 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25454 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25456 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25457 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25459 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25460 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25462 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25463 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25465 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25466 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25468 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25469 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25471 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25472 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25474 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25475 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25477 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25478 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25480 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25481 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25483 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25484 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25486 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25487 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25489 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25490 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25492 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25493 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25495 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25496 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25498 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25499 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25501 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25502 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25504 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25505 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25507 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25510 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25511 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25513 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25516 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25517 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25519 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25520 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25522 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25523 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25525 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25526 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25528 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25529 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25531 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25532 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25534 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25535 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25537 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25538 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25540 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25541 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25543 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25544 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25546 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25547 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25549 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25552 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25553 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25555 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25556 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25558 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25559 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25561 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25562 return (void *)((wxObject
*) ((wxSizer
*) x
));
25564 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25565 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25567 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25568 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25570 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25573 static void *_p_wxEventTo_p_wxObject(void *x
) {
25574 return (void *)((wxObject
*) ((wxEvent
*) x
));
25576 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25577 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25579 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25580 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25582 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25583 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25585 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25586 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25588 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25589 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25591 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25592 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25594 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25595 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25597 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25598 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25600 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25601 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25603 static void *_p_wxControlTo_p_wxObject(void *x
) {
25604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25606 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25607 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25609 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25610 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25612 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25613 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25615 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25616 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25618 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25619 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25621 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25622 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25624 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25627 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25628 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25630 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25631 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25633 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25634 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25636 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25637 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25639 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25642 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25643 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25645 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25646 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25648 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25649 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25651 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25652 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25654 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25655 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25657 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25658 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25660 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25663 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25666 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25669 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25672 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25675 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25676 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25678 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25679 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25681 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25682 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25684 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25685 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25687 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25690 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25691 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25693 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25696 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25697 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25699 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25700 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25702 static void *_p_wxImageTo_p_wxObject(void *x
) {
25703 return (void *)((wxObject
*) ((wxImage
*) x
));
25705 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25706 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25708 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25709 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25711 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25712 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25714 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25715 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25717 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25718 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25720 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25721 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25723 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25726 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25727 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25729 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25732 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25733 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25735 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25736 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25738 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25741 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25742 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25744 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25745 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25747 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25748 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25750 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25751 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25753 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25754 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25756 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25757 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25759 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25762 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25763 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25765 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25766 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25768 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25769 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25771 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25772 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25774 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25775 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25777 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25780 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25783 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25784 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25786 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25787 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25789 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25790 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25792 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25793 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25795 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25796 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25798 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25799 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25801 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25802 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25804 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25805 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25807 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25808 return (void *)((wxWindow
*) ((wxControl
*) x
));
25810 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25811 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25813 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25814 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25816 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25817 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25819 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25820 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25822 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25823 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25824 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25825 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}};
25826 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25827 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25828 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}};
25829 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}};
25830 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25831 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25832 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25833 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25834 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25835 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25836 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25837 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25838 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25839 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25840 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25841 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25842 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25843 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25844 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25845 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25846 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25847 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25848 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25849 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25850 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25851 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25852 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25853 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}};
25854 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25855 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25856 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25857 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25858 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25859 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25860 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25861 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25862 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25863 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25864 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25865 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25866 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25867 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}};
25868 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}};
25869 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25870 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25871 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25872 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25873 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25874 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25875 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25876 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25877 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25878 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25879 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25880 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25881 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25882 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25883 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}};
25884 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25885 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25886 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25887 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}};
25888 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25889 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25890 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25891 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25892 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25893 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25894 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}};
25895 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25896 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25897 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25898 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25899 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25900 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25901 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25902 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25903 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25905 static swig_type_info
*swig_types_initial
[] = {
25906 _swigt__p_wxLogChain
,
25907 _swigt__p_wxMutexGuiLocker
,
25908 _swigt__p_wxFileHistory
,
25910 _swigt__p_wxDateTime__TimeZone
,
25913 _swigt__p_wxConfigBase
,
25915 _swigt__p_wxFileType
,
25916 _swigt__p_wxLogGui
,
25918 _swigt__p_wxDataFormat
,
25919 _swigt__p_wxTimerEvent
,
25923 _swigt__p_wxClipboard
,
25924 _swigt__p_wxStopWatch
,
25926 _swigt__p_wxClipboardLocker
,
25928 _swigt__p_wxLogStderr
,
25929 _swigt__p_wxLogTextCtrl
,
25930 _swigt__p_wxTextCtrl
,
25931 _swigt__p_wxBusyCursor
,
25932 _swigt__p_wxFileDataObject
,
25933 _swigt__p_wxPyBitmapDataObject
,
25934 _swigt__p_wxPyTextDataObject
,
25935 _swigt__p_wxBitmapDataObject
,
25936 _swigt__p_wxTextDataObject
,
25937 _swigt__p_wxDataObject
,
25938 _swigt__p_wxCustomDataObject
,
25939 _swigt__p_wxURLDataObject
,
25940 _swigt__p_wxMetafileDataObject
,
25941 _swigt__p_wxTimerRunner
,
25942 _swigt__p_wxLogWindow
,
25943 _swigt__p_wxTimeSpan
,
25944 _swigt__p_wxArrayString
,
25945 _swigt__p_wxWindowDisabler
,
25946 _swigt__p_wxToolTip
,
25947 _swigt__p_wxDataObjectComposite
,
25948 _swigt__p_wxFileConfig
,
25949 _swigt__p_wxSystemSettings
,
25950 _swigt__p_wxPyDataObjectSimple
,
25951 _swigt__p_wxDataObjectSimple
,
25952 _swigt__p_wxEvtHandler
,
25954 _swigt__p_wxSingleInstanceChecker
,
25955 _swigt__p_wxFileTypeInfo
,
25958 _swigt__p_wxMimeTypesManager
,
25959 _swigt__p_wxPyArtProvider
,
25960 _swigt__p_wxPyTipProvider
,
25961 _swigt__p_wxTipProvider
,
25962 _swigt__p_wxJoystick
,
25963 _swigt__p_wxSystemOptions
,
25965 _swigt__p_wxJoystickEvent
,
25966 _swigt__p_wxCursor
,
25967 _swigt__p_wxObject
,
25968 _swigt__p_wxOutputStream
,
25969 _swigt__p_wxDateTime
,
25970 _swigt__p_wxPyDropSource
,
25971 _swigt__p_wxWindow
,
25972 _swigt__p_wxString
,
25973 _swigt__p_wxPyProcess
,
25974 _swigt__p_wxBitmap
,
25975 _swigt__p_wxConfig
,
25977 _swigt__p_wxBusyInfo
,
25978 _swigt__p_wxPyDropTarget
,
25979 _swigt__p_wxPyTextDropTarget
,
25980 _swigt__p_wxPyFileDropTarget
,
25981 _swigt__p_wxProcessEvent
,
25983 _swigt__p_wxLogNull
,
25984 _swigt__p_wxColour
,
25985 _swigt__p_wxConfigPathChanger
,
25986 _swigt__p_wxPyTimer
,
25987 _swigt__p_wxDateSpan
,
25992 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25994 static swig_const_info swig_const_table
[] = {
25995 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
26102 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
26103 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
26104 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
26105 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
26106 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
26107 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
26117 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
26118 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
26119 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
26120 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
26121 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
26122 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
26123 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
26124 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
26125 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
26126 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
26127 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
26128 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
26129 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
26130 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
26131 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
26132 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
26133 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
26134 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
26135 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
26136 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
26137 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
26138 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
26139 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
26140 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
26141 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
26142 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
26143 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
26144 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
26145 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
26146 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
26147 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
26148 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
26149 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
26150 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
26151 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
26152 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
26153 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
26154 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
26155 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
26156 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
26157 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
26158 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
26159 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
26160 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
26161 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
26162 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
26163 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
26164 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
26165 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
26166 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
26167 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
26168 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
26169 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
26170 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
26171 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
26172 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
26173 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
26174 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
26175 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
26176 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
26177 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
26178 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
26179 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
26180 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
26181 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
26182 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
26183 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
26184 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
26185 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
26186 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
26187 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
26188 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
26189 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
26190 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
26191 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
26192 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
26193 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
26194 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
26195 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
26196 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
26197 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
26198 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
26199 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
26200 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
26201 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
26202 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
26203 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
26204 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
26205 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
26206 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
26207 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
26208 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
26209 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
26210 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
26211 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
26212 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
26213 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
26214 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
26215 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
26216 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
26217 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
26218 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
26219 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
26220 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
26221 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
26222 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
26223 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
26224 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
26225 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
26226 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
26227 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
26228 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
26229 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
26230 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
26231 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
26232 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
26233 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
26234 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
26235 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26236 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26237 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26238 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26239 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26240 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26241 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26242 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26243 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26244 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26245 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26246 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26247 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26248 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26249 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26250 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26251 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26252 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26253 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26254 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26255 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26256 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26257 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26258 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26259 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26260 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26261 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26262 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26263 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26264 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26265 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26266 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26267 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26268 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26269 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26270 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26271 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26272 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26273 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26274 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26275 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26276 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26277 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26278 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26279 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26280 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26281 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26282 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26283 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26284 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26285 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26286 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26287 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26288 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26289 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26290 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26291 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26292 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26293 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26294 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26295 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26296 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26297 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26298 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26299 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26300 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26301 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26302 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26303 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26304 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26305 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26306 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26307 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26308 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26309 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26310 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26311 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26312 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26313 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26314 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26315 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26316 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26317 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26318 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26319 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26320 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26321 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26322 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26323 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26324 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26325 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26326 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26327 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26328 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26329 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26330 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26331 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26332 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26333 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26334 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26335 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26336 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26337 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26338 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26339 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26340 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26341 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26342 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26343 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26344 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26345 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26346 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26347 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26348 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26349 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26350 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26351 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26352 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26362 SWIGEXPORT(void) SWIG_init(void) {
26363 static PyObject
*SWIG_globals
= 0;
26364 static int typeinit
= 0;
26367 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26368 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26369 d
= PyModule_GetDict(m
);
26372 for (i
= 0; swig_types_initial
[i
]; i
++) {
26373 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26377 SWIG_InstallConstants(d
,swig_const_table
);
26379 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26380 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
26381 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
26382 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
26383 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26384 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26386 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26388 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26389 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26390 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26391 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26392 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26393 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26394 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26395 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26396 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26397 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26398 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26399 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26400 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26401 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26402 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26403 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26404 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26405 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26406 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26407 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26408 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26409 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26410 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26411 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26412 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26413 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26414 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26415 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26416 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26417 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26418 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26419 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26420 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26421 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26422 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26423 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26424 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26425 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26426 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26427 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26428 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26429 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26430 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26432 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26434 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
26435 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
26436 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26438 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26439 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26440 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26441 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26443 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);