1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxLogChain swig_types[0]
219 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
220 #define SWIGTYPE_p_wxFileHistory swig_types[2]
221 #define SWIGTYPE_p_wxLog swig_types[3]
222 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
223 #define SWIGTYPE_p_wxMenu swig_types[5]
224 #define SWIGTYPE_p_wxEvent swig_types[6]
225 #define SWIGTYPE_p_wxConfigBase swig_types[7]
226 #define SWIGTYPE_p_wxWave swig_types[8]
227 #define SWIGTYPE_p_wxFileType swig_types[9]
228 #define SWIGTYPE_p_wxLogGui swig_types[10]
229 #define SWIGTYPE_p_wxFont swig_types[11]
230 #define SWIGTYPE_p_wxDataFormat swig_types[12]
231 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
232 #define SWIGTYPE_p_wxCaret swig_types[14]
233 #define SWIGTYPE_p_int swig_types[15]
234 #define SWIGTYPE_p_wxSize swig_types[16]
235 #define SWIGTYPE_p_wxClipboard swig_types[17]
236 #define SWIGTYPE_p_wxStopWatch swig_types[18]
237 #define SWIGTYPE_p_wxDC swig_types[19]
238 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
239 #define SWIGTYPE_p_wxIcon swig_types[21]
240 #define SWIGTYPE_p_wxLogStderr swig_types[22]
241 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
243 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
244 #define SWIGTYPE_p_wxFileDataObject swig_types[26]
245 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[27]
246 #define SWIGTYPE_p_wxPyTextDataObject swig_types[28]
247 #define SWIGTYPE_p_wxBitmapDataObject swig_types[29]
248 #define SWIGTYPE_p_wxTextDataObject swig_types[30]
249 #define SWIGTYPE_p_wxDataObject swig_types[31]
250 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
251 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
252 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
253 #define SWIGTYPE_p_wxTimerRunner swig_types[35]
254 #define SWIGTYPE_p_wxLogWindow swig_types[36]
255 #define SWIGTYPE_p_wxTimeSpan swig_types[37]
256 #define SWIGTYPE_p_wxArrayString swig_types[38]
257 #define SWIGTYPE_p_wxWindowDisabler swig_types[39]
258 #define SWIGTYPE_p_wxToolTip swig_types[40]
259 #define SWIGTYPE_p_wxDataObjectComposite swig_types[41]
260 #define SWIGTYPE_p_wxFileConfig swig_types[42]
261 #define SWIGTYPE_p_wxSystemSettings swig_types[43]
262 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[44]
263 #define SWIGTYPE_p_wxDataObjectSimple swig_types[45]
264 #define SWIGTYPE_p_wxEvtHandler swig_types[46]
265 #define SWIGTYPE_p_wxRect swig_types[47]
266 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[48]
267 #define SWIGTYPE_p_wxFileTypeInfo swig_types[49]
268 #define SWIGTYPE_p_wxFrame swig_types[50]
269 #define SWIGTYPE_p_wxTimer swig_types[51]
270 #define SWIGTYPE_p_wxMimeTypesManager swig_types[52]
271 #define SWIGTYPE_p_wxPyArtProvider swig_types[53]
272 #define SWIGTYPE_p_wxPyTipProvider swig_types[54]
273 #define SWIGTYPE_p_wxTipProvider swig_types[55]
274 #define SWIGTYPE_p_wxJoystick swig_types[56]
275 #define SWIGTYPE_p_wxSystemOptions swig_types[57]
276 #define SWIGTYPE_p_wxPoint swig_types[58]
277 #define SWIGTYPE_p_wxJoystickEvent swig_types[59]
278 #define SWIGTYPE_p_wxCursor swig_types[60]
279 #define SWIGTYPE_p_wxObject swig_types[61]
280 #define SWIGTYPE_p_wxOutputStream swig_types[62]
281 #define SWIGTYPE_p_wxDateTime swig_types[63]
282 #define SWIGTYPE_p_wxPyDropSource swig_types[64]
283 #define SWIGTYPE_p_wxWindow swig_types[65]
284 #define SWIGTYPE_p_wxString swig_types[66]
285 #define SWIGTYPE_p_wxPyProcess swig_types[67]
286 #define SWIGTYPE_p_wxBitmap swig_types[68]
287 #define SWIGTYPE_p_wxConfig swig_types[69]
288 #define SWIGTYPE_p_wxChar swig_types[70]
289 #define SWIGTYPE_p_wxBusyInfo swig_types[71]
290 #define SWIGTYPE_p_wxPyDropTarget swig_types[72]
291 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[73]
292 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[74]
293 #define SWIGTYPE_p_wxProcessEvent swig_types[75]
294 #define SWIGTYPE_p_wxPyLog swig_types[76]
295 #define SWIGTYPE_p_wxLogNull swig_types[77]
296 #define SWIGTYPE_p_wxColour swig_types[78]
297 #define SWIGTYPE_p_wxConfigPathChanger swig_types[79]
298 #define SWIGTYPE_p_wxPyTimer swig_types[80]
299 #define SWIGTYPE_p_wxDateSpan swig_types[81]
300 static swig_type_info
*swig_types
[83];
302 /* -------- TYPES TABLE (END) -------- */
305 /*-----------------------------------------------
307 ------------------------------------------------*/
308 #define SWIG_init init_misc
310 #define SWIG_name "_misc"
312 #include "wx/wxPython/wxPython.h"
313 #include "wx/wxPython/pyclasses.h"
314 #include "wx/wxPython/pyistream.h"
316 DECLARE_DEF_STRING(EmptyString
);
322 DECLARE_DEF_STRING(FileSelectorPromptStr
);
323 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr
);
324 DECLARE_DEF_STRING(DirSelectorPromptStr
);
327 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
333 } else if (target
== Py_None
) {
337 if (!PyTuple_Check(target
)) {
339 target
= PyTuple_New(1);
340 PyTuple_SetItem(target
, 0, o2
);
343 PyTuple_SetItem(o3
, 0, o
);
346 target
= PySequence_Concat(o2
, o3
);
354 long wxGetFreeMemory()
355 { PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
358 void wxWakeUpMainThread() {}
361 bool wxThread_IsMain() {
362 #ifdef WXP_WITH_THREAD
363 return wxThread::IsMain();
370 int wxCaret_GetBlinkTime() {
371 return wxCaret::GetBlinkTime();
374 void wxCaret_SetBlinkTime(int milliseconds
) {
375 wxCaret::SetBlinkTime(milliseconds
);
379 #include <wx/snglinst.h>
383 #include <wx/msw/private.h>
384 #include <wx/dynload.h>
389 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
396 // This one only partially works. Appears to be an undocumented
397 // "standard" convention that not all widgets adhear to. For
398 // example, for some widgets backgrounds or non-client areas may
400 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
404 // This one works much better, except for on XP. On Win2k nearly
405 // all widgets and their children are captured correctly[**]. On
406 // XP with Themes activated most native widgets draw only
407 // partially, if at all. Without themes it works just like on
410 // ** For example the radio buttons in a wxRadioBox are not its
411 // children by default, but you can capture it via the panel
412 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
413 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
414 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
415 PRF_ERASEBKGND
| PRF_OWNED
);
419 // This one is only defined in the latest SDK and is only
420 // available on XP. MSDN says it is similar to sending WM_PRINT
421 // so I expect that it will work similar to the above. Since it
422 // is avaialble only on XP, it can't be compiled like this and
423 // will have to be loaded dynamically.
424 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
429 // Use PrintWindow if available, or fallback to WM_PRINT
430 // otherwise. Unfortunately using PrintWindow is even worse than
431 // WM_PRINT. For most native widgets nothing is drawn to the dc
432 // at all, with or without Themes.
433 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
434 static bool s_triedToLoad
= False
;
435 static PrintWindow_t pfnPrintWindow
= NULL
;
436 if ( !s_triedToLoad
)
439 s_triedToLoad
= True
;
440 wxDynamicLibrary
dllUser32(_T("user32.dll"));
441 if ( dllUser32
.IsLoaded() )
443 wxLogNull nolog
; // Don't report errors here
444 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
449 printf("Using PrintWindow\n");
450 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
454 printf("Using WM_PRINT\n");
455 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
456 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
464 #include <wx/tipdlg.h>
467 class wxPyTipProvider
: public wxTipProvider
{
469 wxPyTipProvider(size_t currentTip
)
470 : wxTipProvider(currentTip
) {}
472 DEC_PYCALLBACK_STRING__pure(GetTip
);
473 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
477 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
478 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
481 IMP_PYCALLBACK__(wxPyTimer
, wxTimer
, Notify
);
483 wxString
Log_TimeStamp(){
485 wxLog::TimeStamp(&msg
);
488 void wxLog_Destroy(wxLog
*self
){ delete self
; }
490 // A wxLog class that can be derived from in wxPython
491 class wxPyLog
: public wxLog
{
493 wxPyLog() : wxLog() {}
495 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
497 wxPyBeginBlockThreads();
498 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
499 PyObject
* s
= wx2PyString(szString
);
500 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
503 wxPyEndBlockThreads();
505 wxLog::DoLog(level
, szString
, t
);
508 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
510 wxPyBeginBlockThreads();
511 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
512 PyObject
* s
= wx2PyString(szString
);
513 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
516 wxPyEndBlockThreads();
518 wxLog::DoLogString(szString
, t
);
527 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
530 #include <wx/joystick.h>
533 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
534 // A C++ stub class for wxJoystick for platforms that don't have it.
535 class wxJoystick
: public wxObject
{
537 wxJoystick(int joystick
= wxJOYSTICK1
) {
538 wxPyBeginBlockThreads();
539 PyErr_SetString(PyExc_NotImplementedError
, "wxJoystick is not available on this platform.");
540 wxPyEndBlockThreads();
542 wxPoint
GetPosition() { return wxPoint(-1,-1); }
543 int GetZPosition() { return -1; }
544 int GetButtonState() { return -1; }
545 int GetPOVPosition() { return -1; }
546 int GetPOVCTSPosition() { return -1; }
547 int GetRudderPosition() { return -1; }
548 int GetUPosition() { return -1; }
549 int GetVPosition() { return -1; }
550 int GetMovementThreshold() { return -1; }
551 void SetMovementThreshold(int threshold
) {}
553 bool IsOk(void) { return False
; }
554 int GetNumberJoysticks() { return -1; }
555 int GetManufacturerId() { return -1; }
556 int GetProductId() { return -1; }
557 wxString
GetProductName() { return ""; }
558 int GetXMin() { return -1; }
559 int GetYMin() { return -1; }
560 int GetZMin() { return -1; }
561 int GetXMax() { return -1; }
562 int GetYMax() { return -1; }
563 int GetZMax() { return -1; }
564 int GetNumberButtons() { return -1; }
565 int GetNumberAxes() { return -1; }
566 int GetMaxButtons() { return -1; }
567 int GetMaxAxes() { return -1; }
568 int GetPollingMin() { return -1; }
569 int GetPollingMax() { return -1; }
570 int GetRudderMin() { return -1; }
571 int GetRudderMax() { return -1; }
572 int GetUMin() { return -1; }
573 int GetUMax() { return -1; }
574 int GetVMin() { return -1; }
575 int GetVMax() { return -1; }
577 bool HasRudder() { return False
; }
578 bool HasZ() { return False
; }
579 bool HasU() { return False
; }
580 bool HasV() { return False
; }
581 bool HasPOV() { return False
; }
582 bool HasPOV4Dir() { return False
; }
583 bool HasPOVCTS() { return False
; }
585 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
586 bool ReleaseCapture() { return False
; }
595 // A C++ stub class for wxWave for platforms that don't have it.
596 class wxWave
: public wxObject
599 wxWave(const wxString
& fileName
, bool isResource
= False
) {
600 wxPyBeginBlockThreads();
601 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
602 wxPyEndBlockThreads();
604 wxWave(int size
, const wxByte
* data
) {
605 wxPyBeginBlockThreads();
606 PyErr_SetString(PyExc_NotImplementedError
, "wxWave is not available on this platform.");
607 wxPyEndBlockThreads();
612 bool IsOk() const { return False
; }
613 bool Play(bool async
= True
, bool looped
= False
) const { return False
; }
618 wxWave
*new_wxWave(wxString
const &data
){
619 return new wxWave(data
.Len(), (wxByte
*)data
.c_str());
622 #include <wx/mimetype.h>
624 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
626 if (self
->GetMimeType(&str
))
627 return wx2PyString(str
);
631 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
633 if (self
->GetMimeTypes(arr
))
634 return wxArrayString2PyList_helper(arr
);
638 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
640 if (self
->GetExtensions(arr
))
641 return wxArrayString2PyList_helper(arr
);
645 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
647 if (self
->GetIcon(&loc
))
648 return new wxIcon(loc
);
652 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
654 if (self
->GetIcon(&loc
)) {
655 wxString iconFile
= loc
.GetFileName();
660 // Make a tuple and put the values in it
661 wxPyBeginBlockThreads();
662 PyObject
* tuple
= PyTuple_New(3);
663 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
664 wxT("wxIcon"), True
));
665 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
666 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
667 wxPyEndBlockThreads();
673 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
675 if (self
->GetDescription(&str
))
676 return wx2PyString(str
);
680 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
682 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
683 return wx2PyString(str
);
687 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
689 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
690 return wx2PyString(str
);
694 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
696 wxArrayString commands
;
697 if (self
->GetAllCommands(&verbs
, &commands
,
698 wxFileType::MessageParameters(filename
, mimetype
))) {
699 wxPyBeginBlockThreads();
700 PyObject
* tuple
= PyTuple_New(2);
701 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
702 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
703 wxPyEndBlockThreads();
709 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
710 return wxFileType::ExpandCommand(command
,
711 wxFileType::MessageParameters(filename
, mimetype
));
713 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
715 self
->EnumAllFileTypes(arr
);
716 return wxArrayString2PyList_helper(arr
);
719 #include <wx/artprov.h>
721 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
722 static const wxString
wxPyART_MENU(wxART_MENU
);
723 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
724 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
725 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
726 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
727 static const wxString
wxPyART_OTHER(wxART_OTHER
);
728 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
729 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
730 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
731 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
732 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
733 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
734 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
735 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
736 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
737 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
738 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
739 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
740 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
741 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
742 static const wxString
wxPyART_PRINT(wxART_PRINT
);
743 static const wxString
wxPyART_HELP(wxART_HELP
);
744 static const wxString
wxPyART_TIP(wxART_TIP
);
745 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
746 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
747 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
748 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
749 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
750 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
751 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
752 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
753 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
754 static const wxString
wxPyART_ERROR(wxART_ERROR
);
755 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
756 static const wxString
wxPyART_WARNING(wxART_WARNING
);
757 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
758 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
759 // Python aware wxArtProvider
760 class wxPyArtProvider
: public wxArtProvider
{
763 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
764 const wxArtClient
& client
,
765 const wxSize
& size
) {
766 wxBitmap rval
= wxNullBitmap
;
767 wxPyBeginBlockThreads();
768 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
769 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
773 s1
= wx2PyString(id
);
774 s2
= wx2PyString(client
);
775 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
780 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
785 wxPyEndBlockThreads();
792 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
796 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
797 PyObject
* ret
= PyTuple_New(3);
799 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
800 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
801 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
806 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
811 cont
= self
->GetFirstGroup(value
, index
);
812 return __EnumerationHelper(cont
, value
, index
);
814 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
818 cont
= self
->GetNextGroup(value
, index
);
819 return __EnumerationHelper(cont
, value
, index
);
821 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
826 cont
= self
->GetFirstEntry(value
, index
);
827 return __EnumerationHelper(cont
, value
, index
);
829 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
833 cont
= self
->GetNextEntry(value
, index
);
834 return __EnumerationHelper(cont
, value
, index
);
836 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
838 self
->Read(key
, &rv
, defaultVal
);
841 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
843 self
->Read(key
, &rv
, defaultVal
);
846 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
848 self
->Read(key
, &rv
, defaultVal
);
852 #include <wx/datetime.h>
854 DECLARE_DEF_STRING2(DateFormatStr
, wxT("%c"));
855 DECLARE_DEF_STRING2(TimeSpanFormatStr
, wxT("%H:%M:%S"));
859 #define LOCAL_TZ wxDateTime::Local
861 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
862 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
863 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
864 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
865 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
866 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
867 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
868 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
869 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
870 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
871 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
872 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
874 const wxChar
* _date
= date
;
875 rv
= self
->ParseRfc822Date(_date
);
876 if (rv
== NULL
) return -1;
879 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
881 const wxChar
* _date
= date
;
882 rv
= self
->ParseFormat(_date
, format
, dateDef
);
883 if (rv
== NULL
) return -1;
886 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
888 const wxChar
* _datetime
= datetime
;
889 rv
= self
->ParseDateTime(_datetime
);
890 if (rv
== NULL
) return -1;
891 return rv
- _datetime
;
893 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
895 const wxChar
* _date
= date
;
896 rv
= self
->ParseDate(_date
);
897 if (rv
== NULL
) return -1;
900 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
902 const wxChar
* _time
= time
;
903 rv
= self
->ParseTime(_time
);
904 if (rv
== NULL
) return -1;
907 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
908 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
909 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
910 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
911 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
912 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
913 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
914 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
915 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
916 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
917 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
918 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
919 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
920 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
921 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
922 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
924 #include <wx/dataobj.h>
926 // Create a new class for wxPython to use
927 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
929 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
930 : wxDataObjectSimple(format
) {}
932 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
933 bool GetDataHere(void *buf
) const;
934 bool SetData(size_t len
, const void *buf
) const;
938 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
940 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
941 // We need to get the data for this object and write it to buf. I think
942 // the best way to do this for wxPython is to have the Python method
943 // return either a string or None and then act appropriately with the
947 wxPyBeginBlockThreads();
948 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
950 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
952 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
954 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
958 wxPyEndBlockThreads();
962 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
963 // For this one we simply need to make a string from buf and len
964 // and send it to the Python method.
966 wxPyBeginBlockThreads();
967 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
968 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
969 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
972 wxPyEndBlockThreads();
976 // Create a new class for wxPython to use
977 class wxPyTextDataObject
: public wxTextDataObject
{
979 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
980 : wxTextDataObject(text
) {}
982 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
983 DEC_PYCALLBACK_STRING__const(GetText
);
984 DEC_PYCALLBACK__STRING(SetText
);
988 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
989 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
990 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
993 // Create a new class for wxPython to use
994 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
996 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
997 : wxBitmapDataObject(bitmap
) {}
999 wxBitmap
GetBitmap() const;
1000 void SetBitmap(const wxBitmap
& bitmap
);
1004 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1005 wxBitmap
* rval
= &wxNullBitmap
;
1006 wxPyBeginBlockThreads();
1007 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1010 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1012 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1017 wxPyEndBlockThreads();
1021 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1022 wxPyBeginBlockThreads();
1023 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1024 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1025 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1028 wxPyEndBlockThreads();
1031 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1032 if (PyString_Check(data
)) {
1033 // for Python we just call SetData here since we always need it to make a copy.
1034 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1037 // raise a TypeError if not a string
1038 PyErr_SetString(PyExc_TypeError
, "String expected.");
1041 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1042 if (PyString_Check(data
)) {
1043 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1046 // raise a TypeError if not a string
1047 PyErr_SetString(PyExc_TypeError
, "String expected.");
1051 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1052 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1055 class wxMetafileDataObject
: public wxDataObjectSimple
1058 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError
); }
1064 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1067 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1068 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1069 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1070 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1071 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1074 class wxPyTextDropTarget
: public wxTextDropTarget
{
1076 wxPyTextDropTarget() {}
1078 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1080 DEC_PYCALLBACK__(OnLeave
);
1081 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1082 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1083 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1084 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1089 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1090 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1091 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1092 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1093 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1094 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1098 class wxPyFileDropTarget
: public wxFileDropTarget
{
1100 wxPyFileDropTarget() {}
1102 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1104 DEC_PYCALLBACK__(OnLeave
);
1105 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1106 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1107 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1108 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1113 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1114 const wxArrayString
& filenames
) {
1116 wxPyBeginBlockThreads();
1117 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1118 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1119 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1122 wxPyEndBlockThreads();
1128 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1129 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1130 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1131 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1132 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1137 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1141 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1142 PyObject
*resultobj
;
1146 (char *) "index", NULL
1149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1152 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1154 wxPyEndAllowThreads(__tstate
);
1155 if (PyErr_Occurred()) SWIG_fail
;
1158 wxColour
* resultptr
;
1159 resultptr
= new wxColour((wxColour
&) result
);
1160 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1168 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1169 PyObject
*resultobj
;
1173 (char *) "index", NULL
1176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1179 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1181 wxPyEndAllowThreads(__tstate
);
1182 if (PyErr_Occurred()) SWIG_fail
;
1186 resultptr
= new wxFont((wxFont
&) result
);
1187 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1195 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1200 (char *) "index", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1211 resultobj
= PyInt_FromLong((long)result
);
1218 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1219 PyObject
*resultobj
;
1223 (char *) "index", NULL
1226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1229 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1231 wxPyEndAllowThreads(__tstate
);
1232 if (PyErr_Occurred()) SWIG_fail
;
1234 resultobj
= PyInt_FromLong((long)result
);
1241 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1242 PyObject
*resultobj
;
1248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1251 result
= (int)wxSystemSettings::GetScreenType();
1253 wxPyEndAllowThreads(__tstate
);
1254 if (PyErr_Occurred()) SWIG_fail
;
1256 resultobj
= PyInt_FromLong((long)result
);
1263 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1264 PyObject
*resultobj
;
1267 (char *) "screen", NULL
1270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1273 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1275 wxPyEndAllowThreads(__tstate
);
1276 if (PyErr_Occurred()) SWIG_fail
;
1278 Py_INCREF(Py_None
); resultobj
= Py_None
;
1285 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1288 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1290 return Py_BuildValue((char *)"");
1292 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1293 PyObject
*resultobj
;
1294 wxSystemOptions
*result
;
1299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1302 result
= (wxSystemOptions
*)new wxSystemOptions();
1304 wxPyEndAllowThreads(__tstate
);
1305 if (PyErr_Occurred()) SWIG_fail
;
1307 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1314 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1315 PyObject
*resultobj
;
1316 wxString
*arg1
= 0 ;
1317 wxString
*arg2
= 0 ;
1318 bool temp1
= False
;
1319 bool temp2
= False
;
1320 PyObject
* obj0
= 0 ;
1321 PyObject
* obj1
= 0 ;
1323 (char *) "name",(char *) "value", NULL
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1328 arg1
= wxString_in_helper(obj0
);
1329 if (arg1
== NULL
) SWIG_fail
;
1333 arg2
= wxString_in_helper(obj1
);
1334 if (arg2
== NULL
) SWIG_fail
;
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) SWIG_fail
;
1344 Py_INCREF(Py_None
); resultobj
= Py_None
;
1367 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1368 PyObject
*resultobj
;
1369 wxString
*arg1
= 0 ;
1371 bool temp1
= False
;
1372 PyObject
* obj0
= 0 ;
1374 (char *) "name",(char *) "value", NULL
1377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1379 arg1
= wxString_in_helper(obj0
);
1380 if (arg1
== NULL
) SWIG_fail
;
1384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1385 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1387 wxPyEndAllowThreads(__tstate
);
1388 if (PyErr_Occurred()) SWIG_fail
;
1390 Py_INCREF(Py_None
); resultobj
= Py_None
;
1405 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1406 PyObject
*resultobj
;
1407 wxString
*arg1
= 0 ;
1409 bool temp1
= False
;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "name", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1417 arg1
= wxString_in_helper(obj0
);
1418 if (arg1
== NULL
) SWIG_fail
;
1422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1423 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1425 wxPyEndAllowThreads(__tstate
);
1426 if (PyErr_Occurred()) SWIG_fail
;
1430 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1432 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1449 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1451 wxString
*arg1
= 0 ;
1453 bool temp1
= False
;
1454 PyObject
* obj0
= 0 ;
1456 (char *) "name", NULL
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1461 arg1
= wxString_in_helper(obj0
);
1462 if (arg1
== NULL
) SWIG_fail
;
1466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1467 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1469 wxPyEndAllowThreads(__tstate
);
1470 if (PyErr_Occurred()) SWIG_fail
;
1472 resultobj
= PyInt_FromLong((long)result
);
1487 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1488 PyObject
*resultobj
;
1489 wxString
*arg1
= 0 ;
1491 bool temp1
= False
;
1492 PyObject
* obj0
= 0 ;
1494 (char *) "name", NULL
1497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1499 arg1
= wxString_in_helper(obj0
);
1500 if (arg1
== NULL
) SWIG_fail
;
1504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1507 wxPyEndAllowThreads(__tstate
);
1508 if (PyErr_Occurred()) SWIG_fail
;
1510 resultobj
= PyInt_FromLong((long)result
);
1525 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1528 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1530 return Py_BuildValue((char *)"");
1532 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1533 PyObject
*resultobj
;
1539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (long)wxNewId();
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= PyInt_FromLong((long)result
);
1554 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 Py_INCREF(Py_None
); resultobj
= Py_None
;
1576 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 result
= (long)wxGetCurrentId();
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1591 resultobj
= PyInt_FromLong((long)result
);
1598 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
*resultobj
;
1604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1609 wxPyEndAllowThreads(__tstate
);
1610 if (PyErr_Occurred()) SWIG_fail
;
1612 Py_INCREF(Py_None
); resultobj
= Py_None
;
1619 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1620 PyObject
*resultobj
;
1625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 Py_INCREF(Py_None
); resultobj
= Py_None
;
1640 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 bool arg1
= (bool) True
;
1644 PyObject
* obj0
= 0 ;
1646 (char *) "resetTimer", NULL
1649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1651 arg1
= PyInt_AsLong(obj0
) ? true : false;
1652 if (PyErr_Occurred()) SWIG_fail
;
1655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1656 result
= (long)wxGetElapsedTime(arg1
);
1658 wxPyEndAllowThreads(__tstate
);
1659 if (PyErr_Occurred()) SWIG_fail
;
1661 resultobj
= PyInt_FromLong((long)result
);
1668 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1669 PyObject
*resultobj
;
1670 int *arg1
= (int *) 0 ;
1671 int *arg2
= (int *) 0 ;
1680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1683 wxGetMousePosition(arg1
,arg2
);
1685 wxPyEndAllowThreads(__tstate
);
1686 if (PyErr_Occurred()) SWIG_fail
;
1688 Py_INCREF(Py_None
); resultobj
= Py_None
;
1690 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1691 resultobj
= t_output_helper(resultobj
,o
);
1694 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1695 resultobj
= t_output_helper(resultobj
,o
);
1703 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1704 PyObject
*resultobj
;
1710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1713 result
= (bool)wxIsBusy();
1715 wxPyEndAllowThreads(__tstate
);
1716 if (PyErr_Occurred()) SWIG_fail
;
1718 resultobj
= PyInt_FromLong((long)result
);
1725 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1726 PyObject
*resultobj
;
1732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 wxPyEndAllowThreads(__tstate
);
1738 if (PyErr_Occurred()) SWIG_fail
;
1742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1753 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1754 PyObject
*resultobj
;
1755 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1756 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1758 bool temp1
= False
;
1759 PyObject
* obj0
= 0 ;
1761 (char *) "command", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1767 arg1
= wxString_in_helper(obj0
);
1768 if (arg1
== NULL
) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 result
= (bool)wxShell((wxString
const &)*arg1
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 resultobj
= PyInt_FromLong((long)result
);
1794 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1795 PyObject
*resultobj
;
1800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 Py_INCREF(Py_None
); resultobj
= Py_None
;
1815 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 int *arg1
= (int *) 0 ;
1818 int *arg2
= (int *) 0 ;
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1831 result
= (int)wxGetOsVersion(arg1
,arg2
);
1833 wxPyEndAllowThreads(__tstate
);
1834 if (PyErr_Occurred()) SWIG_fail
;
1836 resultobj
= PyInt_FromLong((long)result
);
1838 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1839 resultobj
= t_output_helper(resultobj
,o
);
1842 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1843 resultobj
= t_output_helper(resultobj
,o
);
1851 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1852 PyObject
*resultobj
;
1858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1861 result
= wxGetOsDescription();
1863 wxPyEndAllowThreads(__tstate
);
1864 if (PyErr_Occurred()) SWIG_fail
;
1868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1879 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
*resultobj
;
1886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 result
= (long)wxGetFreeMemory();
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 resultobj
= PyInt_FromLong((long)result
);
1901 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1906 (char *) "wFlags", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 resultobj
= PyInt_FromLong((long)result
);
1924 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1928 (char *) "secs", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1936 wxPyEndAllowThreads(__tstate
);
1937 if (PyErr_Occurred()) SWIG_fail
;
1939 Py_INCREF(Py_None
); resultobj
= Py_None
;
1946 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1947 PyObject
*resultobj
;
1948 unsigned long arg1
;
1949 PyObject
* obj0
= 0 ;
1951 (char *) "milliseconds", NULL
1954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
1955 arg1
= (unsigned long) PyInt_AsLong(obj0
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 wxPyEndAllowThreads(__tstate
);
1962 if (PyErr_Occurred()) SWIG_fail
;
1964 Py_INCREF(Py_None
); resultobj
= Py_None
;
1971 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1972 PyObject
*resultobj
;
1974 PyObject
* obj0
= 0 ;
1976 (char *) "enable", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
1980 arg1
= PyInt_AsLong(obj0
) ? true : false;
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1984 wxEnableTopLevelWindows(arg1
);
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxString
*arg1
= 0 ;
2000 bool temp1
= False
;
2001 PyObject
* obj0
= 0 ;
2006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2008 arg1
= wxString_in_helper(obj0
);
2009 if (arg1
== NULL
) SWIG_fail
;
2013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2014 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2016 wxPyEndAllowThreads(__tstate
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2021 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2023 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2040 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2041 PyObject
*resultobj
;
2047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= wxGetEmailAddress();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2068 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2078 result
= wxGetHostName();
2080 wxPyEndAllowThreads(__tstate
);
2081 if (PyErr_Occurred()) SWIG_fail
;
2085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2096 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2106 result
= wxGetFullHostName();
2108 wxPyEndAllowThreads(__tstate
);
2109 if (PyErr_Occurred()) SWIG_fail
;
2113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2124 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 result
= wxGetUserId();
2136 wxPyEndAllowThreads(__tstate
);
2137 if (PyErr_Occurred()) SWIG_fail
;
2141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2152 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2162 result
= wxGetUserName();
2164 wxPyEndAllowThreads(__tstate
);
2165 if (PyErr_Occurred()) SWIG_fail
;
2169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2180 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2181 PyObject
*resultobj
;
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 result
= wxGetHomeDir();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2208 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2209 PyObject
*resultobj
;
2210 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2211 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2213 bool temp1
= False
;
2214 PyObject
* obj0
= 0 ;
2216 (char *) "user", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2222 arg1
= wxString_in_helper(obj0
);
2223 if (arg1
== NULL
) SWIG_fail
;
2228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2229 result
= wxGetUserHome((wxString
const &)*arg1
);
2231 wxPyEndAllowThreads(__tstate
);
2232 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2255 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2256 PyObject
*resultobj
;
2257 unsigned long result
;
2262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 result
= (unsigned long)wxGetProcessId();
2267 wxPyEndAllowThreads(__tstate
);
2268 if (PyErr_Occurred()) SWIG_fail
;
2270 resultobj
= PyInt_FromLong((long)result
);
2277 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2278 PyObject
*resultobj
;
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 Py_INCREF(Py_None
); resultobj
= Py_None
;
2298 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2301 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2302 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2303 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2304 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2305 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2306 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2307 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2308 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2309 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2310 int arg6
= (int) 0 ;
2311 wxWindow
*arg7
= (wxWindow
*) NULL
;
2312 int arg8
= (int) -1 ;
2313 int arg9
= (int) -1 ;
2315 bool temp1
= False
;
2316 bool temp2
= False
;
2317 bool temp3
= False
;
2318 bool temp4
= False
;
2319 bool temp5
= False
;
2320 PyObject
* obj0
= 0 ;
2321 PyObject
* obj1
= 0 ;
2322 PyObject
* obj2
= 0 ;
2323 PyObject
* obj3
= 0 ;
2324 PyObject
* obj4
= 0 ;
2325 PyObject
* obj6
= 0 ;
2327 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2333 arg1
= wxString_in_helper(obj0
);
2334 if (arg1
== NULL
) SWIG_fail
;
2340 arg2
= wxString_in_helper(obj1
);
2341 if (arg2
== NULL
) SWIG_fail
;
2347 arg3
= wxString_in_helper(obj2
);
2348 if (arg3
== NULL
) SWIG_fail
;
2354 arg4
= wxString_in_helper(obj3
);
2355 if (arg4
== NULL
) SWIG_fail
;
2361 arg5
= wxString_in_helper(obj4
);
2362 if (arg5
== NULL
) SWIG_fail
;
2367 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2371 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2373 wxPyEndAllowThreads(__tstate
);
2374 if (PyErr_Occurred()) SWIG_fail
;
2378 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2380 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2429 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2430 PyObject
*resultobj
;
2431 wxString
*arg1
= 0 ;
2432 wxString
*arg2
= 0 ;
2433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2435 wxWindow
*arg4
= (wxWindow
*) NULL
;
2437 bool temp1
= False
;
2438 bool temp2
= False
;
2439 bool temp3
= False
;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2442 PyObject
* obj2
= 0 ;
2443 PyObject
* obj3
= 0 ;
2445 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2450 arg1
= wxString_in_helper(obj0
);
2451 if (arg1
== NULL
) SWIG_fail
;
2455 arg2
= wxString_in_helper(obj1
);
2456 if (arg2
== NULL
) SWIG_fail
;
2461 arg3
= wxString_in_helper(obj2
);
2462 if (arg3
== NULL
) SWIG_fail
;
2467 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2513 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2514 PyObject
*resultobj
;
2515 wxString
*arg1
= 0 ;
2516 wxString
*arg2
= 0 ;
2517 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2518 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2519 wxWindow
*arg4
= (wxWindow
*) NULL
;
2521 bool temp1
= False
;
2522 bool temp2
= False
;
2523 bool temp3
= False
;
2524 PyObject
* obj0
= 0 ;
2525 PyObject
* obj1
= 0 ;
2526 PyObject
* obj2
= 0 ;
2527 PyObject
* obj3
= 0 ;
2529 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2534 arg1
= wxString_in_helper(obj0
);
2535 if (arg1
== NULL
) SWIG_fail
;
2539 arg2
= wxString_in_helper(obj1
);
2540 if (arg2
== NULL
) SWIG_fail
;
2545 arg3
= wxString_in_helper(obj2
);
2546 if (arg3
== NULL
) SWIG_fail
;
2551 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2555 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2557 wxPyEndAllowThreads(__tstate
);
2558 if (PyErr_Occurred()) SWIG_fail
;
2562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2597 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2600 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2601 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2602 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2603 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2604 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2605 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2606 wxWindow
*arg5
= (wxWindow
*) NULL
;
2608 bool temp1
= False
;
2609 bool temp2
= False
;
2611 PyObject
* obj0
= 0 ;
2612 PyObject
* obj1
= 0 ;
2613 PyObject
* obj3
= 0 ;
2614 PyObject
* obj4
= 0 ;
2616 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2622 arg1
= wxString_in_helper(obj0
);
2623 if (arg1
== NULL
) SWIG_fail
;
2629 arg2
= wxString_in_helper(obj1
);
2630 if (arg2
== NULL
) SWIG_fail
;
2637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2641 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2645 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2647 wxPyEndAllowThreads(__tstate
);
2648 if (PyErr_Occurred()) SWIG_fail
;
2652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2679 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxString
*arg1
= 0 ;
2682 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2683 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2684 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2685 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2686 wxWindow
*arg4
= (wxWindow
*) NULL
;
2687 int arg5
= (int) -1 ;
2688 int arg6
= (int) -1 ;
2689 bool arg7
= (bool) True
;
2691 bool temp1
= False
;
2692 bool temp2
= False
;
2693 bool temp3
= False
;
2694 PyObject
* obj0
= 0 ;
2695 PyObject
* obj1
= 0 ;
2696 PyObject
* obj2
= 0 ;
2697 PyObject
* obj3
= 0 ;
2698 PyObject
* obj6
= 0 ;
2700 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2705 arg1
= wxString_in_helper(obj0
);
2706 if (arg1
== NULL
) SWIG_fail
;
2711 arg2
= wxString_in_helper(obj1
);
2712 if (arg2
== NULL
) SWIG_fail
;
2718 arg3
= wxString_in_helper(obj2
);
2719 if (arg3
== NULL
) SWIG_fail
;
2724 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2727 arg7
= PyInt_AsLong(obj6
) ? true : false;
2728 if (PyErr_Occurred()) SWIG_fail
;
2731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2732 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2734 wxPyEndAllowThreads(__tstate
);
2735 if (PyErr_Occurred()) SWIG_fail
;
2739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2774 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxString
*arg1
= 0 ;
2777 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2778 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2779 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2780 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2781 wxWindow
*arg4
= (wxWindow
*) NULL
;
2783 bool temp1
= False
;
2784 bool temp2
= False
;
2785 bool temp3
= False
;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2788 PyObject
* obj2
= 0 ;
2789 PyObject
* obj3
= 0 ;
2791 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2796 arg1
= wxString_in_helper(obj0
);
2797 if (arg1
== NULL
) SWIG_fail
;
2802 arg2
= wxString_in_helper(obj1
);
2803 if (arg2
== NULL
) SWIG_fail
;
2809 arg3
= wxString_in_helper(obj2
);
2810 if (arg3
== NULL
) SWIG_fail
;
2815 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2861 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
*resultobj
;
2863 wxString
*arg1
= 0 ;
2864 wxString
*arg2
= 0 ;
2866 wxString
*arg4
= (wxString
*) 0 ;
2867 wxWindow
*arg5
= (wxWindow
*) NULL
;
2868 int arg6
= (int) -1 ;
2869 int arg7
= (int) -1 ;
2870 bool arg8
= (bool) True
;
2871 int arg9
= (int) 150 ;
2872 int arg10
= (int) 200 ;
2874 bool temp1
= False
;
2875 bool temp2
= False
;
2876 PyObject
* obj0
= 0 ;
2877 PyObject
* obj1
= 0 ;
2878 PyObject
* obj2
= 0 ;
2879 PyObject
* obj3
= 0 ;
2880 PyObject
* obj6
= 0 ;
2882 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2887 arg1
= wxString_in_helper(obj0
);
2888 if (arg1
== NULL
) SWIG_fail
;
2892 arg2
= wxString_in_helper(obj1
);
2893 if (arg2
== NULL
) SWIG_fail
;
2897 arg3
= PyList_Size(obj2
);
2898 arg4
= wxString_LIST_helper(obj2
);
2899 if (arg4
== NULL
) SWIG_fail
;
2902 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2905 arg8
= PyInt_AsLong(obj6
) ? true : false;
2906 if (PyErr_Occurred()) SWIG_fail
;
2909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2910 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2912 wxPyEndAllowThreads(__tstate
);
2913 if (PyErr_Occurred()) SWIG_fail
;
2917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2931 if (arg4
) delete [] arg4
;
2944 if (arg4
) delete [] arg4
;
2950 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2951 PyObject
*resultobj
;
2952 wxString
*arg1
= 0 ;
2953 wxString
*arg2
= 0 ;
2955 wxString
*arg4
= (wxString
*) 0 ;
2956 wxWindow
*arg5
= (wxWindow
*) NULL
;
2957 int arg6
= (int) -1 ;
2958 int arg7
= (int) -1 ;
2959 bool arg8
= (bool) True
;
2960 int arg9
= (int) 150 ;
2961 int arg10
= (int) 200 ;
2963 bool temp1
= False
;
2964 bool temp2
= False
;
2965 PyObject
* obj0
= 0 ;
2966 PyObject
* obj1
= 0 ;
2967 PyObject
* obj2
= 0 ;
2968 PyObject
* obj3
= 0 ;
2969 PyObject
* obj6
= 0 ;
2971 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2976 arg1
= wxString_in_helper(obj0
);
2977 if (arg1
== NULL
) SWIG_fail
;
2981 arg2
= wxString_in_helper(obj1
);
2982 if (arg2
== NULL
) SWIG_fail
;
2986 arg3
= PyList_Size(obj2
);
2987 arg4
= wxString_LIST_helper(obj2
);
2988 if (arg4
== NULL
) SWIG_fail
;
2991 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2994 arg8
= PyInt_AsLong(obj6
) ? true : false;
2995 if (PyErr_Occurred()) SWIG_fail
;
2998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2999 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3001 wxPyEndAllowThreads(__tstate
);
3002 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= PyInt_FromLong((long)result
);
3014 if (arg4
) delete [] arg4
;
3027 if (arg4
) delete [] arg4
;
3033 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxString
*arg1
= 0 ;
3036 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3037 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3038 int arg3
= (int) wxOK
|wxCENTRE
;
3039 wxWindow
*arg4
= (wxWindow
*) NULL
;
3040 int arg5
= (int) -1 ;
3041 int arg6
= (int) -1 ;
3043 bool temp1
= False
;
3044 bool temp2
= False
;
3045 PyObject
* obj0
= 0 ;
3046 PyObject
* obj1
= 0 ;
3047 PyObject
* obj3
= 0 ;
3049 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3054 arg1
= wxString_in_helper(obj0
);
3055 if (arg1
== NULL
) SWIG_fail
;
3060 arg2
= wxString_in_helper(obj1
);
3061 if (arg2
== NULL
) SWIG_fail
;
3066 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3075 resultobj
= PyInt_FromLong((long)result
);
3098 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxString
*arg1
= 0 ;
3101 wxString
*arg2
= 0 ;
3102 wxString
*arg3
= 0 ;
3104 long arg5
= (long) 0 ;
3105 long arg6
= (long) 100 ;
3106 wxWindow
*arg7
= (wxWindow
*) NULL
;
3107 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3108 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3110 bool temp1
= False
;
3111 bool temp2
= False
;
3112 bool temp3
= False
;
3114 PyObject
* obj0
= 0 ;
3115 PyObject
* obj1
= 0 ;
3116 PyObject
* obj2
= 0 ;
3117 PyObject
* obj6
= 0 ;
3118 PyObject
* obj7
= 0 ;
3120 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3125 arg1
= wxString_in_helper(obj0
);
3126 if (arg1
== NULL
) SWIG_fail
;
3130 arg2
= wxString_in_helper(obj1
);
3131 if (arg2
== NULL
) SWIG_fail
;
3135 arg3
= wxString_in_helper(obj2
);
3136 if (arg3
== NULL
) SWIG_fail
;
3140 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3145 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3150 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3152 wxPyEndAllowThreads(__tstate
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3155 resultobj
= PyInt_FromLong((long)result
);
3186 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3187 PyObject
*resultobj
;
3193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3196 result
= (bool)wxColourDisplay();
3198 wxPyEndAllowThreads(__tstate
);
3199 if (PyErr_Occurred()) SWIG_fail
;
3201 resultobj
= PyInt_FromLong((long)result
);
3208 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3218 result
= (int)wxDisplayDepth();
3220 wxPyEndAllowThreads(__tstate
);
3221 if (PyErr_Occurred()) SWIG_fail
;
3223 resultobj
= PyInt_FromLong((long)result
);
3230 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3231 PyObject
*resultobj
;
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 result
= (int)wxGetDisplayDepth();
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 resultobj
= PyInt_FromLong((long)result
);
3252 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 int *arg1
= (int *) 0 ;
3255 int *arg2
= (int *) 0 ;
3264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3267 wxDisplaySize(arg1
,arg2
);
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 Py_INCREF(Py_None
); resultobj
= Py_None
;
3274 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3275 resultobj
= t_output_helper(resultobj
,o
);
3278 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3279 resultobj
= t_output_helper(resultobj
,o
);
3287 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3288 PyObject
*resultobj
;
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= wxGetDisplaySize();
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3304 resultptr
= new wxSize((wxSize
&) result
);
3305 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3313 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 int *arg1
= (int *) 0 ;
3316 int *arg2
= (int *) 0 ;
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3328 wxDisplaySizeMM(arg1
,arg2
);
3330 wxPyEndAllowThreads(__tstate
);
3331 if (PyErr_Occurred()) SWIG_fail
;
3333 Py_INCREF(Py_None
); resultobj
= Py_None
;
3335 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3336 resultobj
= t_output_helper(resultobj
,o
);
3339 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3340 resultobj
= t_output_helper(resultobj
,o
);
3348 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3349 PyObject
*resultobj
;
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3358 result
= wxGetDisplaySizeMM();
3360 wxPyEndAllowThreads(__tstate
);
3361 if (PyErr_Occurred()) SWIG_fail
;
3365 resultptr
= new wxSize((wxSize
&) result
);
3366 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3374 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3375 PyObject
*resultobj
;
3376 int *arg1
= (int *) 0 ;
3377 int *arg2
= (int *) 0 ;
3378 int *arg3
= (int *) 0 ;
3379 int *arg4
= (int *) 0 ;
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3400 Py_INCREF(Py_None
); resultobj
= Py_None
;
3402 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3403 resultobj
= t_output_helper(resultobj
,o
);
3406 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3407 resultobj
= t_output_helper(resultobj
,o
);
3410 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3411 resultobj
= t_output_helper(resultobj
,o
);
3414 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3415 resultobj
= t_output_helper(resultobj
,o
);
3423 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 result
= wxGetClientDisplayRect();
3435 wxPyEndAllowThreads(__tstate
);
3436 if (PyErr_Occurred()) SWIG_fail
;
3440 resultptr
= new wxRect((wxRect
&) result
);
3441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3449 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxCursor
*arg1
= 0 ;
3452 PyObject
* obj0
= 0 ;
3454 (char *) "cursor", NULL
3457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3460 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "cursor", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 wxBeginBusyCursor(arg1
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3512 result
= (wxWindow
*)wxGetActiveWindow();
3514 wxPyEndAllowThreads(__tstate
);
3515 if (PyErr_Occurred()) SWIG_fail
;
3518 resultobj
= wxPyMake_wxObject(result
);
3526 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3531 PyObject
* obj0
= 0 ;
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3539 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3549 resultobj
= wxPyMake_wxObject(result
);
3557 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3558 PyObject
*resultobj
;
3562 PyObject
* obj0
= 0 ;
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3570 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3574 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3576 wxPyEndAllowThreads(__tstate
);
3577 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= wxPyMake_wxObject(result
);
3588 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxWindow
*arg1
= (wxWindow
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "win", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 resultobj
= wxPyMake_wxObject(result
);
3615 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3616 PyObject
*resultobj
;
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3624 wxWakeUpMainThread();
3626 wxPyEndAllowThreads(__tstate
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3629 Py_INCREF(Py_None
); resultobj
= Py_None
;
3636 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3637 PyObject
*resultobj
;
3642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3647 wxPyEndAllowThreads(__tstate
);
3648 if (PyErr_Occurred()) SWIG_fail
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxMutexGuiLocker
*result
;
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3688 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3690 wxPyEndAllowThreads(__tstate
);
3691 if (PyErr_Occurred()) SWIG_fail
;
3693 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3700 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3701 PyObject
*resultobj
;
3702 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3703 PyObject
* obj0
= 0 ;
3705 (char *) "self", NULL
3708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3727 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3729 return Py_BuildValue((char *)"");
3731 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3732 PyObject
*resultobj
;
3738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (bool)wxThread_IsMain();
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= PyInt_FromLong((long)result
);
3753 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3754 PyObject
*resultobj
;
3755 wxString
*arg1
= 0 ;
3757 bool temp1
= False
;
3758 PyObject
* obj0
= 0 ;
3760 (char *) "tip", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3765 arg1
= wxString_in_helper(obj0
);
3766 if (arg1
== NULL
) SWIG_fail
;
3770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3771 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3777 resultobj
= wxPyMake_wxObject(result
);
3793 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3794 PyObject
*resultobj
;
3795 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3796 wxString
*arg2
= 0 ;
3797 bool temp2
= False
;
3798 PyObject
* obj0
= 0 ;
3799 PyObject
* obj1
= 0 ;
3801 (char *) "self",(char *) "tip", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3807 arg2
= wxString_in_helper(obj1
);
3808 if (arg2
== NULL
) SWIG_fail
;
3812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3813 (arg1
)->SetTip((wxString
const &)*arg2
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 Py_INCREF(Py_None
); resultobj
= Py_None
;
3833 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3837 PyObject
* obj0
= 0 ;
3839 (char *) "self", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3846 result
= (arg1
)->GetTip();
3848 wxPyEndAllowThreads(__tstate
);
3849 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3864 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3868 PyObject
* obj0
= 0 ;
3870 (char *) "self", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (wxWindow
*)(arg1
)->GetWindow();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3883 resultobj
= wxPyMake_wxObject(result
);
3891 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3894 PyObject
* obj0
= 0 ;
3896 (char *) "flag", NULL
3899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3900 arg1
= PyInt_AsLong(obj0
) ? true : false;
3901 if (PyErr_Occurred()) SWIG_fail
;
3903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3904 wxToolTip::Enable(arg1
);
3906 wxPyEndAllowThreads(__tstate
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3909 Py_INCREF(Py_None
); resultobj
= Py_None
;
3916 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3917 PyObject
*resultobj
;
3920 (char *) "milliseconds", NULL
3923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3926 wxToolTip::SetDelay(arg1
);
3928 wxPyEndAllowThreads(__tstate
);
3929 if (PyErr_Occurred()) SWIG_fail
;
3931 Py_INCREF(Py_None
); resultobj
= Py_None
;
3938 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
3940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3941 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
3943 return Py_BuildValue((char *)"");
3945 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxWindow
*arg1
= (wxWindow
*) 0 ;
3951 PyObject
* obj0
= 0 ;
3952 PyObject
* obj1
= 0 ;
3954 (char *) "window",(char *) "size", NULL
3957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
3958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
3977 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
;
3979 wxCaret
*arg1
= (wxCaret
*) 0 ;
3980 PyObject
* obj0
= 0 ;
3982 (char *) "self", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 wxPyEndAllowThreads(__tstate
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3994 Py_INCREF(Py_None
); resultobj
= Py_None
;
4001 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4003 wxCaret
*arg1
= (wxCaret
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4007 (char *) "self", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= (bool)(arg1
)->IsOk();
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 resultobj
= PyInt_FromLong((long)result
);
4026 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxCaret
*arg1
= (wxCaret
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4039 result
= (bool)(arg1
)->IsVisible();
4041 wxPyEndAllowThreads(__tstate
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 resultobj
= PyInt_FromLong((long)result
);
4051 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4053 wxCaret
*arg1
= (wxCaret
*) 0 ;
4055 PyObject
* obj0
= 0 ;
4057 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (arg1
)->GetPosition();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4070 wxPoint
* resultptr
;
4071 resultptr
= new wxPoint((wxPoint
&) result
);
4072 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4080 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxCaret
*arg1
= (wxCaret
*) 0 ;
4083 int *arg2
= (int *) 0 ;
4084 int *arg3
= (int *) 0 ;
4087 PyObject
* obj0
= 0 ;
4089 (char *) "self", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->GetPosition(arg2
,arg3
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4105 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4106 resultobj
= t_output_helper(resultobj
,o
);
4109 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4110 resultobj
= t_output_helper(resultobj
,o
);
4118 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxCaret
*arg1
= (wxCaret
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4124 (char *) "self", NULL
4127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 result
= (arg1
)->GetSize();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4138 resultptr
= new wxSize((wxSize
&) result
);
4139 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4147 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxCaret
*arg1
= (wxCaret
*) 0 ;
4150 int *arg2
= (int *) 0 ;
4151 int *arg3
= (int *) 0 ;
4154 PyObject
* obj0
= 0 ;
4156 (char *) "self", NULL
4161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4165 (arg1
)->GetSize(arg2
,arg3
);
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 Py_INCREF(Py_None
); resultobj
= Py_None
;
4172 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4173 resultobj
= t_output_helper(resultobj
,o
);
4176 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4177 resultobj
= t_output_helper(resultobj
,o
);
4185 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxCaret
*arg1
= (wxCaret
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "self", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4198 result
= (wxWindow
*)(arg1
)->GetWindow();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4204 resultobj
= wxPyMake_wxObject(result
);
4212 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4213 PyObject
*resultobj
;
4214 wxCaret
*arg1
= (wxCaret
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4219 (char *) "self",(char *) "x",(char *) "y", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 (arg1
)->Move(arg2
,arg3
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 Py_INCREF(Py_None
); resultobj
= Py_None
;
4238 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxCaret
*arg1
= (wxCaret
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4244 PyObject
* obj1
= 0 ;
4246 (char *) "self",(char *) "pt", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4253 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 (arg1
)->Move((wxPoint
const &)*arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4262 Py_INCREF(Py_None
); resultobj
= Py_None
;
4269 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxCaret
*arg1
= (wxCaret
*) 0 ;
4274 PyObject
* obj0
= 0 ;
4276 (char *) "self",(char *) "width",(char *) "height", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 (arg1
)->SetSize(arg2
,arg3
);
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 Py_INCREF(Py_None
); resultobj
= Py_None
;
4295 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxCaret
*arg1
= (wxCaret
*) 0 ;
4300 PyObject
* obj0
= 0 ;
4301 PyObject
* obj1
= 0 ;
4303 (char *) "self",(char *) "size", NULL
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4310 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4314 (arg1
)->SetSize((wxSize
const &)*arg2
);
4316 wxPyEndAllowThreads(__tstate
);
4317 if (PyErr_Occurred()) SWIG_fail
;
4319 Py_INCREF(Py_None
); resultobj
= Py_None
;
4326 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4327 PyObject
*resultobj
;
4328 wxCaret
*arg1
= (wxCaret
*) 0 ;
4329 int arg2
= (int) True
;
4330 PyObject
* obj0
= 0 ;
4332 (char *) "self",(char *) "show", NULL
4335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 Py_INCREF(Py_None
); resultobj
= Py_None
;
4351 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxCaret
*arg1
= (wxCaret
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4368 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4378 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4380 return Py_BuildValue((char *)"");
4382 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4383 PyObject
*resultobj
;
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4392 result
= (int)wxCaret_GetBlinkTime();
4394 wxPyEndAllowThreads(__tstate
);
4395 if (PyErr_Occurred()) SWIG_fail
;
4397 resultobj
= PyInt_FromLong((long)result
);
4404 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4405 PyObject
*resultobj
;
4408 (char *) "milliseconds", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 wxCaret_SetBlinkTime(arg1
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4419 Py_INCREF(Py_None
); resultobj
= Py_None
;
4426 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4427 PyObject
*resultobj
;
4428 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4429 wxBusyCursor
*result
;
4430 PyObject
* obj0
= 0 ;
4432 (char *) "cursor", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4441 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4443 wxPyEndAllowThreads(__tstate
);
4444 if (PyErr_Occurred()) SWIG_fail
;
4446 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4453 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "self", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 Py_INCREF(Py_None
); resultobj
= Py_None
;
4477 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4480 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4482 return Py_BuildValue((char *)"");
4484 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxWindow
*arg1
= (wxWindow
*) NULL
;
4487 wxWindowDisabler
*result
;
4488 PyObject
* obj0
= 0 ;
4490 (char *) "winToSkip", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4499 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4501 wxPyEndAllowThreads(__tstate
);
4502 if (PyErr_Occurred()) SWIG_fail
;
4504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4511 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4514 PyObject
* obj0
= 0 ;
4516 (char *) "self", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 Py_INCREF(Py_None
); resultobj
= Py_None
;
4535 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4538 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4540 return Py_BuildValue((char *)"");
4542 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxString
*arg1
= 0 ;
4546 bool temp1
= False
;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "message", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4554 arg1
= wxString_in_helper(obj0
);
4555 if (arg1
== NULL
) SWIG_fail
;
4559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4560 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4562 wxPyEndAllowThreads(__tstate
);
4563 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4580 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4581 PyObject
*resultobj
;
4582 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 Py_INCREF(Py_None
); resultobj
= Py_None
;
4604 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4607 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4609 return Py_BuildValue((char *)"");
4611 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4612 PyObject
*resultobj
;
4613 wxStopWatch
*result
;
4618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4621 result
= (wxStopWatch
*)new wxStopWatch();
4623 wxPyEndAllowThreads(__tstate
);
4624 if (PyErr_Occurred()) SWIG_fail
;
4626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4633 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4634 PyObject
*resultobj
;
4635 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4636 long arg2
= (long) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self",(char *) "t0", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4646 (arg1
)->Start(arg2
);
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 Py_INCREF(Py_None
); resultobj
= Py_None
;
4658 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4663 (char *) "self", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 Py_INCREF(Py_None
); resultobj
= Py_None
;
4682 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4687 (char *) "self", NULL
4690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 Py_INCREF(Py_None
); resultobj
= Py_None
;
4706 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4710 PyObject
* obj0
= 0 ;
4712 (char *) "self", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4719 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4721 wxPyEndAllowThreads(__tstate
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4724 resultobj
= PyInt_FromLong((long)result
);
4731 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4734 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4736 return Py_BuildValue((char *)"");
4738 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 int arg1
= (int) 9 ;
4741 wxFileHistory
*result
;
4743 (char *) "maxFiles", NULL
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4761 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4766 (char *) "self", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 Py_INCREF(Py_None
); resultobj
= Py_None
;
4785 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4788 wxString
*arg2
= 0 ;
4789 bool temp2
= False
;
4790 PyObject
* obj0
= 0 ;
4791 PyObject
* obj1
= 0 ;
4793 (char *) "self",(char *) "file", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4799 arg2
= wxString_in_helper(obj1
);
4800 if (arg2
== NULL
) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 Py_INCREF(Py_None
); resultobj
= Py_None
;
4825 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4826 PyObject
*resultobj
;
4827 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4829 PyObject
* obj0
= 0 ;
4831 (char *) "self",(char *) "i", NULL
4834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 (arg1
)->RemoveFileFromHistory(arg2
);
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4843 Py_INCREF(Py_None
); resultobj
= Py_None
;
4850 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4851 PyObject
*resultobj
;
4852 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4854 PyObject
* obj0
= 0 ;
4856 (char *) "self", NULL
4859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4863 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4865 wxPyEndAllowThreads(__tstate
);
4866 if (PyErr_Occurred()) SWIG_fail
;
4868 resultobj
= PyInt_FromLong((long)result
);
4875 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4876 PyObject
*resultobj
;
4877 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4878 wxMenu
*arg2
= (wxMenu
*) 0 ;
4879 PyObject
* obj0
= 0 ;
4880 PyObject
* obj1
= 0 ;
4882 (char *) "self",(char *) "menu", NULL
4885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4887 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 (arg1
)->UseMenu(arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4905 wxMenu
*arg2
= (wxMenu
*) 0 ;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "menu", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4914 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->RemoveMenu(arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4929 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4932 wxConfigBase
*arg2
= 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "config", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 (arg1
)->Load(*arg2
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4952 Py_INCREF(Py_None
); resultobj
= Py_None
;
4959 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4960 PyObject
*resultobj
;
4961 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4962 wxConfigBase
*arg2
= 0 ;
4963 PyObject
* obj0
= 0 ;
4964 PyObject
* obj1
= 0 ;
4966 (char *) "self",(char *) "config", NULL
4969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
4970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4971 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4973 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 (arg1
)->Save(*arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 Py_INCREF(Py_None
); resultobj
= Py_None
;
4989 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4994 (char *) "self", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
4998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 (arg1
)->AddFilesToMenu();
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5016 wxMenu
*arg2
= (wxMenu
*) 0 ;
5017 PyObject
* obj0
= 0 ;
5018 PyObject
* obj1
= 0 ;
5020 (char *) "self",(char *) "menu", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5025 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 (arg1
)->AddFilesToMenu(arg2
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 Py_INCREF(Py_None
); resultobj
= Py_None
;
5040 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5045 PyObject
* obj0
= 0 ;
5047 (char *) "self",(char *) "i", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5054 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5056 wxPyEndAllowThreads(__tstate
);
5057 if (PyErr_Occurred()) SWIG_fail
;
5061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5072 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "self", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5085 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5087 wxPyEndAllowThreads(__tstate
);
5088 if (PyErr_Occurred()) SWIG_fail
;
5090 resultobj
= PyInt_FromLong((long)result
);
5097 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5100 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5102 return Py_BuildValue((char *)"");
5104 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5105 PyObject
*resultobj
;
5106 wxString
*arg1
= 0 ;
5107 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5108 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5109 wxSingleInstanceChecker
*result
;
5110 bool temp1
= False
;
5111 bool temp2
= False
;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "name",(char *) "path", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5120 arg1
= wxString_in_helper(obj0
);
5121 if (arg1
== NULL
) SWIG_fail
;
5126 arg2
= wxString_in_helper(obj1
);
5127 if (arg2
== NULL
) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5161 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxSingleInstanceChecker
*result
;
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5183 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5186 PyObject
* obj0
= 0 ;
5188 (char *) "self", NULL
5191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 Py_INCREF(Py_None
); resultobj
= Py_None
;
5207 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5210 wxString
*arg2
= 0 ;
5211 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5212 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5214 bool temp2
= False
;
5215 bool temp3
= False
;
5216 PyObject
* obj0
= 0 ;
5217 PyObject
* obj1
= 0 ;
5218 PyObject
* obj2
= 0 ;
5220 (char *) "self",(char *) "name",(char *) "path", NULL
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5226 arg2
= wxString_in_helper(obj1
);
5227 if (arg2
== NULL
) SWIG_fail
;
5232 arg3
= wxString_in_helper(obj2
);
5233 if (arg3
== NULL
) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5241 wxPyEndAllowThreads(__tstate
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5244 resultobj
= PyInt_FromLong((long)result
);
5267 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "self", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= PyInt_FromLong((long)result
);
5292 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5295 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5297 return Py_BuildValue((char *)"");
5299 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5300 PyObject
*resultobj
;
5301 wxWindow
*arg1
= (wxWindow
*) 0 ;
5304 PyObject
* obj0
= 0 ;
5305 PyObject
* obj1
= 0 ;
5307 (char *) "window",(char *) "dc",(char *) "method", NULL
5310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5314 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 Py_INCREF(Py_None
); resultobj
= Py_None
;
5330 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5333 PyObject
* obj0
= 0 ;
5335 (char *) "self", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 wxPyEndAllowThreads(__tstate
);
5345 if (PyErr_Occurred()) SWIG_fail
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5354 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5360 (char *) "self", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (arg1
)->GetTip();
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5385 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (size_t)(arg1
)->GetCurrentTip();
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= PyInt_FromLong((long)result
);
5410 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5413 wxString
*arg2
= 0 ;
5415 bool temp2
= False
;
5416 PyObject
* obj0
= 0 ;
5417 PyObject
* obj1
= 0 ;
5419 (char *) "self",(char *) "tip", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5425 arg2
= wxString_in_helper(obj1
);
5426 if (arg2
== NULL
) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5457 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5460 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5462 return Py_BuildValue((char *)"");
5464 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5467 wxPyTipProvider
*result
;
5468 PyObject
* obj0
= 0 ;
5470 (char *) "currentTip", NULL
5473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5474 arg1
= (size_t) PyInt_AsLong(obj0
);
5475 if (PyErr_Occurred()) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5490 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5491 PyObject
*resultobj
;
5492 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5493 PyObject
*arg2
= (PyObject
*) 0 ;
5494 PyObject
*arg3
= (PyObject
*) 0 ;
5495 PyObject
* obj0
= 0 ;
5496 PyObject
* obj1
= 0 ;
5497 PyObject
* obj2
= 0 ;
5499 (char *) "self",(char *) "self",(char *) "_class", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5510 wxPyEndAllowThreads(__tstate
);
5511 if (PyErr_Occurred()) SWIG_fail
;
5513 Py_INCREF(Py_None
); resultobj
= Py_None
;
5520 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5523 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5525 return Py_BuildValue((char *)"");
5527 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
;
5529 wxWindow
*arg1
= (wxWindow
*) 0 ;
5530 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5531 bool arg3
= (bool) True
;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5535 PyObject
* obj2
= 0 ;
5537 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5544 arg3
= PyInt_AsLong(obj2
) ? true : false;
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5554 resultobj
= PyInt_FromLong((long)result
);
5561 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxString
*arg1
= 0 ;
5565 wxTipProvider
*result
;
5566 bool temp1
= False
;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5570 (char *) "filename",(char *) "currentTip", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 arg1
= wxString_in_helper(obj0
);
5576 if (arg1
== NULL
) SWIG_fail
;
5579 arg2
= (size_t) PyInt_AsLong(obj1
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5603 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
;
5605 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5606 int arg2
= (int) -1 ;
5608 PyObject
* obj0
= 0 ;
5610 (char *) "owner",(char *) "id", NULL
5613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5621 wxPyEndAllowThreads(__tstate
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5631 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5632 PyObject
*resultobj
;
5633 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5634 PyObject
* obj0
= 0 ;
5636 (char *) "self", NULL
5639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5648 Py_INCREF(Py_None
); resultobj
= Py_None
;
5655 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5656 PyObject
*resultobj
;
5657 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5658 PyObject
*arg2
= (PyObject
*) 0 ;
5659 PyObject
*arg3
= (PyObject
*) 0 ;
5660 PyObject
* obj0
= 0 ;
5661 PyObject
* obj1
= 0 ;
5662 PyObject
* obj2
= 0 ;
5664 (char *) "self",(char *) "self",(char *) "_class", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 Py_INCREF(Py_None
); resultobj
= Py_None
;
5685 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5688 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5689 int arg3
= (int) -1 ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5693 (char *) "self",(char *) "owner",(char *) "id", NULL
5696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5698 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 (arg1
)->SetOwner(arg2
,arg3
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 Py_INCREF(Py_None
); resultobj
= Py_None
;
5713 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5716 int arg2
= (int) -1 ;
5717 bool arg3
= (bool) False
;
5719 PyObject
* obj0
= 0 ;
5720 PyObject
* obj2
= 0 ;
5722 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5728 arg3
= PyInt_AsLong(obj2
) ? true : false;
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= PyInt_FromLong((long)result
);
5745 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5748 PyObject
* obj0
= 0 ;
5750 (char *) "self", NULL
5753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 Py_INCREF(Py_None
); resultobj
= Py_None
;
5769 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5773 PyObject
* obj0
= 0 ;
5775 (char *) "self", NULL
5778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5782 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5787 resultobj
= PyInt_FromLong((long)result
);
5794 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5795 PyObject
*resultobj
;
5796 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5798 PyObject
* obj0
= 0 ;
5800 (char *) "self", NULL
5803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5812 resultobj
= PyInt_FromLong((long)result
);
5819 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5820 PyObject
*resultobj
;
5821 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5823 PyObject
* obj0
= 0 ;
5825 (char *) "self", NULL
5828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5832 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5834 wxPyEndAllowThreads(__tstate
);
5835 if (PyErr_Occurred()) SWIG_fail
;
5837 resultobj
= PyInt_FromLong((long)result
);
5844 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5847 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5849 return Py_BuildValue((char *)"");
5851 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5852 PyObject
*resultobj
;
5853 int arg1
= (int) 0 ;
5854 int arg2
= (int) 0 ;
5855 wxTimerEvent
*result
;
5857 (char *) "timerid",(char *) "interval", NULL
5860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5875 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5888 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= PyInt_FromLong((long)result
);
5900 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5903 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5905 return Py_BuildValue((char *)"");
5907 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5908 PyObject
*resultobj
;
5910 wxTimerRunner
*result
;
5911 PyObject
* obj0
= 0 ;
5913 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
5914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5916 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5920 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
5922 wxPyEndAllowThreads(__tstate
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5932 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
5933 PyObject
*resultobj
;
5936 bool arg3
= (bool) False
;
5937 wxTimerRunner
*result
;
5938 PyObject
* obj0
= 0 ;
5939 PyObject
* obj2
= 0 ;
5941 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
5942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5944 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5947 arg3
= PyInt_AsLong(obj2
) ? true : false;
5948 if (PyErr_Occurred()) SWIG_fail
;
5951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5952 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
5954 wxPyEndAllowThreads(__tstate
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5964 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
5969 argc
= PyObject_Length(args
);
5970 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5971 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5977 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
5985 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
5988 if ((argc
>= 2) && (argc
<= 3)) {
5992 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6001 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6005 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6008 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6011 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6017 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6022 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6023 PyObject
*resultobj
;
6024 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6025 PyObject
* obj0
= 0 ;
6027 (char *) "self", NULL
6030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 Py_INCREF(Py_None
); resultobj
= Py_None
;
6046 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6050 bool arg3
= (bool) False
;
6051 PyObject
* obj0
= 0 ;
6052 PyObject
* obj2
= 0 ;
6054 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6060 arg3
= PyInt_AsLong(obj2
) ? true : false;
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 (arg1
)->Start(arg2
,arg3
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 Py_INCREF(Py_None
); resultobj
= Py_None
;
6077 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6082 return Py_BuildValue((char *)"");
6084 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (wxLog
*)new wxLog();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6106 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (bool)wxLog::IsEnabled();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 resultobj
= PyInt_FromLong((long)result
);
6128 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6130 bool arg1
= (bool) True
;
6132 PyObject
* obj0
= 0 ;
6134 (char *) "doIt", NULL
6137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6139 arg1
= PyInt_AsLong(obj0
) ? true : false;
6140 if (PyErr_Occurred()) SWIG_fail
;
6143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6144 result
= (bool)wxLog::EnableLogging(arg1
);
6146 wxPyEndAllowThreads(__tstate
);
6147 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= PyInt_FromLong((long)result
);
6156 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6159 wxChar
*arg2
= (wxChar
*) 0 ;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6165 (char *) "level",(char *) "szString",(char *) "t", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6169 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6171 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 arg3
= (time_t) PyInt_AsLong(obj2
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6178 wxPyEndAllowThreads(__tstate
);
6179 if (PyErr_Occurred()) SWIG_fail
;
6181 Py_INCREF(Py_None
); resultobj
= Py_None
;
6188 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxLog
*arg1
= (wxLog
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 wxPyEndAllowThreads(__tstate
);
6203 if (PyErr_Occurred()) SWIG_fail
;
6205 Py_INCREF(Py_None
); resultobj
= Py_None
;
6212 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6213 PyObject
*resultobj
;
6218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 wxLog::FlushActive();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 Py_INCREF(Py_None
); resultobj
= Py_None
;
6233 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
;
6240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 result
= (wxLog
*)wxLog::GetActiveTarget();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6255 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxLog
*arg1
= (wxLog
*) 0 ;
6259 PyObject
* obj0
= 0 ;
6261 (char *) "pLogger", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6280 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 Py_INCREF(Py_None
); resultobj
= Py_None
;
6301 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
;
6307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6312 wxPyEndAllowThreads(__tstate
);
6313 if (PyErr_Occurred()) SWIG_fail
;
6315 Py_INCREF(Py_None
); resultobj
= Py_None
;
6322 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6323 PyObject
*resultobj
;
6324 bool arg1
= (bool) True
;
6325 PyObject
* obj0
= 0 ;
6327 (char *) "bVerbose", NULL
6330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6332 arg1
= PyInt_AsLong(obj0
) ? true : false;
6333 if (PyErr_Occurred()) SWIG_fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6337 wxLog::SetVerbose(arg1
);
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 Py_INCREF(Py_None
); resultobj
= Py_None
;
6349 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6352 PyObject
* obj0
= 0 ;
6354 (char *) "logLevel", NULL
6357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6358 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6359 if (PyErr_Occurred()) SWIG_fail
;
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 wxLog::SetLogLevel(arg1
);
6364 wxPyEndAllowThreads(__tstate
);
6365 if (PyErr_Occurred()) SWIG_fail
;
6367 Py_INCREF(Py_None
); resultobj
= Py_None
;
6374 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 wxLog::DontCreateOnDemand();
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 Py_INCREF(Py_None
); resultobj
= Py_None
;
6395 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6398 PyObject
* obj0
= 0 ;
6400 (char *) "ulMask", NULL
6403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6404 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6405 if (PyErr_Occurred()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 wxLog::SetTraceMask(arg1
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 Py_INCREF(Py_None
); resultobj
= Py_None
;
6420 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6421 PyObject
*resultobj
;
6422 wxString
*arg1
= 0 ;
6423 bool temp1
= False
;
6424 PyObject
* obj0
= 0 ;
6426 (char *) "str", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6431 arg1
= wxString_in_helper(obj0
);
6432 if (arg1
== NULL
) SWIG_fail
;
6436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6437 wxLog::AddTraceMask((wxString
const &)*arg1
);
6439 wxPyEndAllowThreads(__tstate
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 Py_INCREF(Py_None
); resultobj
= Py_None
;
6457 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6458 PyObject
*resultobj
;
6459 wxString
*arg1
= 0 ;
6460 bool temp1
= False
;
6461 PyObject
* obj0
= 0 ;
6463 (char *) "str", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6468 arg1
= wxString_in_helper(obj0
);
6469 if (arg1
== NULL
) SWIG_fail
;
6473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6474 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6476 wxPyEndAllowThreads(__tstate
);
6477 if (PyErr_Occurred()) SWIG_fail
;
6479 Py_INCREF(Py_None
); resultobj
= Py_None
;
6494 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 wxLog::ClearTraceMasks();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 Py_INCREF(Py_None
); resultobj
= Py_None
;
6515 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxArrayString
*result
;
6522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6526 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6527 result
= (wxArrayString
*) &_result_ref
;
6530 wxPyEndAllowThreads(__tstate
);
6531 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= wxArrayString2PyList_helper(*result
);
6542 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6544 wxChar
*arg1
= (wxChar
*) 0 ;
6545 PyObject
* obj0
= 0 ;
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 wxLog::SetTimestamp((wxChar
const *)arg1
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6576 result
= (bool)wxLog::GetVerbose();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= PyInt_FromLong((long)result
);
6588 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6589 PyObject
*resultobj
;
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6598 result
= (wxTraceMask
)wxLog::GetTraceMask();
6600 wxPyEndAllowThreads(__tstate
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6603 resultobj
= PyInt_FromLong((long)result
);
6610 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6611 PyObject
*resultobj
;
6612 wxChar
*arg1
= (wxChar
*) 0 ;
6614 PyObject
* obj0
= 0 ;
6616 (char *) "mask", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= PyInt_FromLong((long)result
);
6635 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (wxLogLevel
)wxLog::GetLogLevel();
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= PyInt_FromLong((long)result
);
6657 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
;
6664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (wxChar
*)wxLog::GetTimestamp();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6679 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= Log_TimeStamp();
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6707 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6708 PyObject
*resultobj
;
6709 wxLog
*arg1
= (wxLog
*) 0 ;
6710 PyObject
* obj0
= 0 ;
6712 (char *) "self", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 wxLog_Destroy(arg1
);
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 Py_INCREF(Py_None
); resultobj
= Py_None
;
6731 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6734 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6736 return Py_BuildValue((char *)"");
6738 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
;
6740 wxLogStderr
*result
;
6745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6748 result
= (wxLogStderr
*)new wxLogStderr();
6750 wxPyEndAllowThreads(__tstate
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6760 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6763 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6765 return Py_BuildValue((char *)"");
6767 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6770 wxLogTextCtrl
*result
;
6771 PyObject
* obj0
= 0 ;
6773 (char *) "pTextCtrl", NULL
6776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6792 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6794 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6795 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6797 return Py_BuildValue((char *)"");
6799 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxLogGui
*)new wxLogGui();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6821 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6824 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6826 return Py_BuildValue((char *)"");
6828 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6829 PyObject
*resultobj
;
6830 wxFrame
*arg1
= (wxFrame
*) 0 ;
6831 wxString
*arg2
= 0 ;
6832 bool arg3
= (bool) True
;
6833 bool arg4
= (bool) True
;
6834 wxLogWindow
*result
;
6835 bool temp2
= False
;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6838 PyObject
* obj2
= 0 ;
6839 PyObject
* obj3
= 0 ;
6841 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6847 arg2
= wxString_in_helper(obj1
);
6848 if (arg2
== NULL
) SWIG_fail
;
6852 arg3
= PyInt_AsLong(obj2
) ? true : false;
6853 if (PyErr_Occurred()) SWIG_fail
;
6856 arg4
= PyInt_AsLong(obj3
) ? true : false;
6857 if (PyErr_Occurred()) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6863 wxPyEndAllowThreads(__tstate
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6881 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6884 bool arg2
= (bool) True
;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "bShow", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 arg2
= PyInt_AsLong(obj1
) ? true : false;
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 Py_INCREF(Py_None
); resultobj
= Py_None
;
6911 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6912 PyObject
*resultobj
;
6913 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6917 (char *) "self", NULL
6920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
6921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6924 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
6926 wxPyEndAllowThreads(__tstate
);
6927 if (PyErr_Occurred()) SWIG_fail
;
6930 resultobj
= wxPyMake_wxObject(result
);
6938 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6939 PyObject
*resultobj
;
6940 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6942 PyObject
* obj0
= 0 ;
6944 (char *) "self", NULL
6947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
6948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6963 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6967 PyObject
* obj0
= 0 ;
6969 (char *) "self", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6976 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= PyInt_FromLong((long)result
);
6988 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6993 PyObject
* obj1
= 0 ;
6995 (char *) "self",(char *) "bDoPass", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7000 arg2
= PyInt_AsLong(obj1
) ? true : false;
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 (arg1
)->PassMessages(arg2
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 Py_INCREF(Py_None
); resultobj
= Py_None
;
7016 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7019 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7021 return Py_BuildValue((char *)"");
7023 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxLog
*arg1
= (wxLog
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7029 (char *) "logger", NULL
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (wxLogChain
*)new wxLogChain(arg1
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7048 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7051 wxLog
*arg2
= (wxLog
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7053 PyObject
* obj1
= 0 ;
7055 (char *) "self",(char *) "logger", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 (arg1
)->SetLog(arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 Py_INCREF(Py_None
); resultobj
= Py_None
;
7075 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7082 (char *) "self",(char *) "bDoPass", NULL
7085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7087 arg2
= PyInt_AsLong(obj1
) ? true : false;
7088 if (PyErr_Occurred()) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 (arg1
)->PassMessages(arg2
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7105 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7107 PyObject
* obj0
= 0 ;
7109 (char *) "self", NULL
7112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7116 result
= (bool)(arg1
)->IsPassingMessages();
7118 wxPyEndAllowThreads(__tstate
);
7119 if (PyErr_Occurred()) SWIG_fail
;
7121 resultobj
= PyInt_FromLong((long)result
);
7128 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "self", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 result
= (wxLog
*)(arg1
)->GetOldLog();
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7153 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7156 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7158 return Py_BuildValue((char *)"");
7160 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 unsigned long result
;
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 result
= (unsigned long)wxSysErrorCode();
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= PyInt_FromLong((long)result
);
7182 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 unsigned long arg1
= (unsigned long) 0 ;
7186 PyObject
* obj0
= 0 ;
7188 (char *) "nErrCode", NULL
7191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7193 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7198 result
= wxSysErrorMsg(arg1
);
7200 wxPyEndAllowThreads(__tstate
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7216 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7217 PyObject
*resultobj
;
7218 wxString
*arg1
= 0 ;
7219 bool temp1
= False
;
7220 PyObject
* obj0
= 0 ;
7222 (char *) "msg", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7227 arg1
= wxString_in_helper(obj0
);
7228 if (arg1
== NULL
) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 wxLogFatalError((wxString
const &)*arg1
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7253 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxString
*arg1
= 0 ;
7256 bool temp1
= False
;
7257 PyObject
* obj0
= 0 ;
7259 (char *) "msg", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7264 arg1
= wxString_in_helper(obj0
);
7265 if (arg1
== NULL
) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 wxLogError((wxString
const &)*arg1
);
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7275 Py_INCREF(Py_None
); resultobj
= Py_None
;
7290 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxString
*arg1
= 0 ;
7293 bool temp1
= False
;
7294 PyObject
* obj0
= 0 ;
7296 (char *) "msg", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7301 arg1
= wxString_in_helper(obj0
);
7302 if (arg1
== NULL
) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 wxLogWarning((wxString
const &)*arg1
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7327 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7328 PyObject
*resultobj
;
7329 wxString
*arg1
= 0 ;
7330 bool temp1
= False
;
7331 PyObject
* obj0
= 0 ;
7333 (char *) "msg", NULL
7336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7338 arg1
= wxString_in_helper(obj0
);
7339 if (arg1
== NULL
) SWIG_fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 wxLogMessage((wxString
const &)*arg1
);
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7364 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxString
*arg1
= 0 ;
7367 bool temp1
= False
;
7368 PyObject
* obj0
= 0 ;
7370 (char *) "msg", NULL
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7375 arg1
= wxString_in_helper(obj0
);
7376 if (arg1
== NULL
) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 wxLogInfo((wxString
const &)*arg1
);
7383 wxPyEndAllowThreads(__tstate
);
7384 if (PyErr_Occurred()) SWIG_fail
;
7386 Py_INCREF(Py_None
); resultobj
= Py_None
;
7401 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7402 PyObject
*resultobj
;
7403 wxString
*arg1
= 0 ;
7404 bool temp1
= False
;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "msg", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7412 arg1
= wxString_in_helper(obj0
);
7413 if (arg1
== NULL
) SWIG_fail
;
7417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 wxLogDebug((wxString
const &)*arg1
);
7420 wxPyEndAllowThreads(__tstate
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7423 Py_INCREF(Py_None
); resultobj
= Py_None
;
7438 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxString
*arg1
= 0 ;
7441 bool temp1
= False
;
7442 PyObject
* obj0
= 0 ;
7444 (char *) "msg", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7449 arg1
= wxString_in_helper(obj0
);
7450 if (arg1
== NULL
) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 wxLogVerbose((wxString
const &)*arg1
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7475 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7476 PyObject
*resultobj
;
7477 wxString
*arg1
= 0 ;
7478 bool temp1
= False
;
7479 PyObject
* obj0
= 0 ;
7481 (char *) "msg", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7486 arg1
= wxString_in_helper(obj0
);
7487 if (arg1
== NULL
) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 wxLogStatus((wxString
const &)*arg1
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7497 Py_INCREF(Py_None
); resultobj
= Py_None
;
7512 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxFrame
*arg1
= (wxFrame
*) 0 ;
7515 wxString
*arg2
= 0 ;
7516 bool temp2
= False
;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7520 (char *) "pFrame",(char *) "msg", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7526 arg2
= wxString_in_helper(obj1
);
7527 if (arg2
== NULL
) SWIG_fail
;
7531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7532 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7534 wxPyEndAllowThreads(__tstate
);
7535 if (PyErr_Occurred()) SWIG_fail
;
7537 Py_INCREF(Py_None
); resultobj
= Py_None
;
7552 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxString
*arg1
= 0 ;
7555 bool temp1
= False
;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "msg", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7563 arg1
= wxString_in_helper(obj0
);
7564 if (arg1
== NULL
) SWIG_fail
;
7568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7569 wxLogSysError((wxString
const &)*arg1
);
7571 wxPyEndAllowThreads(__tstate
);
7572 if (PyErr_Occurred()) SWIG_fail
;
7574 Py_INCREF(Py_None
); resultobj
= Py_None
;
7589 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7590 PyObject
*resultobj
;
7591 wxString
*arg1
= 0 ;
7592 bool temp1
= False
;
7593 PyObject
* obj0
= 0 ;
7595 (char *) "msg", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogTrace",kwnames
,&obj0
)) goto fail
;
7600 arg1
= wxString_in_helper(obj0
);
7601 if (arg1
== NULL
) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 wxLogTrace((wxString
const &)*arg1
);
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7611 Py_INCREF(Py_None
); resultobj
= Py_None
;
7626 static PyObject
*_wrap_LogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxString
*arg1
= 0 ;
7629 wxString
*arg2
= 0 ;
7630 bool temp1
= False
;
7631 bool temp2
= False
;
7632 PyObject
* obj0
= 0 ;
7633 PyObject
* obj1
= 0 ;
7635 (char *) "mask",(char *) "msg", NULL
7638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogTraceMask",kwnames
,&obj0
,&obj1
)) goto fail
;
7640 arg1
= wxString_in_helper(obj0
);
7641 if (arg1
== NULL
) SWIG_fail
;
7645 arg2
= wxString_in_helper(obj1
);
7646 if (arg2
== NULL
) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7656 Py_INCREF(Py_None
); resultobj
= Py_None
;
7679 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 unsigned long arg1
;
7682 wxString
*arg2
= 0 ;
7683 bool temp2
= False
;
7684 PyObject
* obj0
= 0 ;
7685 PyObject
* obj1
= 0 ;
7687 (char *) "level",(char *) "msg", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7691 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 Py_INCREF(Py_None
); resultobj
= Py_None
;
7720 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxString
*arg1
= 0 ;
7723 wxString
*arg2
= 0 ;
7724 bool temp1
= False
;
7725 bool temp2
= False
;
7726 PyObject
* obj0
= 0 ;
7727 PyObject
* obj1
= 0 ;
7729 (char *) "title",(char *) "text", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7734 arg1
= wxString_in_helper(obj0
);
7735 if (arg1
== NULL
) SWIG_fail
;
7739 arg2
= wxString_in_helper(obj1
);
7740 if (arg2
== NULL
) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 Py_INCREF(Py_None
); resultobj
= Py_None
;
7773 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7783 result
= (wxLogNull
*)new wxLogNull();
7785 wxPyEndAllowThreads(__tstate
);
7786 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7795 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7800 (char *) "self", NULL
7803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 wxPyEndAllowThreads(__tstate
);
7810 if (PyErr_Occurred()) SWIG_fail
;
7812 Py_INCREF(Py_None
); resultobj
= Py_None
;
7819 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7822 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7824 return Py_BuildValue((char *)"");
7826 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7827 PyObject
*resultobj
;
7833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (wxPyLog
*)new wxPyLog();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7848 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7849 PyObject
*resultobj
;
7850 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7851 PyObject
*arg2
= (PyObject
*) 0 ;
7852 PyObject
*arg3
= (PyObject
*) 0 ;
7853 PyObject
* obj0
= 0 ;
7854 PyObject
* obj1
= 0 ;
7855 PyObject
* obj2
= 0 ;
7857 (char *) "self",(char *) "self",(char *) "_class", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7868 wxPyEndAllowThreads(__tstate
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7871 Py_INCREF(Py_None
); resultobj
= Py_None
;
7878 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
7880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7881 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
7883 return Py_BuildValue((char *)"");
7885 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7886 PyObject
*resultobj
;
7888 int arg2
= (int) wxSIGTERM
;
7891 (char *) "pid",(char *) "sig", NULL
7894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7902 resultobj
= PyInt_FromLong((long)result
);
7909 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7914 (char *) "pid", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
7919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7920 result
= (bool)wxPyProcess::Exists(arg1
);
7922 wxPyEndAllowThreads(__tstate
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7925 resultobj
= PyInt_FromLong((long)result
);
7932 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7933 PyObject
*resultobj
;
7934 wxString
*arg1
= 0 ;
7935 int arg2
= (int) wxEXEC_ASYNC
;
7936 wxPyProcess
*result
;
7937 bool temp1
= False
;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "cmd",(char *) "flags", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
7945 arg1
= wxString_in_helper(obj0
);
7946 if (arg1
== NULL
) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
7971 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
7974 int arg2
= (int) -1 ;
7975 wxPyProcess
*result
;
7976 PyObject
* obj0
= 0 ;
7978 (char *) "parent",(char *) "id", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
7983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
7999 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8002 PyObject
*arg2
= (PyObject
*) 0 ;
8003 PyObject
*arg3
= (PyObject
*) 0 ;
8004 PyObject
* obj0
= 0 ;
8005 PyObject
* obj1
= 0 ;
8006 PyObject
* obj2
= 0 ;
8008 (char *) "self",(char *) "self",(char *) "_class", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8019 wxPyEndAllowThreads(__tstate
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 Py_INCREF(Py_None
); resultobj
= Py_None
;
8029 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8030 PyObject
*resultobj
;
8031 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self",(char *) "pid",(char *) "status", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 (arg1
)->base_OnTerminate(arg2
,arg3
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8048 Py_INCREF(Py_None
); resultobj
= Py_None
;
8055 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
;
8057 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8072 Py_INCREF(Py_None
); resultobj
= Py_None
;
8079 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8080 PyObject
*resultobj
;
8081 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8085 (char *) "self", NULL
8088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (bool)(arg1
)->IsRedirected();
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= PyInt_FromLong((long)result
);
8104 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8109 (char *) "self", NULL
8112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8131 wxInputStream
*result
;
8132 PyObject
* obj0
= 0 ;
8134 (char *) "self", NULL
8137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8147 wxPyInputStream
* _ptr
= NULL
;
8150 _ptr
= new wxPyInputStream(result
);
8152 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8160 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
;
8162 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8163 wxInputStream
*result
;
8164 PyObject
* obj0
= 0 ;
8166 (char *) "self", NULL
8169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8179 wxPyInputStream
* _ptr
= NULL
;
8182 _ptr
= new wxPyInputStream(result
);
8184 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8192 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8193 PyObject
*resultobj
;
8194 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8195 wxOutputStream
*result
;
8196 PyObject
* obj0
= 0 ;
8198 (char *) "self", NULL
8201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8205 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8217 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
;
8219 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8222 (char *) "self", NULL
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 (arg1
)->CloseOutput();
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8245 PyObject
* obj0
= 0 ;
8247 (char *) "self", NULL
8250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8254 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8256 wxPyEndAllowThreads(__tstate
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8259 resultobj
= PyInt_FromLong((long)result
);
8266 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8267 PyObject
*resultobj
;
8268 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8270 PyObject
* obj0
= 0 ;
8272 (char *) "self", NULL
8275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyInt_FromLong((long)result
);
8291 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8292 PyObject
*resultobj
;
8293 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8295 PyObject
* obj0
= 0 ;
8297 (char *) "self", NULL
8300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8304 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8309 resultobj
= PyInt_FromLong((long)result
);
8316 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8319 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8321 return Py_BuildValue((char *)"");
8323 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 int arg1
= (int) 0 ;
8326 int arg2
= (int) 0 ;
8327 int arg3
= (int) 0 ;
8328 wxProcessEvent
*result
;
8330 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8348 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "self", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (int)(arg1
)->GetPid();
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= PyInt_FromLong((long)result
);
8373 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8374 PyObject
*resultobj
;
8375 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8377 PyObject
* obj0
= 0 ;
8379 (char *) "self", NULL
8382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 result
= (int)(arg1
)->GetExitCode();
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 resultobj
= PyInt_FromLong((long)result
);
8398 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8399 PyObject
*resultobj
;
8400 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8402 PyObject
* obj0
= 0 ;
8404 (char *) "self",(char *) "m_pid", NULL
8407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8409 if (arg1
) (arg1
)->m_pid
= arg2
;
8411 Py_INCREF(Py_None
); resultobj
= Py_None
;
8418 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8419 PyObject
*resultobj
;
8420 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8422 PyObject
* obj0
= 0 ;
8424 (char *) "self", NULL
8427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8429 result
= (int) ((arg1
)->m_pid
);
8431 resultobj
= PyInt_FromLong((long)result
);
8438 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self",(char *) "m_exitcode", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8449 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8451 Py_INCREF(Py_None
); resultobj
= Py_None
;
8458 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8462 PyObject
* obj0
= 0 ;
8464 (char *) "self", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8469 result
= (int) ((arg1
)->m_exitcode
);
8471 resultobj
= PyInt_FromLong((long)result
);
8478 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8481 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8483 return Py_BuildValue((char *)"");
8485 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8486 PyObject
*resultobj
;
8487 wxString
*arg1
= 0 ;
8488 int arg2
= (int) wxEXEC_ASYNC
;
8489 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8491 bool temp1
= False
;
8492 PyObject
* obj0
= 0 ;
8493 PyObject
* obj2
= 0 ;
8495 (char *) "command",(char *) "flags",(char *) "process", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8500 arg1
= wxString_in_helper(obj0
);
8501 if (arg1
== NULL
) SWIG_fail
;
8505 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= PyInt_FromLong((long)result
);
8529 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
;
8531 int arg1
= (int) wxJOYSTICK1
;
8534 (char *) "joystick", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8540 result
= (wxJoystick
*)new wxJoystick(arg1
);
8542 wxPyEndAllowThreads(__tstate
);
8543 if (PyErr_Occurred()) SWIG_fail
;
8545 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8552 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8553 PyObject
*resultobj
;
8554 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8555 PyObject
* obj0
= 0 ;
8557 (char *) "self", NULL
8560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 Py_INCREF(Py_None
); resultobj
= Py_None
;
8576 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8582 (char *) "self", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8589 result
= (arg1
)->GetPosition();
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 wxPoint
* resultptr
;
8596 resultptr
= new wxPoint((wxPoint
&) result
);
8597 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8605 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8609 PyObject
* obj0
= 0 ;
8611 (char *) "self", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (int)(arg1
)->GetZPosition();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 resultobj
= PyInt_FromLong((long)result
);
8630 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8631 PyObject
*resultobj
;
8632 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8634 PyObject
* obj0
= 0 ;
8636 (char *) "self", NULL
8639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (int)(arg1
)->GetButtonState();
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= PyInt_FromLong((long)result
);
8655 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8659 PyObject
* obj0
= 0 ;
8661 (char *) "self", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (int)(arg1
)->GetPOVPosition();
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= PyInt_FromLong((long)result
);
8680 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
;
8682 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8684 PyObject
* obj0
= 0 ;
8686 (char *) "self", NULL
8689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (int)(arg1
)->GetPOVCTSPosition();
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= PyInt_FromLong((long)result
);
8705 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
;
8707 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8711 (char *) "self", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (int)(arg1
)->GetRudderPosition();
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= PyInt_FromLong((long)result
);
8730 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8731 PyObject
*resultobj
;
8732 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8736 (char *) "self", NULL
8739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (int)(arg1
)->GetUPosition();
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8748 resultobj
= PyInt_FromLong((long)result
);
8755 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8756 PyObject
*resultobj
;
8757 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8759 PyObject
* obj0
= 0 ;
8761 (char *) "self", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= (int)(arg1
)->GetVPosition();
8770 wxPyEndAllowThreads(__tstate
);
8771 if (PyErr_Occurred()) SWIG_fail
;
8773 resultobj
= PyInt_FromLong((long)result
);
8780 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8781 PyObject
*resultobj
;
8782 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8784 PyObject
* obj0
= 0 ;
8786 (char *) "self", NULL
8789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8793 result
= (int)(arg1
)->GetMovementThreshold();
8795 wxPyEndAllowThreads(__tstate
);
8796 if (PyErr_Occurred()) SWIG_fail
;
8798 resultobj
= PyInt_FromLong((long)result
);
8805 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8806 PyObject
*resultobj
;
8807 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8811 (char *) "self",(char *) "threshold", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->SetMovementThreshold(arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8830 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8832 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8834 PyObject
* obj0
= 0 ;
8836 (char *) "self", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 result
= (bool)(arg1
)->IsOk();
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 resultobj
= PyInt_FromLong((long)result
);
8855 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8861 (char *) "self", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (int)(arg1
)->GetNumberJoysticks();
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 resultobj
= PyInt_FromLong((long)result
);
8880 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (int)(arg1
)->GetManufacturerId();
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 resultobj
= PyInt_FromLong((long)result
);
8905 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "self", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (int)(arg1
)->GetProductId();
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= PyInt_FromLong((long)result
);
8930 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8936 (char *) "self", NULL
8939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
8940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 result
= (arg1
)->GetProductName();
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8961 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8962 PyObject
*resultobj
;
8963 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8965 PyObject
* obj0
= 0 ;
8967 (char *) "self", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
8971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8974 result
= (int)(arg1
)->GetXMin();
8976 wxPyEndAllowThreads(__tstate
);
8977 if (PyErr_Occurred()) SWIG_fail
;
8979 resultobj
= PyInt_FromLong((long)result
);
8986 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (int)(arg1
)->GetYMin();
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= PyInt_FromLong((long)result
);
9011 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9015 PyObject
* obj0
= 0 ;
9017 (char *) "self", NULL
9020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (int)(arg1
)->GetZMin();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 resultobj
= PyInt_FromLong((long)result
);
9036 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (int)(arg1
)->GetXMax();
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= PyInt_FromLong((long)result
);
9061 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9067 (char *) "self", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (int)(arg1
)->GetYMax();
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= PyInt_FromLong((long)result
);
9086 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
;
9088 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9090 PyObject
* obj0
= 0 ;
9092 (char *) "self", NULL
9095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9099 result
= (int)(arg1
)->GetZMax();
9101 wxPyEndAllowThreads(__tstate
);
9102 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= PyInt_FromLong((long)result
);
9111 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9124 result
= (int)(arg1
)->GetNumberButtons();
9126 wxPyEndAllowThreads(__tstate
);
9127 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= PyInt_FromLong((long)result
);
9136 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9140 PyObject
* obj0
= 0 ;
9142 (char *) "self", NULL
9145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (int)(arg1
)->GetNumberAxes();
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9154 resultobj
= PyInt_FromLong((long)result
);
9161 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
;
9163 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9165 PyObject
* obj0
= 0 ;
9167 (char *) "self", NULL
9170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (int)(arg1
)->GetMaxButtons();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= PyInt_FromLong((long)result
);
9186 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "self", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9199 result
= (int)(arg1
)->GetMaxAxes();
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= PyInt_FromLong((long)result
);
9211 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
;
9213 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9215 PyObject
* obj0
= 0 ;
9217 (char *) "self", NULL
9220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (int)(arg1
)->GetPollingMin();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9229 resultobj
= PyInt_FromLong((long)result
);
9236 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9237 PyObject
*resultobj
;
9238 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9240 PyObject
* obj0
= 0 ;
9242 (char *) "self", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (int)(arg1
)->GetPollingMax();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9254 resultobj
= PyInt_FromLong((long)result
);
9261 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9262 PyObject
*resultobj
;
9263 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9265 PyObject
* obj0
= 0 ;
9267 (char *) "self", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (int)(arg1
)->GetRudderMin();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= PyInt_FromLong((long)result
);
9286 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9290 PyObject
* obj0
= 0 ;
9292 (char *) "self", NULL
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9299 result
= (int)(arg1
)->GetRudderMax();
9301 wxPyEndAllowThreads(__tstate
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9304 resultobj
= PyInt_FromLong((long)result
);
9311 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9312 PyObject
*resultobj
;
9313 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9317 (char *) "self", NULL
9320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (int)(arg1
)->GetUMin();
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= PyInt_FromLong((long)result
);
9336 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9349 result
= (int)(arg1
)->GetUMax();
9351 wxPyEndAllowThreads(__tstate
);
9352 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= PyInt_FromLong((long)result
);
9361 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9362 PyObject
*resultobj
;
9363 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (int)(arg1
)->GetVMin();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9379 resultobj
= PyInt_FromLong((long)result
);
9386 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9390 PyObject
* obj0
= 0 ;
9392 (char *) "self", NULL
9395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9399 result
= (int)(arg1
)->GetVMax();
9401 wxPyEndAllowThreads(__tstate
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9404 resultobj
= PyInt_FromLong((long)result
);
9411 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9412 PyObject
*resultobj
;
9413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9415 PyObject
* obj0
= 0 ;
9417 (char *) "self", NULL
9420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)(arg1
)->HasRudder();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= PyInt_FromLong((long)result
);
9436 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (bool)(arg1
)->HasZ();
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9454 resultobj
= PyInt_FromLong((long)result
);
9461 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (bool)(arg1
)->HasU();
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9479 resultobj
= PyInt_FromLong((long)result
);
9486 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9499 result
= (bool)(arg1
)->HasV();
9501 wxPyEndAllowThreads(__tstate
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9504 resultobj
= PyInt_FromLong((long)result
);
9511 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9512 PyObject
*resultobj
;
9513 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9515 PyObject
* obj0
= 0 ;
9517 (char *) "self", NULL
9520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (bool)(arg1
)->HasPOV();
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= PyInt_FromLong((long)result
);
9536 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9537 PyObject
*resultobj
;
9538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9540 PyObject
* obj0
= 0 ;
9542 (char *) "self", NULL
9545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)(arg1
)->HasPOV4Dir();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= PyInt_FromLong((long)result
);
9561 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->HasPOVCTS();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= PyInt_FromLong((long)result
);
9586 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9589 wxWindow
*arg2
= (wxWindow
*) 0 ;
9590 int arg3
= (int) 0 ;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9595 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 resultobj
= PyInt_FromLong((long)result
);
9615 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 result
= (bool)(arg1
)->ReleaseCapture();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 resultobj
= PyInt_FromLong((long)result
);
9640 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9643 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9645 return Py_BuildValue((char *)"");
9647 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9648 PyObject
*resultobj
;
9649 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9650 wxPoint
*arg2
= (wxPoint
*) 0 ;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9654 (char *) "self",(char *) "m_pos", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9660 if (arg1
) (arg1
)->m_pos
= *arg2
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9680 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9689 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9695 (char *) "self",(char *) "m_zPosition", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9700 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9702 Py_INCREF(Py_None
); resultobj
= Py_None
;
9709 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9720 result
= (int) ((arg1
)->m_zPosition
);
9722 resultobj
= PyInt_FromLong((long)result
);
9729 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9730 PyObject
*resultobj
;
9731 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9735 (char *) "self",(char *) "m_buttonChange", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9740 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9742 Py_INCREF(Py_None
); resultobj
= Py_None
;
9749 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9753 PyObject
* obj0
= 0 ;
9755 (char *) "self", NULL
9758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 result
= (int) ((arg1
)->m_buttonChange
);
9762 resultobj
= PyInt_FromLong((long)result
);
9769 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9773 PyObject
* obj0
= 0 ;
9775 (char *) "self",(char *) "m_buttonState", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9780 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9782 Py_INCREF(Py_None
); resultobj
= Py_None
;
9789 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9790 PyObject
*resultobj
;
9791 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9793 PyObject
* obj0
= 0 ;
9795 (char *) "self", NULL
9798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9800 result
= (int) ((arg1
)->m_buttonState
);
9802 resultobj
= PyInt_FromLong((long)result
);
9809 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9811 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9815 (char *) "self",(char *) "m_joyStick", NULL
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9820 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9822 Py_INCREF(Py_None
); resultobj
= Py_None
;
9829 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "self", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9840 result
= (int) ((arg1
)->m_joyStick
);
9842 resultobj
= PyInt_FromLong((long)result
);
9849 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9852 int arg2
= (int) 0 ;
9853 int arg3
= (int) wxJOYSTICK1
;
9854 int arg4
= (int) 0 ;
9855 wxJoystickEvent
*result
;
9857 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
9875 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9888 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
9890 wxPyEndAllowThreads(__tstate
);
9891 if (PyErr_Occurred()) SWIG_fail
;
9894 wxPoint
* resultptr
;
9895 resultptr
= new wxPoint((wxPoint
&) result
);
9896 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9904 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9908 PyObject
* obj0
= 0 ;
9910 (char *) "self", NULL
9913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
9914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9922 resultobj
= PyInt_FromLong((long)result
);
9929 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 resultobj
= PyInt_FromLong((long)result
);
9954 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= PyInt_FromLong((long)result
);
9979 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
9994 wxPyEndAllowThreads(__tstate
);
9995 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= PyInt_FromLong((long)result
);
10004 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10008 PyObject
* obj0
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "stick", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 (arg1
)->SetJoystick(arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10029 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self",(char *) "state", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 (arg1
)->SetButtonState(arg2
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 Py_INCREF(Py_None
); resultobj
= Py_None
;
10054 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self",(char *) "change", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10067 (arg1
)->SetButtonChange(arg2
);
10069 wxPyEndAllowThreads(__tstate
);
10070 if (PyErr_Occurred()) SWIG_fail
;
10072 Py_INCREF(Py_None
); resultobj
= Py_None
;
10079 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10080 PyObject
*resultobj
;
10081 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10082 wxPoint
*arg2
= 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "pos", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10094 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10098 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10100 wxPyEndAllowThreads(__tstate
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10103 Py_INCREF(Py_None
); resultobj
= Py_None
;
10110 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10111 PyObject
*resultobj
;
10112 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10114 PyObject
* obj0
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self",(char *) "zPos", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 (arg1
)->SetZPosition(arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 Py_INCREF(Py_None
); resultobj
= Py_None
;
10135 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= PyInt_FromLong((long)result
);
10160 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10161 PyObject
*resultobj
;
10162 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10164 PyObject
* obj0
= 0 ;
10165 char *kwnames
[] = {
10166 (char *) "self", NULL
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= PyInt_FromLong((long)result
);
10185 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 char *kwnames
[] = {
10191 (char *) "self", NULL
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10198 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 resultobj
= PyInt_FromLong((long)result
);
10210 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10211 PyObject
*resultobj
;
10212 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10213 int arg2
= (int) wxJOY_BUTTON_ANY
;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self",(char *) "but", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10224 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 resultobj
= PyInt_FromLong((long)result
);
10236 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10239 int arg2
= (int) wxJOY_BUTTON_ANY
;
10241 PyObject
* obj0
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self",(char *) "but", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10252 wxPyEndAllowThreads(__tstate
);
10253 if (PyErr_Occurred()) SWIG_fail
;
10255 resultobj
= PyInt_FromLong((long)result
);
10262 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10263 PyObject
*resultobj
;
10264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10265 int arg2
= (int) wxJOY_BUTTON_ANY
;
10267 PyObject
* obj0
= 0 ;
10268 char *kwnames
[] = {
10269 (char *) "self",(char *) "but", NULL
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10276 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= PyInt_FromLong((long)result
);
10288 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10291 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10293 return Py_BuildValue((char *)"");
10295 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxString
*arg1
= 0 ;
10298 bool arg2
= (bool) False
;
10300 bool temp1
= False
;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "fileName",(char *) "isResource", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10309 arg1
= wxString_in_helper(obj0
);
10310 if (arg1
== NULL
) SWIG_fail
;
10314 arg2
= PyInt_AsLong(obj1
) ? true : false;
10315 if (PyErr_Occurred()) SWIG_fail
;
10318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10319 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10339 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxString
*arg1
= 0 ;
10343 bool temp1
= False
;
10344 PyObject
* obj0
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "data", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10351 arg1
= wxString_in_helper(obj0
);
10352 if (arg1
== NULL
) SWIG_fail
;
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10377 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10378 PyObject
*resultobj
;
10379 wxWave
*arg1
= (wxWave
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 char *kwnames
[] = {
10382 (char *) "self", NULL
10385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 Py_INCREF(Py_None
); resultobj
= Py_None
;
10401 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxWave
*arg1
= (wxWave
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10416 wxPyEndAllowThreads(__tstate
);
10417 if (PyErr_Occurred()) SWIG_fail
;
10419 resultobj
= PyInt_FromLong((long)result
);
10426 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10427 PyObject
*resultobj
;
10428 wxWave
*arg1
= (wxWave
*) 0 ;
10429 bool arg2
= (bool) True
;
10430 bool arg3
= (bool) False
;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 PyObject
* obj2
= 0 ;
10435 char *kwnames
[] = {
10436 (char *) "self",(char *) "async",(char *) "looped", NULL
10439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10442 arg2
= PyInt_AsLong(obj1
) ? true : false;
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 arg3
= PyInt_AsLong(obj2
) ? true : false;
10447 if (PyErr_Occurred()) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= PyInt_FromLong((long)result
);
10463 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10466 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10468 return Py_BuildValue((char *)"");
10470 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10471 PyObject
*resultobj
;
10472 wxString
*arg1
= 0 ;
10473 wxString
*arg2
= 0 ;
10474 wxString
*arg3
= 0 ;
10475 wxString
*arg4
= 0 ;
10476 wxFileTypeInfo
*result
;
10477 bool temp1
= False
;
10478 bool temp2
= False
;
10479 bool temp3
= False
;
10480 bool temp4
= False
;
10481 PyObject
* obj0
= 0 ;
10482 PyObject
* obj1
= 0 ;
10483 PyObject
* obj2
= 0 ;
10484 PyObject
* obj3
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10491 arg1
= wxString_in_helper(obj0
);
10492 if (arg1
== NULL
) SWIG_fail
;
10496 arg2
= wxString_in_helper(obj1
);
10497 if (arg2
== NULL
) SWIG_fail
;
10501 arg3
= wxString_in_helper(obj2
);
10502 if (arg3
== NULL
) SWIG_fail
;
10506 arg4
= wxString_in_helper(obj3
);
10507 if (arg4
== NULL
) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10556 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
;
10558 wxArrayString
*arg1
= 0 ;
10559 wxFileTypeInfo
*result
;
10560 PyObject
* obj0
= 0 ;
10561 char *kwnames
[] = {
10562 (char *) "sArray", NULL
10565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10567 if (! PySequence_Check(obj0
)) {
10568 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10571 arg1
= new wxArrayString
;
10572 int i
, len
=PySequence_Length(obj0
);
10573 for (i
=0; i
<len
; i
++) {
10574 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10576 PyObject
* str
= PyObject_Unicode(item
);
10578 PyObject
* str
= PyObject_Str(item
);
10580 arg1
->Add(Py2wxString(str
));
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10594 if (arg1
) delete arg1
;
10599 if (arg1
) delete arg1
;
10605 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxFileTypeInfo
*result
;
10608 char *kwnames
[] = {
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10615 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10627 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10631 PyObject
* obj0
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10640 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10642 wxPyEndAllowThreads(__tstate
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10645 resultobj
= PyInt_FromLong((long)result
);
10652 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10653 PyObject
*resultobj
;
10654 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10655 wxString
*arg2
= 0 ;
10656 int arg3
= (int) 0 ;
10657 bool temp2
= False
;
10658 PyObject
* obj0
= 0 ;
10659 PyObject
* obj1
= 0 ;
10660 char *kwnames
[] = {
10661 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10667 arg2
= wxString_in_helper(obj1
);
10668 if (arg2
== NULL
) SWIG_fail
;
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10675 wxPyEndAllowThreads(__tstate
);
10676 if (PyErr_Occurred()) SWIG_fail
;
10678 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10696 wxString
*arg2
= 0 ;
10697 bool temp2
= False
;
10698 PyObject
* obj0
= 0 ;
10699 PyObject
* obj1
= 0 ;
10700 char *kwnames
[] = {
10701 (char *) "self",(char *) "shortDesc", NULL
10704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10707 arg2
= wxString_in_helper(obj1
);
10708 if (arg2
== NULL
) SWIG_fail
;
10712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10713 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10715 wxPyEndAllowThreads(__tstate
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10718 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10748 result
= (wxString
*) &_result_ref
;
10751 wxPyEndAllowThreads(__tstate
);
10752 if (PyErr_Occurred()) SWIG_fail
;
10754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10761 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10765 PyObject
* obj0
= 0 ;
10766 char *kwnames
[] = {
10767 (char *) "self", NULL
10770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10776 result
= (wxString
*) &_result_ref
;
10779 wxPyEndAllowThreads(__tstate
);
10780 if (PyErr_Occurred()) SWIG_fail
;
10782 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10789 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10803 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10804 result
= (wxString
*) &_result_ref
;
10807 wxPyEndAllowThreads(__tstate
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10817 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10818 PyObject
*resultobj
;
10819 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10821 PyObject
* obj0
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10831 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10832 result
= (wxString
*) &_result_ref
;
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10845 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10849 PyObject
* obj0
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10859 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
10860 result
= (wxString
*) &_result_ref
;
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10873 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10876 wxArrayString
*result
;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
10888 result
= (wxArrayString
*) &_result_ref
;
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= wxArrayString2PyList_helper(*result
);
10903 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10907 PyObject
* obj0
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 resultobj
= PyInt_FromLong((long)result
);
10928 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
10943 result
= (wxString
*) &_result_ref
;
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10956 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= PyInt_FromLong((long)result
);
10981 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
10983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10984 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
10986 return Py_BuildValue((char *)"");
10988 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10989 PyObject
*resultobj
;
10990 wxFileTypeInfo
*arg1
= 0 ;
10991 wxFileType
*result
;
10992 PyObject
* obj0
= 0 ;
10993 char *kwnames
[] = {
10994 (char *) "ftInfo", NULL
10997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
10998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10999 if (arg1
== NULL
) {
11000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11016 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxFileType
*arg1
= (wxFileType
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxFileType
*arg1
= (wxFileType
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11058 resultobj
= result
;
11065 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 wxFileType
*arg1
= (wxFileType
*) 0 ;
11069 PyObject
* obj0
= 0 ;
11070 char *kwnames
[] = {
11071 (char *) "self", NULL
11074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= result
;
11090 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxFileType
*arg1
= (wxFileType
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11103 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= result
;
11115 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
;
11117 wxFileType
*arg1
= (wxFileType
*) 0 ;
11119 PyObject
* obj0
= 0 ;
11120 char *kwnames
[] = {
11121 (char *) "self", NULL
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11128 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11140 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11141 PyObject
*resultobj
;
11142 wxFileType
*arg1
= (wxFileType
*) 0 ;
11144 PyObject
* obj0
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11153 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11155 wxPyEndAllowThreads(__tstate
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11158 resultobj
= result
;
11165 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11166 PyObject
*resultobj
;
11167 wxFileType
*arg1
= (wxFileType
*) 0 ;
11169 PyObject
* obj0
= 0 ;
11170 char *kwnames
[] = {
11171 (char *) "self", NULL
11174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= result
;
11190 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxFileType
*arg1
= (wxFileType
*) 0 ;
11193 wxString
*arg2
= 0 ;
11194 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11195 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11197 bool temp2
= False
;
11198 bool temp3
= False
;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 PyObject
* obj2
= 0 ;
11202 char *kwnames
[] = {
11203 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11209 arg2
= wxString_in_helper(obj1
);
11210 if (arg2
== NULL
) SWIG_fail
;
11215 arg3
= wxString_in_helper(obj2
);
11216 if (arg3
== NULL
) SWIG_fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
;
11250 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11251 PyObject
*resultobj
;
11252 wxFileType
*arg1
= (wxFileType
*) 0 ;
11253 wxString
*arg2
= 0 ;
11254 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11255 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11257 bool temp2
= False
;
11258 bool temp3
= False
;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 char *kwnames
[] = {
11263 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11269 arg2
= wxString_in_helper(obj1
);
11270 if (arg2
== NULL
) SWIG_fail
;
11275 arg3
= wxString_in_helper(obj2
);
11276 if (arg3
== NULL
) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= result
;
11310 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxFileType
*arg1
= (wxFileType
*) 0 ;
11313 wxString
*arg2
= 0 ;
11314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11317 bool temp2
= False
;
11318 bool temp3
= False
;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 PyObject
* obj2
= 0 ;
11322 char *kwnames
[] = {
11323 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11329 arg2
= wxString_in_helper(obj1
);
11330 if (arg2
== NULL
) SWIG_fail
;
11335 arg3
= wxString_in_helper(obj2
);
11336 if (arg3
== NULL
) SWIG_fail
;
11341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11342 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11344 wxPyEndAllowThreads(__tstate
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= result
;
11370 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11371 PyObject
*resultobj
;
11372 wxFileType
*arg1
= (wxFileType
*) 0 ;
11373 wxString
*arg2
= 0 ;
11374 wxString
*arg3
= 0 ;
11375 bool arg4
= (bool) True
;
11377 bool temp2
= False
;
11378 bool temp3
= False
;
11379 PyObject
* obj0
= 0 ;
11380 PyObject
* obj1
= 0 ;
11381 PyObject
* obj2
= 0 ;
11382 PyObject
* obj3
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11390 arg2
= wxString_in_helper(obj1
);
11391 if (arg2
== NULL
) SWIG_fail
;
11395 arg3
= wxString_in_helper(obj2
);
11396 if (arg3
== NULL
) SWIG_fail
;
11400 arg4
= PyInt_AsLong(obj3
) ? true : false;
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= PyInt_FromLong((long)result
);
11433 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxFileType
*arg1
= (wxFileType
*) 0 ;
11436 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11437 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11438 int arg3
= (int) 0 ;
11440 bool temp2
= False
;
11441 PyObject
* obj0
= 0 ;
11442 PyObject
* obj1
= 0 ;
11443 char *kwnames
[] = {
11444 (char *) "self",(char *) "cmd",(char *) "index", NULL
11447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11451 arg2
= wxString_in_helper(obj1
);
11452 if (arg2
== NULL
) SWIG_fail
;
11457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11458 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11460 wxPyEndAllowThreads(__tstate
);
11461 if (PyErr_Occurred()) SWIG_fail
;
11463 resultobj
= PyInt_FromLong((long)result
);
11478 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11479 PyObject
*resultobj
;
11480 wxFileType
*arg1
= (wxFileType
*) 0 ;
11482 PyObject
* obj0
= 0 ;
11483 char *kwnames
[] = {
11484 (char *) "self", NULL
11487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11491 result
= (bool)(arg1
)->Unassociate();
11493 wxPyEndAllowThreads(__tstate
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 resultobj
= PyInt_FromLong((long)result
);
11503 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxString
*arg1
= 0 ;
11506 wxString
*arg2
= 0 ;
11507 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11508 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11510 bool temp1
= False
;
11511 bool temp2
= False
;
11512 bool temp3
= False
;
11513 PyObject
* obj0
= 0 ;
11514 PyObject
* obj1
= 0 ;
11515 PyObject
* obj2
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11522 arg1
= wxString_in_helper(obj0
);
11523 if (arg1
== NULL
) SWIG_fail
;
11527 arg2
= wxString_in_helper(obj1
);
11528 if (arg2
== NULL
) SWIG_fail
;
11533 arg3
= wxString_in_helper(obj2
);
11534 if (arg3
== NULL
) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11582 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11585 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11587 return Py_BuildValue((char *)"");
11589 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11590 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11595 static PyObject
*_wrap_TheMimeTypesManager_get() {
11598 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11603 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11604 PyObject
*resultobj
;
11605 wxString
*arg1
= 0 ;
11606 wxString
*arg2
= 0 ;
11608 bool temp1
= False
;
11609 bool temp2
= False
;
11610 PyObject
* obj0
= 0 ;
11611 PyObject
* obj1
= 0 ;
11612 char *kwnames
[] = {
11613 (char *) "mimeType",(char *) "wildcard", NULL
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11618 arg1
= wxString_in_helper(obj0
);
11619 if (arg1
== NULL
) SWIG_fail
;
11623 arg2
= wxString_in_helper(obj1
);
11624 if (arg2
== NULL
) SWIG_fail
;
11628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11629 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11634 resultobj
= PyInt_FromLong((long)result
);
11657 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxMimeTypesManager
*result
;
11660 char *kwnames
[] = {
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11679 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11682 int arg2
= (int) wxMAILCAP_ALL
;
11683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11685 bool temp3
= False
;
11686 PyObject
* obj0
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 char *kwnames
[] = {
11689 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11696 arg3
= wxString_in_helper(obj2
);
11697 if (arg3
== NULL
) SWIG_fail
;
11702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11703 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11708 Py_INCREF(Py_None
); resultobj
= Py_None
;
11723 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->ClearData();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 Py_INCREF(Py_None
); resultobj
= Py_None
;
11747 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11750 wxString
*arg2
= 0 ;
11751 wxFileType
*result
;
11752 bool temp2
= False
;
11753 PyObject
* obj0
= 0 ;
11754 PyObject
* obj1
= 0 ;
11755 char *kwnames
[] = {
11756 (char *) "self",(char *) "ext", NULL
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11762 arg2
= wxString_in_helper(obj1
);
11763 if (arg2
== NULL
) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11788 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11789 PyObject
*resultobj
;
11790 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11791 wxString
*arg2
= 0 ;
11792 wxFileType
*result
;
11793 bool temp2
= False
;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char *kwnames
[] = {
11797 (char *) "self",(char *) "mimeType", NULL
11800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11803 arg2
= wxString_in_helper(obj1
);
11804 if (arg2
== NULL
) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11829 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11830 PyObject
*resultobj
;
11831 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11832 wxString
*arg2
= 0 ;
11833 bool arg3
= (bool) False
;
11835 bool temp2
= False
;
11836 PyObject
* obj0
= 0 ;
11837 PyObject
* obj1
= 0 ;
11838 PyObject
* obj2
= 0 ;
11839 char *kwnames
[] = {
11840 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11846 arg2
= wxString_in_helper(obj1
);
11847 if (arg2
== NULL
) SWIG_fail
;
11851 arg3
= PyInt_AsLong(obj2
) ? true : false;
11852 if (PyErr_Occurred()) SWIG_fail
;
11855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11856 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
11858 wxPyEndAllowThreads(__tstate
);
11859 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= PyInt_FromLong((long)result
);
11876 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11879 wxString
*arg2
= 0 ;
11881 bool temp2
= False
;
11882 PyObject
* obj0
= 0 ;
11883 PyObject
* obj1
= 0 ;
11884 char *kwnames
[] = {
11885 (char *) "self",(char *) "filename", NULL
11888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
11889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11891 arg2
= wxString_in_helper(obj1
);
11892 if (arg2
== NULL
) SWIG_fail
;
11896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11897 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
11899 wxPyEndAllowThreads(__tstate
);
11900 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= PyInt_FromLong((long)result
);
11917 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11918 PyObject
*resultobj
;
11919 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11921 PyObject
* obj0
= 0 ;
11922 char *kwnames
[] = {
11923 (char *) "self", NULL
11926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
11927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 resultobj
= result
;
11942 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11945 wxFileTypeInfo
*arg2
= 0 ;
11946 PyObject
* obj0
= 0 ;
11947 PyObject
* obj1
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self",(char *) "ft", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11954 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11955 if (arg2
== NULL
) {
11956 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
11962 wxPyEndAllowThreads(__tstate
);
11963 if (PyErr_Occurred()) SWIG_fail
;
11965 Py_INCREF(Py_None
); resultobj
= Py_None
;
11972 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11973 PyObject
*resultobj
;
11974 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11975 wxFileTypeInfo
*arg2
= 0 ;
11976 wxFileType
*result
;
11977 PyObject
* obj0
= 0 ;
11978 PyObject
* obj1
= 0 ;
11979 char *kwnames
[] = {
11980 (char *) "self",(char *) "ftInfo", NULL
11983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
11984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11986 if (arg2
== NULL
) {
11987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12003 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12006 wxFileType
*arg2
= (wxFileType
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "ft", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (bool)(arg1
)->Unassociate(arg2
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= PyInt_FromLong((long)result
);
12031 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12034 PyObject
* obj0
= 0 ;
12035 char *kwnames
[] = {
12036 (char *) "self", NULL
12039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12048 Py_INCREF(Py_None
); resultobj
= Py_None
;
12055 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12058 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12060 return Py_BuildValue((char *)"");
12062 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12063 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12068 static PyObject
*_wrap_ART_TOOLBAR_get() {
12073 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12075 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12082 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12083 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12088 static PyObject
*_wrap_ART_MENU_get() {
12093 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12095 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12102 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12103 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12108 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12113 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12115 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12122 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12123 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12128 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12133 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12135 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12142 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12143 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12148 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12153 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12155 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12162 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12163 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12168 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12173 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12175 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12182 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12183 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12188 static PyObject
*_wrap_ART_OTHER_get() {
12193 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12195 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12202 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12203 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12208 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12213 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12215 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12222 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12223 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12228 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12233 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12235 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12242 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12243 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12248 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12253 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12255 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12262 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12263 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12268 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12273 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12275 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12282 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12283 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12288 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12293 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12295 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12302 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12303 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12308 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12313 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12315 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12322 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12323 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12328 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12333 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12335 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12342 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12343 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12348 static PyObject
*_wrap_ART_GO_BACK_get() {
12353 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12355 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12362 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12363 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12368 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12373 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12375 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12382 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12383 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12388 static PyObject
*_wrap_ART_GO_UP_get() {
12393 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12395 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12402 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12403 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12408 static PyObject
*_wrap_ART_GO_DOWN_get() {
12413 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12415 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12422 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12423 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12428 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12433 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12435 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12442 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12443 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12448 static PyObject
*_wrap_ART_GO_HOME_get() {
12453 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12455 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12462 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12463 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12468 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12473 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12475 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12482 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12483 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12488 static PyObject
*_wrap_ART_PRINT_get() {
12493 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12495 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12502 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12503 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12508 static PyObject
*_wrap_ART_HELP_get() {
12513 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12515 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12522 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12523 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12528 static PyObject
*_wrap_ART_TIP_get() {
12533 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12535 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12542 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12543 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12548 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12553 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12555 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12562 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12563 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12568 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12573 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12575 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12582 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12583 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12588 static PyObject
*_wrap_ART_NEW_DIR_get() {
12593 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12595 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12602 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12603 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12608 static PyObject
*_wrap_ART_FOLDER_get() {
12613 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12615 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12622 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12623 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12628 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12633 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12635 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12642 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12643 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12648 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12653 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12655 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12662 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12663 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12668 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12673 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12675 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12682 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12683 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12688 static PyObject
*_wrap_ART_TICK_MARK_get() {
12693 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12695 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12702 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12703 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12708 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12713 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12715 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12722 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12723 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12728 static PyObject
*_wrap_ART_ERROR_get() {
12733 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12735 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12742 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12743 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12748 static PyObject
*_wrap_ART_QUESTION_get() {
12753 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12755 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12762 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12763 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12768 static PyObject
*_wrap_ART_WARNING_get() {
12773 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12775 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12782 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12783 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12788 static PyObject
*_wrap_ART_INFORMATION_get() {
12793 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12795 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12802 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12803 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12808 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12813 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12815 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12822 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxPyArtProvider
*result
;
12825 char *kwnames
[] = {
12829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
12831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12832 result
= (wxPyArtProvider
*)new wxPyArtProvider();
12834 wxPyEndAllowThreads(__tstate
);
12835 if (PyErr_Occurred()) SWIG_fail
;
12837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
12844 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12845 PyObject
*resultobj
;
12846 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12847 PyObject
*arg2
= (PyObject
*) 0 ;
12848 PyObject
*arg3
= (PyObject
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 PyObject
* obj2
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "self",(char *) "_class", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12864 wxPyEndAllowThreads(__tstate
);
12865 if (PyErr_Occurred()) SWIG_fail
;
12867 Py_INCREF(Py_None
); resultobj
= Py_None
;
12874 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12875 PyObject
*resultobj
;
12876 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12877 PyObject
* obj0
= 0 ;
12878 char *kwnames
[] = {
12879 (char *) "provider", NULL
12882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
12883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12886 wxPyArtProvider::PushProvider(arg1
);
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 Py_INCREF(Py_None
); resultobj
= Py_None
;
12898 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12901 char *kwnames
[] = {
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (bool)wxPyArtProvider::PopProvider();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= PyInt_FromLong((long)result
);
12920 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "provider", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 resultobj
= PyInt_FromLong((long)result
);
12945 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12946 PyObject
*resultobj
;
12947 wxString
*arg1
= 0 ;
12948 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
12949 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12950 wxSize
const &arg3_defvalue
= wxDefaultSize
;
12951 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
12953 bool temp1
= False
;
12954 bool temp2
= False
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 PyObject
* obj2
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "id",(char *) "client",(char *) "size", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12965 arg1
= wxString_in_helper(obj0
);
12966 if (arg1
== NULL
) SWIG_fail
;
12971 arg2
= wxString_in_helper(obj1
);
12972 if (arg2
== NULL
) SWIG_fail
;
12979 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12984 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
12986 wxPyEndAllowThreads(__tstate
);
12987 if (PyErr_Occurred()) SWIG_fail
;
12990 wxBitmap
* resultptr
;
12991 resultptr
= new wxBitmap((wxBitmap
&) result
);
12992 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13016 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13017 PyObject
*resultobj
;
13018 wxString
*arg1
= 0 ;
13019 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13020 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13021 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13022 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13024 bool temp1
= False
;
13025 bool temp2
= False
;
13027 PyObject
* obj0
= 0 ;
13028 PyObject
* obj1
= 0 ;
13029 PyObject
* obj2
= 0 ;
13030 char *kwnames
[] = {
13031 (char *) "id",(char *) "client",(char *) "size", NULL
13034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13036 arg1
= wxString_in_helper(obj0
);
13037 if (arg1
== NULL
) SWIG_fail
;
13042 arg2
= wxString_in_helper(obj1
);
13043 if (arg2
== NULL
) SWIG_fail
;
13050 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13057 wxPyEndAllowThreads(__tstate
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 wxIcon
* resultptr
;
13062 resultptr
= new wxIcon((wxIcon
&) result
);
13063 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13087 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
13090 PyObject
* obj0
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 wxPyArtProvider_Destroy(arg1
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13114 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13116 return Py_BuildValue((char *)"");
13118 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13121 PyObject
* obj0
= 0 ;
13122 char *kwnames
[] = {
13123 (char *) "self", NULL
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 Py_INCREF(Py_None
); resultobj
= Py_None
;
13142 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13145 wxConfigBase
*result
;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "pConfig", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13155 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13167 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 bool arg1
= (bool) True
;
13170 wxConfigBase
*result
;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "createOnDemand", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13178 arg1
= PyInt_AsLong(obj0
) ? true : false;
13179 if (PyErr_Occurred()) SWIG_fail
;
13182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13183 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13185 wxPyEndAllowThreads(__tstate
);
13186 if (PyErr_Occurred()) SWIG_fail
;
13188 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13195 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxConfigBase
*result
;
13198 char *kwnames
[] = {
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (wxConfigBase
*)wxConfigBase::Create();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13217 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 char *kwnames
[] = {
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 wxConfigBase::DontCreateOnDemand();
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 Py_INCREF(Py_None
); resultobj
= Py_None
;
13238 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13239 PyObject
*resultobj
;
13240 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13241 wxString
*arg2
= 0 ;
13242 bool temp2
= False
;
13243 PyObject
* obj0
= 0 ;
13244 PyObject
* obj1
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self",(char *) "strPath", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13252 arg2
= wxString_in_helper(obj1
);
13253 if (arg2
== NULL
) SWIG_fail
;
13257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 (arg1
)->SetPath((wxString
const &)*arg2
);
13260 wxPyEndAllowThreads(__tstate
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13263 Py_INCREF(Py_None
); resultobj
= Py_None
;
13278 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13279 PyObject
*resultobj
;
13280 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13282 PyObject
* obj0
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13293 result
= (wxString
*) &_result_ref
;
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
13306 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "self", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13319 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13321 wxPyEndAllowThreads(__tstate
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13324 resultobj
= result
;
13331 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13332 PyObject
*resultobj
;
13333 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13336 PyObject
* obj0
= 0 ;
13337 char *kwnames
[] = {
13338 (char *) "self",(char *) "index", NULL
13341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13345 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13347 wxPyEndAllowThreads(__tstate
);
13348 if (PyErr_Occurred()) SWIG_fail
;
13350 resultobj
= result
;
13357 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
;
13382 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13387 PyObject
* obj0
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "index", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= result
;
13408 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13411 bool arg2
= (bool) False
;
13413 PyObject
* obj0
= 0 ;
13414 PyObject
* obj1
= 0 ;
13415 char *kwnames
[] = {
13416 (char *) "self",(char *) "bRecursive", NULL
13419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13422 arg2
= PyInt_AsLong(obj1
) ? true : false;
13423 if (PyErr_Occurred()) SWIG_fail
;
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13427 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13429 wxPyEndAllowThreads(__tstate
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13432 resultobj
= PyInt_FromLong((long)result
);
13439 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13440 PyObject
*resultobj
;
13441 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13442 bool arg2
= (bool) False
;
13444 PyObject
* obj0
= 0 ;
13445 PyObject
* obj1
= 0 ;
13446 char *kwnames
[] = {
13447 (char *) "self",(char *) "bRecursive", NULL
13450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13453 arg2
= PyInt_AsLong(obj1
) ? true : false;
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= PyInt_FromLong((long)result
);
13470 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13473 wxString
*arg2
= 0 ;
13475 bool temp2
= False
;
13476 PyObject
* obj0
= 0 ;
13477 PyObject
* obj1
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "strName", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13485 arg2
= wxString_in_helper(obj1
);
13486 if (arg2
== NULL
) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= PyInt_FromLong((long)result
);
13511 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13514 wxString
*arg2
= 0 ;
13516 bool temp2
= False
;
13517 PyObject
* obj0
= 0 ;
13518 PyObject
* obj1
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self",(char *) "strName", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 arg2
= wxString_in_helper(obj1
);
13527 if (arg2
== NULL
) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= PyInt_FromLong((long)result
);
13552 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13555 wxString
*arg2
= 0 ;
13557 bool temp2
= False
;
13558 PyObject
* obj0
= 0 ;
13559 PyObject
* obj1
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self",(char *) "strName", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13567 arg2
= wxString_in_helper(obj1
);
13568 if (arg2
== NULL
) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 resultobj
= PyInt_FromLong((long)result
);
13593 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13596 wxString
*arg2
= 0 ;
13598 bool temp2
= False
;
13599 PyObject
* obj0
= 0 ;
13600 PyObject
* obj1
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self",(char *) "name", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13608 arg2
= wxString_in_helper(obj1
);
13609 if (arg2
== NULL
) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= PyInt_FromLong((long)result
);
13634 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13637 wxString
*arg2
= 0 ;
13638 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13639 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13641 bool temp2
= False
;
13642 bool temp3
= False
;
13643 PyObject
* obj0
= 0 ;
13644 PyObject
* obj1
= 0 ;
13645 PyObject
* obj2
= 0 ;
13646 char *kwnames
[] = {
13647 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13653 arg2
= wxString_in_helper(obj1
);
13654 if (arg2
== NULL
) SWIG_fail
;
13659 arg3
= wxString_in_helper(obj2
);
13660 if (arg3
== NULL
) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13700 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13703 wxString
*arg2
= 0 ;
13704 long arg3
= (long) 0 ;
13706 bool temp2
= False
;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13716 arg2
= wxString_in_helper(obj1
);
13717 if (arg2
== NULL
) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= PyInt_FromLong((long)result
);
13742 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13743 PyObject
*resultobj
;
13744 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13745 wxString
*arg2
= 0 ;
13746 double arg3
= (double) 0.0 ;
13748 bool temp2
= False
;
13749 PyObject
* obj0
= 0 ;
13750 PyObject
* obj1
= 0 ;
13751 char *kwnames
[] = {
13752 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13758 arg2
= wxString_in_helper(obj1
);
13759 if (arg2
== NULL
) SWIG_fail
;
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13766 wxPyEndAllowThreads(__tstate
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13769 resultobj
= PyFloat_FromDouble(result
);
13784 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13787 wxString
*arg2
= 0 ;
13788 bool arg3
= (bool) False
;
13790 bool temp2
= False
;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj2
= 0 ;
13794 char *kwnames
[] = {
13795 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13801 arg2
= wxString_in_helper(obj1
);
13802 if (arg2
== NULL
) SWIG_fail
;
13806 arg3
= PyInt_AsLong(obj2
) ? true : false;
13807 if (PyErr_Occurred()) SWIG_fail
;
13810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13811 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
13813 wxPyEndAllowThreads(__tstate
);
13814 if (PyErr_Occurred()) SWIG_fail
;
13816 resultobj
= PyInt_FromLong((long)result
);
13831 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13834 wxString
*arg2
= 0 ;
13835 wxString
*arg3
= 0 ;
13837 bool temp2
= False
;
13838 bool temp3
= False
;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self",(char *) "key",(char *) "value", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13849 arg2
= wxString_in_helper(obj1
);
13850 if (arg2
== NULL
) SWIG_fail
;
13854 arg3
= wxString_in_helper(obj2
);
13855 if (arg3
== NULL
) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13865 resultobj
= PyInt_FromLong((long)result
);
13888 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13891 wxString
*arg2
= 0 ;
13894 bool temp2
= False
;
13895 PyObject
* obj0
= 0 ;
13896 PyObject
* obj1
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self",(char *) "key",(char *) "value", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13904 arg2
= wxString_in_helper(obj1
);
13905 if (arg2
== NULL
) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= PyInt_FromLong((long)result
);
13930 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13931 PyObject
*resultobj
;
13932 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13933 wxString
*arg2
= 0 ;
13936 bool temp2
= False
;
13937 PyObject
* obj0
= 0 ;
13938 PyObject
* obj1
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self",(char *) "key",(char *) "value", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13946 arg2
= wxString_in_helper(obj1
);
13947 if (arg2
== NULL
) SWIG_fail
;
13951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13952 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13954 wxPyEndAllowThreads(__tstate
);
13955 if (PyErr_Occurred()) SWIG_fail
;
13957 resultobj
= PyInt_FromLong((long)result
);
13972 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13975 wxString
*arg2
= 0 ;
13978 bool temp2
= False
;
13979 PyObject
* obj0
= 0 ;
13980 PyObject
* obj1
= 0 ;
13981 PyObject
* obj2
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "key",(char *) "value", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13989 arg2
= wxString_in_helper(obj1
);
13990 if (arg2
== NULL
) SWIG_fail
;
13993 arg3
= PyInt_AsLong(obj2
) ? true : false;
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= PyInt_FromLong((long)result
);
14017 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14020 bool arg2
= (bool) False
;
14022 PyObject
* obj0
= 0 ;
14023 PyObject
* obj1
= 0 ;
14024 char *kwnames
[] = {
14025 (char *) "self",(char *) "bCurrentOnly", NULL
14028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14031 arg2
= PyInt_AsLong(obj1
) ? true : false;
14032 if (PyErr_Occurred()) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (bool)(arg1
)->Flush(arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14041 resultobj
= PyInt_FromLong((long)result
);
14048 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14049 PyObject
*resultobj
;
14050 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14051 wxString
*arg2
= 0 ;
14052 wxString
*arg3
= 0 ;
14054 bool temp2
= False
;
14055 bool temp3
= False
;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 PyObject
* obj2
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 arg2
= wxString_in_helper(obj1
);
14067 if (arg2
== NULL
) SWIG_fail
;
14071 arg3
= wxString_in_helper(obj2
);
14072 if (arg3
== NULL
) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= PyInt_FromLong((long)result
);
14105 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14108 wxString
*arg2
= 0 ;
14109 wxString
*arg3
= 0 ;
14111 bool temp2
= False
;
14112 bool temp3
= False
;
14113 PyObject
* obj0
= 0 ;
14114 PyObject
* obj1
= 0 ;
14115 PyObject
* obj2
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14123 arg2
= wxString_in_helper(obj1
);
14124 if (arg2
== NULL
) SWIG_fail
;
14128 arg3
= wxString_in_helper(obj2
);
14129 if (arg3
== NULL
) SWIG_fail
;
14133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14134 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= PyInt_FromLong((long)result
);
14162 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14165 wxString
*arg2
= 0 ;
14166 bool arg3
= (bool) True
;
14168 bool temp2
= False
;
14169 PyObject
* obj0
= 0 ;
14170 PyObject
* obj1
= 0 ;
14171 PyObject
* obj2
= 0 ;
14172 char *kwnames
[] = {
14173 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14179 arg2
= wxString_in_helper(obj1
);
14180 if (arg2
== NULL
) SWIG_fail
;
14184 arg3
= PyInt_AsLong(obj2
) ? true : false;
14185 if (PyErr_Occurred()) SWIG_fail
;
14188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14189 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= PyInt_FromLong((long)result
);
14209 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14212 wxString
*arg2
= 0 ;
14214 bool temp2
= False
;
14215 PyObject
* obj0
= 0 ;
14216 PyObject
* obj1
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self",(char *) "key", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14224 arg2
= wxString_in_helper(obj1
);
14225 if (arg2
== NULL
) SWIG_fail
;
14229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14230 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14232 wxPyEndAllowThreads(__tstate
);
14233 if (PyErr_Occurred()) SWIG_fail
;
14235 resultobj
= PyInt_FromLong((long)result
);
14250 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (bool)(arg1
)->DeleteAll();
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= PyInt_FromLong((long)result
);
14275 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14279 PyObject
* obj0
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14288 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14290 wxPyEndAllowThreads(__tstate
);
14291 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= PyInt_FromLong((long)result
);
14300 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14301 PyObject
*resultobj
;
14302 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14303 bool arg2
= (bool) True
;
14304 PyObject
* obj0
= 0 ;
14305 PyObject
* obj1
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self",(char *) "bDoIt", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14313 arg2
= PyInt_AsLong(obj1
) ? true : false;
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 (arg1
)->SetExpandEnvVars(arg2
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 Py_INCREF(Py_None
); resultobj
= Py_None
;
14330 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
;
14332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14333 bool arg2
= (bool) True
;
14334 PyObject
* obj0
= 0 ;
14335 PyObject
* obj1
= 0 ;
14336 char *kwnames
[] = {
14337 (char *) "self",(char *) "bDoIt", NULL
14340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14343 arg2
= PyInt_AsLong(obj1
) ? true : false;
14344 if (PyErr_Occurred()) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 (arg1
)->SetRecordDefaults(arg2
);
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 Py_INCREF(Py_None
); resultobj
= Py_None
;
14360 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14373 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14375 wxPyEndAllowThreads(__tstate
);
14376 if (PyErr_Occurred()) SWIG_fail
;
14378 resultobj
= PyInt_FromLong((long)result
);
14385 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14388 wxString
*arg2
= 0 ;
14390 bool temp2
= False
;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self",(char *) "str", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14400 arg2
= wxString_in_helper(obj1
);
14401 if (arg2
== NULL
) SWIG_fail
;
14405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14406 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14408 wxPyEndAllowThreads(__tstate
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14432 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14463 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14494 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14497 wxString
*arg2
= 0 ;
14498 bool temp2
= False
;
14499 PyObject
* obj0
= 0 ;
14500 PyObject
* obj1
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self",(char *) "appName", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 arg2
= wxString_in_helper(obj1
);
14509 if (arg2
== NULL
) SWIG_fail
;
14513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14514 (arg1
)->SetAppName((wxString
const &)*arg2
);
14516 wxPyEndAllowThreads(__tstate
);
14517 if (PyErr_Occurred()) SWIG_fail
;
14519 Py_INCREF(Py_None
); resultobj
= Py_None
;
14534 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14536 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14537 wxString
*arg2
= 0 ;
14538 bool temp2
= False
;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "self",(char *) "vendorName", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14548 arg2
= wxString_in_helper(obj1
);
14549 if (arg2
== NULL
) SWIG_fail
;
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14556 wxPyEndAllowThreads(__tstate
);
14557 if (PyErr_Occurred()) SWIG_fail
;
14559 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self",(char *) "style", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 (arg1
)->SetStyle(arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 char *kwnames
[] = {
14605 (char *) "self", NULL
14608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14612 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14614 wxPyEndAllowThreads(__tstate
);
14615 if (PyErr_Occurred()) SWIG_fail
;
14617 resultobj
= PyInt_FromLong((long)result
);
14624 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14627 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14629 return Py_BuildValue((char *)"");
14631 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14634 wxString
*arg2
= 0 ;
14635 wxConfigPathChanger
*result
;
14636 bool temp2
= False
;
14637 PyObject
* obj0
= 0 ;
14638 PyObject
* obj1
= 0 ;
14639 char *kwnames
[] = {
14640 (char *) "pContainer",(char *) "strEntry", NULL
14643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14646 arg2
= wxString_in_helper(obj1
);
14647 if (arg2
== NULL
) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14672 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 wxPyEndAllowThreads(__tstate
);
14687 if (PyErr_Occurred()) SWIG_fail
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14710 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14711 result
= (wxString
*) &_result_ref
;
14714 wxPyEndAllowThreads(__tstate
);
14715 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14724 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14727 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14729 return Py_BuildValue((char *)"");
14731 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14734 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14735 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14736 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14737 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14738 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14739 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14740 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14741 long arg5
= (long) 0 ;
14743 bool temp1
= False
;
14744 bool temp2
= False
;
14745 bool temp3
= False
;
14746 bool temp4
= False
;
14747 PyObject
* obj0
= 0 ;
14748 PyObject
* obj1
= 0 ;
14749 PyObject
* obj2
= 0 ;
14750 PyObject
* obj3
= 0 ;
14751 char *kwnames
[] = {
14752 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14758 arg1
= wxString_in_helper(obj0
);
14759 if (arg1
== NULL
) SWIG_fail
;
14765 arg2
= wxString_in_helper(obj1
);
14766 if (arg2
== NULL
) SWIG_fail
;
14772 arg3
= wxString_in_helper(obj2
);
14773 if (arg3
== NULL
) SWIG_fail
;
14779 arg4
= wxString_in_helper(obj3
);
14780 if (arg4
== NULL
) SWIG_fail
;
14785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14786 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14788 wxPyEndAllowThreads(__tstate
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
14830 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxConfig
*arg1
= (wxConfig
*) 0 ;
14833 PyObject
* obj0
= 0 ;
14834 char *kwnames
[] = {
14835 (char *) "self", NULL
14838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
14839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 Py_INCREF(Py_None
); resultobj
= Py_None
;
14854 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
14856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
14859 return Py_BuildValue((char *)"");
14861 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14864 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14865 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14866 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14867 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14868 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14869 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14870 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14871 long arg5
= (long) 0 ;
14872 wxFileConfig
*result
;
14873 bool temp1
= False
;
14874 bool temp2
= False
;
14875 bool temp3
= False
;
14876 bool temp4
= False
;
14877 PyObject
* obj0
= 0 ;
14878 PyObject
* obj1
= 0 ;
14879 PyObject
* obj2
= 0 ;
14880 PyObject
* obj3
= 0 ;
14881 char *kwnames
[] = {
14882 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14888 arg1
= wxString_in_helper(obj0
);
14889 if (arg1
== NULL
) SWIG_fail
;
14895 arg2
= wxString_in_helper(obj1
);
14896 if (arg2
== NULL
) SWIG_fail
;
14902 arg3
= wxString_in_helper(obj2
);
14903 if (arg3
== NULL
) SWIG_fail
;
14909 arg4
= wxString_in_helper(obj3
);
14910 if (arg4
== NULL
) SWIG_fail
;
14915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14916 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14921 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
14960 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
14963 PyObject
* obj0
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 wxPyEndAllowThreads(__tstate
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14977 Py_INCREF(Py_None
); resultobj
= Py_None
;
14984 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
14986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14987 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
14989 return Py_BuildValue((char *)"");
14991 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14992 PyObject
*resultobj
;
14993 wxString
*arg1
= 0 ;
14995 bool temp1
= False
;
14996 PyObject
* obj0
= 0 ;
14997 char *kwnames
[] = {
14998 (char *) "sz", NULL
15001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15003 arg1
= wxString_in_helper(obj0
);
15004 if (arg1
== NULL
) SWIG_fail
;
15008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15009 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15016 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15018 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15035 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15038 char *kwnames
[] = {
15039 (char *) "country", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 Py_INCREF(Py_None
); resultobj
= Py_None
;
15057 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15060 char *kwnames
[] = {
15064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15067 result
= (int)wxDateTime::GetCountry();
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= PyInt_FromLong((long)result
);
15079 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15080 PyObject
*resultobj
;
15081 int arg1
= (int) wxDateTime::Country_Default
;
15083 char *kwnames
[] = {
15084 (char *) "country", NULL
15087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= PyInt_FromLong((long)result
);
15102 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 int arg1
= (int) wxDateTime::Gregorian
;
15106 char *kwnames
[] = {
15107 (char *) "cal", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15115 wxPyEndAllowThreads(__tstate
);
15116 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= PyInt_FromLong((long)result
);
15125 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15126 PyObject
*resultobj
;
15129 char *kwnames
[] = {
15130 (char *) "year", NULL
15133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15138 wxPyEndAllowThreads(__tstate
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15141 resultobj
= PyInt_FromLong((long)result
);
15148 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15149 PyObject
*resultobj
;
15150 int arg1
= (int) wxDateTime::Gregorian
;
15152 char *kwnames
[] = {
15153 (char *) "cal", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15159 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15161 wxPyEndAllowThreads(__tstate
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= PyInt_FromLong((long)result
);
15171 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 int arg1
= (int) wxDateTime::Inv_Year
;
15174 int arg2
= (int) wxDateTime::Gregorian
;
15176 char *kwnames
[] = {
15177 (char *) "year",(char *) "cal", NULL
15180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= PyInt_FromLong((long)result
);
15195 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 int arg1
= (int) wxDateTime::Inv_Year
;
15199 char *kwnames
[] = {
15200 (char *) "year", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15206 result
= (int)wxDateTime::GetCentury(arg1
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= PyInt_FromLong((long)result
);
15218 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15219 PyObject
*resultobj
;
15221 int arg2
= (int) wxDateTime::Gregorian
;
15223 char *kwnames
[] = {
15224 (char *) "year",(char *) "cal", NULL
15227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= PyInt_FromLong((long)result
);
15242 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15245 int arg2
= (int) wxDateTime::Inv_Year
;
15246 int arg3
= (int) wxDateTime::Gregorian
;
15248 char *kwnames
[] = {
15249 (char *) "month",(char *) "year",(char *) "cal", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= PyInt_FromLong((long)result
);
15267 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15270 int arg2
= (int) wxDateTime::Name_Full
;
15272 char *kwnames
[] = {
15273 (char *) "month",(char *) "flags", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15297 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15300 int arg2
= (int) wxDateTime::Name_Full
;
15302 char *kwnames
[] = {
15303 (char *) "weekday",(char *) "flags", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15327 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15328 PyObject
*resultobj
;
15329 wxString
*arg1
= (wxString
*) 0 ;
15330 wxString
*arg2
= (wxString
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15339 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15354 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 int arg1
= (int) wxDateTime::Inv_Year
;
15357 int arg2
= (int) wxDateTime::Country_Default
;
15359 char *kwnames
[] = {
15360 (char *) "year",(char *) "country", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15371 resultobj
= PyInt_FromLong((long)result
);
15378 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15379 PyObject
*resultobj
;
15380 int arg1
= (int) wxDateTime::Inv_Year
;
15381 int arg2
= (int) wxDateTime::Country_Default
;
15383 char *kwnames
[] = {
15384 (char *) "year",(char *) "country", NULL
15387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15396 wxDateTime
* resultptr
;
15397 resultptr
= new wxDateTime((wxDateTime
&) result
);
15398 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15406 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 int arg1
= (int) wxDateTime::Inv_Year
;
15409 int arg2
= (int) wxDateTime::Country_Default
;
15411 char *kwnames
[] = {
15412 (char *) "year",(char *) "country", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15418 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15424 wxDateTime
* resultptr
;
15425 resultptr
= new wxDateTime((wxDateTime
&) result
);
15426 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15434 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15437 char *kwnames
[] = {
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= wxDateTime::Now();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 wxDateTime
* resultptr
;
15451 resultptr
= new wxDateTime((wxDateTime
&) result
);
15452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15460 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15463 char *kwnames
[] = {
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15470 result
= wxDateTime::UNow();
15472 wxPyEndAllowThreads(__tstate
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15476 wxDateTime
* resultptr
;
15477 resultptr
= new wxDateTime((wxDateTime
&) result
);
15478 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15486 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15489 char *kwnames
[] = {
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= wxDateTime::Today();
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 wxDateTime
* resultptr
;
15503 resultptr
= new wxDateTime((wxDateTime
&) result
);
15504 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15512 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15513 PyObject
*resultobj
;
15514 wxDateTime
*result
;
15515 char *kwnames
[] = {
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (wxDateTime
*)new wxDateTime();
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15534 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15537 wxDateTime
*result
;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "timet", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15544 arg1
= (time_t) PyInt_AsLong(obj0
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (wxDateTime
*)new wxDateTime(arg1
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15560 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15563 wxDateTime
*result
;
15564 char *kwnames
[] = {
15565 (char *) "jdn", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (wxDateTime
*)new wxDateTime(arg1
);
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15583 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15586 int arg2
= (int) 0 ;
15587 int arg3
= (int) 0 ;
15588 int arg4
= (int) 0 ;
15589 wxDateTime
*result
;
15590 char *kwnames
[] = {
15591 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15609 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15612 int arg2
= (int) wxDateTime::Inv_Month
;
15613 int arg3
= (int) wxDateTime::Inv_Year
;
15614 int arg4
= (int) 0 ;
15615 int arg5
= (int) 0 ;
15616 int arg6
= (int) 0 ;
15617 int arg7
= (int) 0 ;
15618 wxDateTime
*result
;
15619 char *kwnames
[] = {
15620 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15638 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15641 PyObject
* obj0
= 0 ;
15642 char *kwnames
[] = {
15643 (char *) "self", NULL
15646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 Py_INCREF(Py_None
); resultobj
= Py_None
;
15662 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
;
15664 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15665 wxDateTime
*result
;
15666 PyObject
* obj0
= 0 ;
15667 char *kwnames
[] = {
15668 (char *) "self", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15677 result
= (wxDateTime
*) &_result_ref
;
15680 wxPyEndAllowThreads(__tstate
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15683 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15690 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15691 PyObject
*resultobj
;
15692 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15694 wxDateTime
*result
;
15695 PyObject
* obj0
= 0 ;
15696 PyObject
* obj1
= 0 ;
15697 char *kwnames
[] = {
15698 (char *) "self",(char *) "timet", NULL
15701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15703 arg2
= (time_t) PyInt_AsLong(obj1
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15709 result
= (wxDateTime
*) &_result_ref
;
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15722 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15726 wxDateTime
*result
;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self",(char *) "jdn", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15738 result
= (wxDateTime
*) &_result_ref
;
15741 wxPyEndAllowThreads(__tstate
);
15742 if (PyErr_Occurred()) SWIG_fail
;
15744 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15751 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15752 PyObject
*resultobj
;
15753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15755 int arg3
= (int) 0 ;
15756 int arg4
= (int) 0 ;
15757 int arg5
= (int) 0 ;
15758 wxDateTime
*result
;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
15770 result
= (wxDateTime
*) &_result_ref
;
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15783 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15787 int arg3
= (int) wxDateTime::Inv_Month
;
15788 int arg4
= (int) wxDateTime::Inv_Year
;
15789 int arg5
= (int) 0 ;
15790 int arg6
= (int) 0 ;
15791 int arg7
= (int) 0 ;
15792 int arg8
= (int) 0 ;
15793 wxDateTime
*result
;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15804 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
15805 result
= (wxDateTime
*) &_result_ref
;
15808 wxPyEndAllowThreads(__tstate
);
15809 if (PyErr_Occurred()) SWIG_fail
;
15811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15818 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15821 wxDateTime
*result
;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
15833 result
= (wxDateTime
*) &_result_ref
;
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15846 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15850 wxDateTime
*result
;
15851 PyObject
* obj0
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "year", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15861 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
15862 result
= (wxDateTime
*) &_result_ref
;
15865 wxPyEndAllowThreads(__tstate
);
15866 if (PyErr_Occurred()) SWIG_fail
;
15868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15875 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
;
15877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15879 wxDateTime
*result
;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self",(char *) "month", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
15891 result
= (wxDateTime
*) &_result_ref
;
15894 wxPyEndAllowThreads(__tstate
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15904 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15905 PyObject
*resultobj
;
15906 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15908 wxDateTime
*result
;
15909 PyObject
* obj0
= 0 ;
15910 char *kwnames
[] = {
15911 (char *) "self",(char *) "day", NULL
15914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
15915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15919 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
15920 result
= (wxDateTime
*) &_result_ref
;
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15933 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15937 wxDateTime
*result
;
15938 PyObject
* obj0
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "hour", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
15949 result
= (wxDateTime
*) &_result_ref
;
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15962 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15966 wxDateTime
*result
;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self",(char *) "minute", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
15973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15977 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
15978 result
= (wxDateTime
*) &_result_ref
;
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15991 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15995 wxDateTime
*result
;
15996 PyObject
* obj0
= 0 ;
15997 char *kwnames
[] = {
15998 (char *) "self",(char *) "second", NULL
16001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16007 result
= (wxDateTime
*) &_result_ref
;
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16013 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16020 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16021 PyObject
*resultobj
;
16022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16024 wxDateTime
*result
;
16025 PyObject
* obj0
= 0 ;
16026 char *kwnames
[] = {
16027 (char *) "self",(char *) "millisecond", NULL
16030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16036 result
= (wxDateTime
*) &_result_ref
;
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16049 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16053 int arg3
= (int) wxDateTime::Monday_First
;
16054 wxDateTime
*result
;
16055 PyObject
* obj0
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16065 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16066 result
= (wxDateTime
*) &_result_ref
;
16069 wxPyEndAllowThreads(__tstate
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16072 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16079 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16080 PyObject
*resultobj
;
16081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16083 int arg3
= (int) wxDateTime::Monday_First
;
16085 PyObject
* obj0
= 0 ;
16086 char *kwnames
[] = {
16087 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16094 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16096 wxPyEndAllowThreads(__tstate
);
16097 if (PyErr_Occurred()) SWIG_fail
;
16100 wxDateTime
* resultptr
;
16101 resultptr
= new wxDateTime((wxDateTime
&) result
);
16102 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16110 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16114 wxDateTime
*result
;
16115 PyObject
* obj0
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self",(char *) "weekday", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16125 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16126 result
= (wxDateTime
*) &_result_ref
;
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16139 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16140 PyObject
*resultobj
;
16141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self",(char *) "weekday", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16153 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16155 wxPyEndAllowThreads(__tstate
);
16156 if (PyErr_Occurred()) SWIG_fail
;
16159 wxDateTime
* resultptr
;
16160 resultptr
= new wxDateTime((wxDateTime
&) result
);
16161 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16169 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16173 wxDateTime
*result
;
16174 PyObject
* obj0
= 0 ;
16175 char *kwnames
[] = {
16176 (char *) "self",(char *) "weekday", NULL
16179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16184 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16185 result
= (wxDateTime
*) &_result_ref
;
16188 wxPyEndAllowThreads(__tstate
);
16189 if (PyErr_Occurred()) SWIG_fail
;
16191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16198 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16203 PyObject
* obj0
= 0 ;
16204 char *kwnames
[] = {
16205 (char *) "self",(char *) "weekday", NULL
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 wxDateTime
* resultptr
;
16219 resultptr
= new wxDateTime((wxDateTime
&) result
);
16220 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16228 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16232 int arg3
= (int) 1 ;
16233 int arg4
= (int) wxDateTime::Inv_Month
;
16234 int arg5
= (int) wxDateTime::Inv_Year
;
16236 PyObject
* obj0
= 0 ;
16237 char *kwnames
[] = {
16238 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= PyInt_FromLong((long)result
);
16257 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16261 int arg3
= (int) wxDateTime::Inv_Month
;
16262 int arg4
= (int) wxDateTime::Inv_Year
;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16273 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16275 wxPyEndAllowThreads(__tstate
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16278 resultobj
= PyInt_FromLong((long)result
);
16285 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16289 int arg3
= (int) wxDateTime::Inv_Month
;
16290 int arg4
= (int) wxDateTime::Inv_Year
;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 wxDateTime
* resultptr
;
16308 resultptr
= new wxDateTime((wxDateTime
&) result
);
16309 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16317 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16321 int arg3
= (int) wxDateTime::Mon
;
16322 int arg4
= (int) wxDateTime::Monday_First
;
16324 PyObject
* obj0
= 0 ;
16325 char *kwnames
[] = {
16326 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16333 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16338 resultobj
= PyInt_FromLong((long)result
);
16345 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16346 PyObject
*resultobj
;
16347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16349 int arg3
= (int) wxDateTime::Mon
;
16350 int arg4
= (int) wxDateTime::Monday_First
;
16352 PyObject
* obj0
= 0 ;
16353 char *kwnames
[] = {
16354 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 wxDateTime
* resultptr
;
16368 resultptr
= new wxDateTime((wxDateTime
&) result
);
16369 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16377 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16380 int arg2
= (int) wxDateTime::Inv_Month
;
16381 int arg3
= (int) wxDateTime::Inv_Year
;
16382 wxDateTime
*result
;
16383 PyObject
* obj0
= 0 ;
16384 char *kwnames
[] = {
16385 (char *) "self",(char *) "month",(char *) "year", NULL
16388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16394 result
= (wxDateTime
*) &_result_ref
;
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16407 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16410 int arg2
= (int) wxDateTime::Inv_Month
;
16411 int arg3
= (int) wxDateTime::Inv_Year
;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self",(char *) "month",(char *) "year", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16428 wxDateTime
* resultptr
;
16429 resultptr
= new wxDateTime((wxDateTime
&) result
);
16430 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16438 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16442 wxDateTime
*result
;
16443 PyObject
* obj0
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "yday", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16454 result
= (wxDateTime
*) &_result_ref
;
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16467 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self",(char *) "yday", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (arg1
)->GetYearDay(arg2
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16487 wxDateTime
* resultptr
;
16488 resultptr
= new wxDateTime((wxDateTime
&) result
);
16489 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16497 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16498 PyObject
*resultobj
;
16499 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16501 PyObject
* obj0
= 0 ;
16502 char *kwnames
[] = {
16503 (char *) "self", NULL
16506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (double)(arg1
)->GetJulianDayNumber();
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= PyFloat_FromDouble(result
);
16522 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
;
16524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16526 PyObject
* obj0
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16535 result
= (double)(arg1
)->GetJDN();
16537 wxPyEndAllowThreads(__tstate
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16540 resultobj
= PyFloat_FromDouble(result
);
16547 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= PyFloat_FromDouble(result
);
16572 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) 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
= (double)(arg1
)->GetMJD();
16587 wxPyEndAllowThreads(__tstate
);
16588 if (PyErr_Occurred()) SWIG_fail
;
16590 resultobj
= PyFloat_FromDouble(result
);
16597 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16598 PyObject
*resultobj
;
16599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16601 PyObject
* obj0
= 0 ;
16602 char *kwnames
[] = {
16603 (char *) "self", NULL
16606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (double)(arg1
)->GetRataDie();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= PyFloat_FromDouble(result
);
16622 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16625 wxDateTime::TimeZone
*arg2
= 0 ;
16626 bool arg3
= (bool) False
;
16628 bool temp2
= False
;
16629 PyObject
* obj0
= 0 ;
16630 PyObject
* obj1
= 0 ;
16631 PyObject
* obj2
= 0 ;
16632 char *kwnames
[] = {
16633 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16639 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16643 arg3
= PyInt_AsLong(obj2
) ? true : false;
16644 if (PyErr_Occurred()) SWIG_fail
;
16647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16648 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16654 wxDateTime
* resultptr
;
16655 resultptr
= new wxDateTime((wxDateTime
&) result
);
16656 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16659 if (temp2
) delete arg2
;
16664 if (temp2
) delete arg2
;
16670 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16673 wxDateTime::TimeZone
*arg2
= 0 ;
16674 bool arg3
= (bool) False
;
16675 wxDateTime
*result
;
16676 bool temp2
= False
;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 PyObject
* obj2
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16687 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16691 arg3
= PyInt_AsLong(obj2
) ? true : false;
16692 if (PyErr_Occurred()) SWIG_fail
;
16695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16697 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16698 result
= (wxDateTime
*) &_result_ref
;
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16706 if (temp2
) delete arg2
;
16711 if (temp2
) delete arg2
;
16717 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16720 bool arg2
= (bool) False
;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 char *kwnames
[] = {
16725 (char *) "self",(char *) "noDST", NULL
16728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16731 arg2
= PyInt_AsLong(obj1
) ? true : false;
16732 if (PyErr_Occurred()) SWIG_fail
;
16735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16736 result
= (arg1
)->ToGMT(arg2
);
16738 wxPyEndAllowThreads(__tstate
);
16739 if (PyErr_Occurred()) SWIG_fail
;
16742 wxDateTime
* resultptr
;
16743 resultptr
= new wxDateTime((wxDateTime
&) result
);
16744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16752 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16753 PyObject
*resultobj
;
16754 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16755 bool arg2
= (bool) False
;
16756 wxDateTime
*result
;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "self",(char *) "noDST", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16766 arg2
= PyInt_AsLong(obj1
) ? true : false;
16767 if (PyErr_Occurred()) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16772 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
16773 result
= (wxDateTime
*) &_result_ref
;
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16786 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
;
16788 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16789 int arg2
= (int) wxDateTime::Country_Default
;
16791 PyObject
* obj0
= 0 ;
16792 char *kwnames
[] = {
16793 (char *) "self",(char *) "country", NULL
16796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
16797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 resultobj
= PyInt_FromLong((long)result
);
16812 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "self", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
16822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
16827 wxPyEndAllowThreads(__tstate
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= PyInt_FromLong((long)result
);
16837 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16839 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16841 PyObject
* obj0
= 0 ;
16842 char *kwnames
[] = {
16843 (char *) "self", NULL
16846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
16847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= PyInt_FromLong((long)result
);
16862 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16865 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16866 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16868 bool temp2
= False
;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 char *kwnames
[] = {
16872 (char *) "self",(char *) "tz", NULL
16875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16879 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 resultobj
= PyInt_FromLong((long)result
);
16892 if (temp2
) delete arg2
;
16897 if (temp2
) delete arg2
;
16903 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16906 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16907 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16909 bool temp2
= False
;
16910 PyObject
* obj0
= 0 ;
16911 PyObject
* obj1
= 0 ;
16912 char *kwnames
[] = {
16913 (char *) "self",(char *) "tz", NULL
16916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
16917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16920 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= PyInt_FromLong((long)result
);
16933 if (temp2
) delete arg2
;
16938 if (temp2
) delete arg2
;
16944 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16947 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16948 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16950 bool temp2
= False
;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char *kwnames
[] = {
16954 (char *) "self",(char *) "tz", NULL
16957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16961 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= PyInt_FromLong((long)result
);
16974 if (temp2
) delete arg2
;
16979 if (temp2
) delete arg2
;
16985 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16988 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16989 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16991 bool temp2
= False
;
16992 PyObject
* obj0
= 0 ;
16993 PyObject
* obj1
= 0 ;
16994 char *kwnames
[] = {
16995 (char *) "self",(char *) "tz", NULL
16998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17002 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17008 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17010 wxPyEndAllowThreads(__tstate
);
17011 if (PyErr_Occurred()) SWIG_fail
;
17013 resultobj
= PyInt_FromLong((long)result
);
17015 if (temp2
) delete arg2
;
17020 if (temp2
) delete arg2
;
17026 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17029 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17030 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17032 bool temp2
= False
;
17033 PyObject
* obj0
= 0 ;
17034 PyObject
* obj1
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self",(char *) "tz", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17043 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17049 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17051 wxPyEndAllowThreads(__tstate
);
17052 if (PyErr_Occurred()) SWIG_fail
;
17054 resultobj
= PyInt_FromLong((long)result
);
17056 if (temp2
) delete arg2
;
17061 if (temp2
) delete arg2
;
17067 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17070 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17071 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17073 bool temp2
= False
;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self",(char *) "tz", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17084 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17090 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17092 wxPyEndAllowThreads(__tstate
);
17093 if (PyErr_Occurred()) SWIG_fail
;
17095 resultobj
= PyInt_FromLong((long)result
);
17097 if (temp2
) delete arg2
;
17102 if (temp2
) delete arg2
;
17108 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17111 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17112 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17114 bool temp2
= False
;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self",(char *) "tz", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17125 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17133 wxPyEndAllowThreads(__tstate
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17136 resultobj
= PyInt_FromLong((long)result
);
17138 if (temp2
) delete arg2
;
17143 if (temp2
) delete arg2
;
17149 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17152 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17153 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17155 bool temp2
= False
;
17156 PyObject
* obj0
= 0 ;
17157 PyObject
* obj1
= 0 ;
17158 char *kwnames
[] = {
17159 (char *) "self",(char *) "tz", NULL
17162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17166 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= PyInt_FromLong((long)result
);
17179 if (temp2
) delete arg2
;
17184 if (temp2
) delete arg2
;
17190 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17193 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17194 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17196 bool temp2
= False
;
17197 PyObject
* obj0
= 0 ;
17198 PyObject
* obj1
= 0 ;
17199 char *kwnames
[] = {
17200 (char *) "self",(char *) "tz", NULL
17203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17207 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17213 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17215 wxPyEndAllowThreads(__tstate
);
17216 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= PyInt_FromLong((long)result
);
17220 if (temp2
) delete arg2
;
17225 if (temp2
) delete arg2
;
17231 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17232 PyObject
*resultobj
;
17233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17234 int arg2
= (int) wxDateTime::Monday_First
;
17235 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17236 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17238 bool temp3
= False
;
17239 PyObject
* obj0
= 0 ;
17240 PyObject
* obj2
= 0 ;
17241 char *kwnames
[] = {
17242 (char *) "self",(char *) "flags",(char *) "tz", NULL
17245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17249 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17260 resultobj
= PyInt_FromLong((long)result
);
17262 if (temp3
) delete arg3
;
17267 if (temp3
) delete arg3
;
17273 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17276 int arg2
= (int) wxDateTime::Monday_First
;
17277 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17278 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17280 bool temp3
= False
;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj2
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "flags",(char *) "tz", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17291 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17297 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17302 resultobj
= PyInt_FromLong((long)result
);
17304 if (temp3
) delete arg3
;
17309 if (temp3
) delete arg3
;
17315 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17316 PyObject
*resultobj
;
17317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17318 int arg2
= (int) wxDateTime::Country_Default
;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self",(char *) "country", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= PyInt_FromLong((long)result
);
17341 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17344 wxDateTime
*arg2
= 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self",(char *) "datetime", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17355 if (arg2
== NULL
) {
17356 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= PyInt_FromLong((long)result
);
17372 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17373 PyObject
*resultobj
;
17374 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17375 wxDateTime
*arg2
= 0 ;
17377 PyObject
* obj0
= 0 ;
17378 PyObject
* obj1
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self",(char *) "datetime", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17386 if (arg2
== NULL
) {
17387 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17391 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17393 wxPyEndAllowThreads(__tstate
);
17394 if (PyErr_Occurred()) SWIG_fail
;
17396 resultobj
= PyInt_FromLong((long)result
);
17403 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17406 wxDateTime
*arg2
= 0 ;
17408 PyObject
* obj0
= 0 ;
17409 PyObject
* obj1
= 0 ;
17410 char *kwnames
[] = {
17411 (char *) "self",(char *) "datetime", NULL
17414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17417 if (arg2
== NULL
) {
17418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= PyInt_FromLong((long)result
);
17434 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17435 PyObject
*resultobj
;
17436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17437 wxDateTime
*arg2
= 0 ;
17438 wxDateTime
*arg3
= 0 ;
17440 PyObject
* obj0
= 0 ;
17441 PyObject
* obj1
= 0 ;
17442 PyObject
* obj2
= 0 ;
17443 char *kwnames
[] = {
17444 (char *) "self",(char *) "t1",(char *) "t2", NULL
17447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17450 if (arg2
== NULL
) {
17451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17453 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17454 if (arg3
== NULL
) {
17455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= PyInt_FromLong((long)result
);
17471 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17474 wxDateTime
*arg2
= 0 ;
17475 wxDateTime
*arg3
= 0 ;
17477 PyObject
* obj0
= 0 ;
17478 PyObject
* obj1
= 0 ;
17479 PyObject
* obj2
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self",(char *) "t1",(char *) "t2", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17486 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17487 if (arg2
== NULL
) {
17488 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17490 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 if (arg3
== NULL
) {
17492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= PyInt_FromLong((long)result
);
17508 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17511 wxDateTime
*arg2
= 0 ;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self",(char *) "dt", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17522 if (arg2
== NULL
) {
17523 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17527 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= PyInt_FromLong((long)result
);
17539 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17542 wxDateTime
*arg2
= 0 ;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "dt", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17553 if (arg2
== NULL
) {
17554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= PyInt_FromLong((long)result
);
17570 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17573 wxDateTime
*arg2
= 0 ;
17574 wxTimeSpan
*arg3
= 0 ;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 PyObject
* obj2
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self",(char *) "dt",(char *) "ts", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17586 if (arg2
== NULL
) {
17587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17589 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17590 if (arg3
== NULL
) {
17591 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= PyInt_FromLong((long)result
);
17607 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17610 wxTimeSpan
*arg2
= 0 ;
17611 wxDateTime
*result
;
17612 PyObject
* obj0
= 0 ;
17613 PyObject
* obj1
= 0 ;
17614 char *kwnames
[] = {
17615 (char *) "self",(char *) "diff", NULL
17618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17620 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17621 if (arg2
== NULL
) {
17622 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17627 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17628 result
= (wxDateTime
*) &_result_ref
;
17631 wxPyEndAllowThreads(__tstate
);
17632 if (PyErr_Occurred()) SWIG_fail
;
17634 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17641 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17642 PyObject
*resultobj
;
17643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17644 wxDateSpan
*arg2
= 0 ;
17645 wxDateTime
*result
;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 char *kwnames
[] = {
17649 (char *) "self",(char *) "diff", NULL
17652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17655 if (arg2
== NULL
) {
17656 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17661 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17662 result
= (wxDateTime
*) &_result_ref
;
17665 wxPyEndAllowThreads(__tstate
);
17666 if (PyErr_Occurred()) SWIG_fail
;
17668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17675 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17676 PyObject
*resultobj
;
17677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17678 wxTimeSpan
*arg2
= 0 ;
17679 wxDateTime
*result
;
17680 PyObject
* obj0
= 0 ;
17681 PyObject
* obj1
= 0 ;
17682 char *kwnames
[] = {
17683 (char *) "self",(char *) "diff", NULL
17686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17688 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17689 if (arg2
== NULL
) {
17690 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17696 result
= (wxDateTime
*) &_result_ref
;
17699 wxPyEndAllowThreads(__tstate
);
17700 if (PyErr_Occurred()) SWIG_fail
;
17702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17709 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17710 PyObject
*resultobj
;
17711 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17712 wxDateSpan
*arg2
= 0 ;
17713 wxDateTime
*result
;
17714 PyObject
* obj0
= 0 ;
17715 PyObject
* obj1
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self",(char *) "diff", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17723 if (arg2
== NULL
) {
17724 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17730 result
= (wxDateTime
*) &_result_ref
;
17733 wxPyEndAllowThreads(__tstate
);
17734 if (PyErr_Occurred()) SWIG_fail
;
17736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17743 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17744 PyObject
*resultobj
;
17745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17746 wxDateTime
*arg2
= 0 ;
17748 PyObject
* obj0
= 0 ;
17749 PyObject
* obj1
= 0 ;
17750 char *kwnames
[] = {
17751 (char *) "self",(char *) "dt", NULL
17754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
17755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17757 if (arg2
== NULL
) {
17758 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 wxTimeSpan
* resultptr
;
17769 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
17770 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
17778 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
17779 PyObject
*resultobj
;
17780 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17781 wxTimeSpan
*arg2
= 0 ;
17782 wxDateTime
*result
;
17783 PyObject
* obj0
= 0 ;
17784 PyObject
* obj1
= 0 ;
17786 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17788 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17789 if (arg2
== NULL
) {
17790 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17795 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
17796 result
= (wxDateTime
*) &_result_ref
;
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17809 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
17810 PyObject
*resultobj
;
17811 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17812 wxDateSpan
*arg2
= 0 ;
17813 wxDateTime
*result
;
17814 PyObject
* obj0
= 0 ;
17815 PyObject
* obj1
= 0 ;
17817 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17820 if (arg2
== NULL
) {
17821 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
17827 result
= (wxDateTime
*) &_result_ref
;
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17840 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
17845 argc
= PyObject_Length(args
);
17846 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17847 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17853 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17863 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
17871 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
17879 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17889 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
17897 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
17902 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
17907 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
17908 PyObject
*resultobj
;
17909 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17910 wxTimeSpan
*arg2
= 0 ;
17911 wxDateTime
*result
;
17912 PyObject
* obj0
= 0 ;
17913 PyObject
* obj1
= 0 ;
17915 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
17916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17917 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17918 if (arg2
== NULL
) {
17919 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
17925 result
= (wxDateTime
*) &_result_ref
;
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17938 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
17939 PyObject
*resultobj
;
17940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17941 wxDateSpan
*arg2
= 0 ;
17942 wxDateTime
*result
;
17943 PyObject
* obj0
= 0 ;
17944 PyObject
* obj1
= 0 ;
17946 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
17947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17949 if (arg2
== NULL
) {
17950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
17956 result
= (wxDateTime
*) &_result_ref
;
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17969 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
17974 argc
= PyObject_Length(args
);
17975 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17976 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17982 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17992 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18000 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18008 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18018 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18026 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18036 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18037 PyObject
*resultobj
;
18038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18039 wxTimeSpan
*arg2
= 0 ;
18041 PyObject
* obj0
= 0 ;
18042 PyObject
* obj1
= 0 ;
18044 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18047 if (arg2
== NULL
) {
18048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18058 wxDateTime
* resultptr
;
18059 resultptr
= new wxDateTime((wxDateTime
&) result
);
18060 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18068 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18069 PyObject
*resultobj
;
18070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18071 wxDateSpan
*arg2
= 0 ;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18076 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18079 if (arg2
== NULL
) {
18080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18090 wxDateTime
* resultptr
;
18091 resultptr
= new wxDateTime((wxDateTime
&) result
);
18092 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18100 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18105 argc
= PyObject_Length(args
);
18106 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18107 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18113 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18123 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18131 return _wrap_DateTime___add____SWIG_0(self
,args
);
18139 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18149 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18157 return _wrap_DateTime___add____SWIG_1(self
,args
);
18162 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18167 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18168 PyObject
*resultobj
;
18169 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18170 wxDateTime
*arg2
= 0 ;
18172 PyObject
* obj0
= 0 ;
18173 PyObject
* obj1
= 0 ;
18175 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18178 if (arg2
== NULL
) {
18179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18189 wxTimeSpan
* resultptr
;
18190 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18191 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18199 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18200 PyObject
*resultobj
;
18201 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18202 wxTimeSpan
*arg2
= 0 ;
18204 PyObject
* obj0
= 0 ;
18205 PyObject
* obj1
= 0 ;
18207 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18210 if (arg2
== NULL
) {
18211 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 wxDateTime
* resultptr
;
18222 resultptr
= new wxDateTime((wxDateTime
&) result
);
18223 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18231 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18232 PyObject
*resultobj
;
18233 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18234 wxDateSpan
*arg2
= 0 ;
18236 PyObject
* obj0
= 0 ;
18237 PyObject
* obj1
= 0 ;
18239 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18242 if (arg2
== NULL
) {
18243 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18253 wxDateTime
* resultptr
;
18254 resultptr
= new wxDateTime((wxDateTime
&) result
);
18255 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18263 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18268 argc
= PyObject_Length(args
);
18269 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18270 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18276 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18286 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18294 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18302 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18312 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18320 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18328 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18338 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18346 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18351 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18356 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18357 PyObject
*resultobj
;
18358 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18359 wxDateTime
*arg2
= 0 ;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18364 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18367 if (arg2
== NULL
) {
18368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= PyInt_FromLong((long)result
);
18384 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18385 PyObject
*resultobj
;
18386 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18387 wxDateTime
*arg2
= 0 ;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18392 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18394 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18395 if (arg2
== NULL
) {
18396 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18402 wxPyEndAllowThreads(__tstate
);
18403 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= PyInt_FromLong((long)result
);
18412 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18413 PyObject
*resultobj
;
18414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18415 wxDateTime
*arg2
= 0 ;
18417 PyObject
* obj0
= 0 ;
18418 PyObject
* obj1
= 0 ;
18420 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18423 if (arg2
== NULL
) {
18424 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= PyInt_FromLong((long)result
);
18440 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18441 PyObject
*resultobj
;
18442 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18443 wxDateTime
*arg2
= 0 ;
18445 PyObject
* obj0
= 0 ;
18446 PyObject
* obj1
= 0 ;
18448 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18451 if (arg2
== NULL
) {
18452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= PyInt_FromLong((long)result
);
18468 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18469 PyObject
*resultobj
;
18470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18471 wxDateTime
*arg2
= 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18476 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18479 if (arg2
== NULL
) {
18480 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18484 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18489 resultobj
= PyInt_FromLong((long)result
);
18496 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18497 PyObject
*resultobj
;
18498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18499 wxDateTime
*arg2
= 0 ;
18501 PyObject
* obj0
= 0 ;
18502 PyObject
* obj1
= 0 ;
18504 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18507 if (arg2
== NULL
) {
18508 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= PyInt_FromLong((long)result
);
18524 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18527 wxString
*arg2
= 0 ;
18529 bool temp2
= False
;
18530 PyObject
* obj0
= 0 ;
18531 PyObject
* obj1
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self",(char *) "date", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18539 arg2
= wxString_in_helper(obj1
);
18540 if (arg2
== NULL
) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= PyInt_FromLong((long)result
);
18565 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18566 PyObject
*resultobj
;
18567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18568 wxString
*arg2
= 0 ;
18569 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18571 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18572 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18574 bool temp2
= False
;
18575 bool temp3
= False
;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 PyObject
* obj2
= 0 ;
18579 PyObject
* obj3
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18587 arg2
= wxString_in_helper(obj1
);
18588 if (arg2
== NULL
) SWIG_fail
;
18593 arg3
= wxString_in_helper(obj2
);
18594 if (arg3
== NULL
) SWIG_fail
;
18599 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18600 if (arg4
== NULL
) {
18601 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= PyInt_FromLong((long)result
);
18634 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18637 wxString
*arg2
= 0 ;
18639 bool temp2
= False
;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 char *kwnames
[] = {
18643 (char *) "self",(char *) "datetime", NULL
18646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18649 arg2
= wxString_in_helper(obj1
);
18650 if (arg2
== NULL
) SWIG_fail
;
18654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18655 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= PyInt_FromLong((long)result
);
18675 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18678 wxString
*arg2
= 0 ;
18680 bool temp2
= False
;
18681 PyObject
* obj0
= 0 ;
18682 PyObject
* obj1
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self",(char *) "date", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18690 arg2
= wxString_in_helper(obj1
);
18691 if (arg2
== NULL
) SWIG_fail
;
18695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18696 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18698 wxPyEndAllowThreads(__tstate
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 resultobj
= PyInt_FromLong((long)result
);
18716 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18719 wxString
*arg2
= 0 ;
18721 bool temp2
= False
;
18722 PyObject
* obj0
= 0 ;
18723 PyObject
* obj1
= 0 ;
18724 char *kwnames
[] = {
18725 (char *) "self",(char *) "time", NULL
18728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18731 arg2
= wxString_in_helper(obj1
);
18732 if (arg2
== NULL
) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= PyInt_FromLong((long)result
);
18757 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18760 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
18761 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18762 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18763 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18765 bool temp2
= False
;
18766 bool temp3
= False
;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 PyObject
* obj2
= 0 ;
18770 char *kwnames
[] = {
18771 (char *) "self",(char *) "format",(char *) "tz", NULL
18774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18778 arg2
= wxString_in_helper(obj1
);
18779 if (arg2
== NULL
) SWIG_fail
;
18785 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18808 if (temp3
) delete arg3
;
18817 if (temp3
) delete arg3
;
18823 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18824 PyObject
*resultobj
;
18825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18827 PyObject
* obj0
= 0 ;
18828 char *kwnames
[] = {
18829 (char *) "self", NULL
18832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
18833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 result
= ((wxDateTime
const *)arg1
)->FormatDate();
18838 wxPyEndAllowThreads(__tstate
);
18839 if (PyErr_Occurred()) SWIG_fail
;
18843 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18845 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18854 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 char *kwnames
[] = {
18860 (char *) "self", NULL
18863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
18864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18867 result
= ((wxDateTime
const *)arg1
)->FormatTime();
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18876 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18885 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18907 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18916 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
;
18918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18920 PyObject
* obj0
= 0 ;
18921 char *kwnames
[] = {
18922 (char *) "self", NULL
18925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
18926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18938 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18947 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
18949 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18950 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
18952 return Py_BuildValue((char *)"");
18954 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18958 char *kwnames
[] = {
18959 (char *) "sec", NULL
18962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
18964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18965 result
= wxTimeSpan::Seconds(arg1
);
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18971 wxTimeSpan
* resultptr
;
18972 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18973 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18981 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18982 PyObject
*resultobj
;
18984 char *kwnames
[] = {
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
18990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18991 result
= wxTimeSpan::Second();
18993 wxPyEndAllowThreads(__tstate
);
18994 if (PyErr_Occurred()) SWIG_fail
;
18997 wxTimeSpan
* resultptr
;
18998 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18999 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19007 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19008 PyObject
*resultobj
;
19011 char *kwnames
[] = {
19012 (char *) "min", NULL
19015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19018 result
= wxTimeSpan::Minutes(arg1
);
19020 wxPyEndAllowThreads(__tstate
);
19021 if (PyErr_Occurred()) SWIG_fail
;
19024 wxTimeSpan
* resultptr
;
19025 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19026 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19034 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19037 char *kwnames
[] = {
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= wxTimeSpan::Minute();
19046 wxPyEndAllowThreads(__tstate
);
19047 if (PyErr_Occurred()) SWIG_fail
;
19050 wxTimeSpan
* resultptr
;
19051 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19052 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19060 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19064 char *kwnames
[] = {
19065 (char *) "hours", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= wxTimeSpan::Hours(arg1
);
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19077 wxTimeSpan
* resultptr
;
19078 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19079 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19087 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19090 char *kwnames
[] = {
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 result
= wxTimeSpan::Hour();
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19103 wxTimeSpan
* resultptr
;
19104 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19113 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19117 char *kwnames
[] = {
19118 (char *) "days", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19124 result
= wxTimeSpan::Days(arg1
);
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19130 wxTimeSpan
* resultptr
;
19131 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19140 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19141 PyObject
*resultobj
;
19143 char *kwnames
[] = {
19147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= wxTimeSpan::Day();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19156 wxTimeSpan
* resultptr
;
19157 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19158 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19166 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19170 char *kwnames
[] = {
19171 (char *) "days", NULL
19174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= wxTimeSpan::Weeks(arg1
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19183 wxTimeSpan
* resultptr
;
19184 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19185 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19193 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19196 char *kwnames
[] = {
19200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 result
= wxTimeSpan::Week();
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19209 wxTimeSpan
* resultptr
;
19210 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19219 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19220 PyObject
*resultobj
;
19221 long arg1
= (long) 0 ;
19222 long arg2
= (long) 0 ;
19223 long arg3
= (long) 0 ;
19224 long arg4
= (long) 0 ;
19225 wxTimeSpan
*result
;
19226 char *kwnames
[] = {
19227 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19235 wxPyEndAllowThreads(__tstate
);
19236 if (PyErr_Occurred()) SWIG_fail
;
19238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19245 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19246 PyObject
*resultobj
;
19247 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19248 PyObject
* obj0
= 0 ;
19249 char *kwnames
[] = {
19250 (char *) "self", NULL
19253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19272 wxTimeSpan
*arg2
= 0 ;
19273 wxTimeSpan
*result
;
19274 PyObject
* obj0
= 0 ;
19275 PyObject
* obj1
= 0 ;
19276 char *kwnames
[] = {
19277 (char *) "self",(char *) "diff", NULL
19280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19283 if (arg2
== NULL
) {
19284 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19290 result
= (wxTimeSpan
*) &_result_ref
;
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19303 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19304 PyObject
*resultobj
;
19305 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19306 wxTimeSpan
*arg2
= 0 ;
19307 wxTimeSpan
*result
;
19308 PyObject
* obj0
= 0 ;
19309 PyObject
* obj1
= 0 ;
19310 char *kwnames
[] = {
19311 (char *) "self",(char *) "diff", NULL
19314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19316 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19317 if (arg2
== NULL
) {
19318 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19323 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19324 result
= (wxTimeSpan
*) &_result_ref
;
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19337 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19341 wxTimeSpan
*result
;
19342 PyObject
* obj0
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "n", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19353 result
= (wxTimeSpan
*) &_result_ref
;
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19366 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19369 wxTimeSpan
*result
;
19370 PyObject
* obj0
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19381 result
= (wxTimeSpan
*) &_result_ref
;
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19394 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19413 wxTimeSpan
* resultptr
;
19414 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19415 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19423 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19426 wxTimeSpan
*arg2
= 0 ;
19427 wxTimeSpan
*result
;
19428 PyObject
* obj0
= 0 ;
19429 PyObject
* obj1
= 0 ;
19430 char *kwnames
[] = {
19431 (char *) "self",(char *) "diff", NULL
19434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19437 if (arg2
== NULL
) {
19438 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19443 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19444 result
= (wxTimeSpan
*) &_result_ref
;
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19457 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19460 wxTimeSpan
*arg2
= 0 ;
19461 wxTimeSpan
*result
;
19462 PyObject
* obj0
= 0 ;
19463 PyObject
* obj1
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self",(char *) "diff", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19471 if (arg2
== NULL
) {
19472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19477 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19478 result
= (wxTimeSpan
*) &_result_ref
;
19481 wxPyEndAllowThreads(__tstate
);
19482 if (PyErr_Occurred()) SWIG_fail
;
19484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19491 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19492 PyObject
*resultobj
;
19493 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19495 wxTimeSpan
*result
;
19496 PyObject
* obj0
= 0 ;
19497 char *kwnames
[] = {
19498 (char *) "self",(char *) "n", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19507 result
= (wxTimeSpan
*) &_result_ref
;
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19520 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19521 PyObject
*resultobj
;
19522 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19523 wxTimeSpan
*result
;
19524 PyObject
* obj0
= 0 ;
19525 char *kwnames
[] = {
19526 (char *) "self", NULL
19529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19535 result
= (wxTimeSpan
*) &_result_ref
;
19538 wxPyEndAllowThreads(__tstate
);
19539 if (PyErr_Occurred()) SWIG_fail
;
19541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19548 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19551 wxTimeSpan
*arg2
= 0 ;
19553 PyObject
* obj0
= 0 ;
19554 PyObject
* obj1
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self",(char *) "other", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19562 if (arg2
== NULL
) {
19563 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19573 wxTimeSpan
* resultptr
;
19574 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19575 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19583 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19585 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19586 wxTimeSpan
*arg2
= 0 ;
19588 PyObject
* obj0
= 0 ;
19589 PyObject
* obj1
= 0 ;
19590 char *kwnames
[] = {
19591 (char *) "self",(char *) "other", NULL
19594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19597 if (arg2
== NULL
) {
19598 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19608 wxTimeSpan
* resultptr
;
19609 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19610 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19618 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19619 PyObject
*resultobj
;
19620 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self",(char *) "n", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19632 result
= wxTimeSpan___mul__(arg1
,arg2
);
19634 wxPyEndAllowThreads(__tstate
);
19635 if (PyErr_Occurred()) SWIG_fail
;
19638 wxTimeSpan
* resultptr
;
19639 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19648 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
;
19650 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "n", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19668 wxTimeSpan
* resultptr
;
19669 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19670 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19678 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19681 wxTimeSpan
*arg2
= 0 ;
19683 PyObject
* obj0
= 0 ;
19684 PyObject
* obj1
= 0 ;
19685 char *kwnames
[] = {
19686 (char *) "self",(char *) "other", NULL
19689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19691 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19692 if (arg2
== NULL
) {
19693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 resultobj
= PyInt_FromLong((long)result
);
19709 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19712 wxTimeSpan
*arg2
= 0 ;
19714 PyObject
* obj0
= 0 ;
19715 PyObject
* obj1
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self",(char *) "other", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",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();
19728 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= PyInt_FromLong((long)result
);
19740 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19743 wxTimeSpan
*arg2
= 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 char *kwnames
[] = {
19748 (char *) "self",(char *) "other", NULL
19751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19754 if (arg2
== NULL
) {
19755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19759 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= PyInt_FromLong((long)result
);
19771 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19774 wxTimeSpan
*arg2
= 0 ;
19776 PyObject
* obj0
= 0 ;
19777 PyObject
* obj1
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "other", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19784 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19785 if (arg2
== NULL
) {
19786 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 resultobj
= PyInt_FromLong((long)result
);
19802 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19805 wxTimeSpan
*arg2
= 0 ;
19807 PyObject
* obj0
= 0 ;
19808 PyObject
* obj1
= 0 ;
19809 char *kwnames
[] = {
19810 (char *) "self",(char *) "other", NULL
19813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19816 if (arg2
== NULL
) {
19817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= PyInt_FromLong((long)result
);
19833 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19836 wxTimeSpan
*arg2
= 0 ;
19838 PyObject
* obj0
= 0 ;
19839 PyObject
* obj1
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self",(char *) "other", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19847 if (arg2
== NULL
) {
19848 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 resultobj
= PyInt_FromLong((long)result
);
19864 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19868 PyObject
* obj0
= 0 ;
19869 char *kwnames
[] = {
19870 (char *) "self", NULL
19873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
19874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= PyInt_FromLong((long)result
);
19889 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19902 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
19904 wxPyEndAllowThreads(__tstate
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= PyInt_FromLong((long)result
);
19914 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19915 PyObject
*resultobj
;
19916 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19918 PyObject
* obj0
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= PyInt_FromLong((long)result
);
19939 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19942 wxTimeSpan
*arg2
= 0 ;
19944 PyObject
* obj0
= 0 ;
19945 PyObject
* obj1
= 0 ;
19946 char *kwnames
[] = {
19947 (char *) "self",(char *) "ts", NULL
19950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19952 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19953 if (arg2
== NULL
) {
19954 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19958 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
19960 wxPyEndAllowThreads(__tstate
);
19961 if (PyErr_Occurred()) SWIG_fail
;
19963 resultobj
= PyInt_FromLong((long)result
);
19970 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
;
19972 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19973 wxTimeSpan
*arg2
= 0 ;
19975 PyObject
* obj0
= 0 ;
19976 PyObject
* obj1
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self",(char *) "ts", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19983 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19984 if (arg2
== NULL
) {
19985 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19989 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
19991 wxPyEndAllowThreads(__tstate
);
19992 if (PyErr_Occurred()) SWIG_fail
;
19994 resultobj
= PyInt_FromLong((long)result
);
20001 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20002 PyObject
*resultobj
;
20003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20004 wxTimeSpan
*arg2
= 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char *kwnames
[] = {
20009 (char *) "self",(char *) "t", NULL
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20015 if (arg2
== NULL
) {
20016 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 resultobj
= PyInt_FromLong((long)result
);
20032 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20033 PyObject
*resultobj
;
20034 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "self", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20045 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20047 wxPyEndAllowThreads(__tstate
);
20048 if (PyErr_Occurred()) SWIG_fail
;
20050 resultobj
= PyInt_FromLong((long)result
);
20057 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "self", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= PyInt_FromLong((long)result
);
20082 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20100 resultobj
= PyInt_FromLong((long)result
);
20107 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20108 PyObject
*resultobj
;
20109 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20111 PyObject
* obj0
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "self", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= PyInt_FromLong((long)result
);
20132 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20151 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20152 hi
= PyLong_FromLong( (&result
)->GetHi() );
20153 lo
= PyLong_FromLong( (&result
)->GetLo() );
20154 shifter
= PyLong_FromLong(32);
20155 shifted
= PyNumber_Lshift(hi
, shifter
);
20156 resultobj
= PyNumber_Or(shifted
, lo
);
20159 Py_DECREF(shifter
);
20160 Py_DECREF(shifted
);
20168 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20172 PyObject
* obj0
= 0 ;
20173 char *kwnames
[] = {
20174 (char *) "self", NULL
20177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20188 hi
= PyLong_FromLong( (&result
)->GetHi() );
20189 lo
= PyLong_FromLong( (&result
)->GetLo() );
20190 shifter
= PyLong_FromLong(32);
20191 shifted
= PyNumber_Lshift(hi
, shifter
);
20192 resultobj
= PyNumber_Or(shifted
, lo
);
20195 Py_DECREF(shifter
);
20196 Py_DECREF(shifted
);
20204 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20205 PyObject
*resultobj
;
20206 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20207 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20208 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20210 bool temp2
= False
;
20211 PyObject
* obj0
= 0 ;
20212 PyObject
* obj1
= 0 ;
20213 char *kwnames
[] = {
20214 (char *) "self",(char *) "format", NULL
20217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20221 arg2
= wxString_in_helper(obj1
);
20222 if (arg2
== NULL
) SWIG_fail
;
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20228 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20230 wxPyEndAllowThreads(__tstate
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20254 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20257 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20259 return Py_BuildValue((char *)"");
20261 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20262 PyObject
*resultobj
;
20263 int arg1
= (int) 0 ;
20264 int arg2
= (int) 0 ;
20265 int arg3
= (int) 0 ;
20266 int arg4
= (int) 0 ;
20267 wxDateSpan
*result
;
20268 char *kwnames
[] = {
20269 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20287 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20290 PyObject
* obj0
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 Py_INCREF(Py_None
); resultobj
= Py_None
;
20311 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20315 char *kwnames
[] = {
20316 (char *) "days", NULL
20319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= wxDateSpan::Days(arg1
);
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 wxDateSpan
* resultptr
;
20329 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20338 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20341 char *kwnames
[] = {
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20348 result
= wxDateSpan::Day();
20350 wxPyEndAllowThreads(__tstate
);
20351 if (PyErr_Occurred()) SWIG_fail
;
20354 wxDateSpan
* resultptr
;
20355 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20356 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20364 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20365 PyObject
*resultobj
;
20368 char *kwnames
[] = {
20369 (char *) "weeks", NULL
20372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 result
= wxDateSpan::Weeks(arg1
);
20377 wxPyEndAllowThreads(__tstate
);
20378 if (PyErr_Occurred()) SWIG_fail
;
20381 wxDateSpan
* resultptr
;
20382 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20391 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20392 PyObject
*resultobj
;
20394 char *kwnames
[] = {
20398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20401 result
= wxDateSpan::Week();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 wxDateSpan
* resultptr
;
20408 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20409 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20417 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20421 char *kwnames
[] = {
20422 (char *) "mon", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20428 result
= wxDateSpan::Months(arg1
);
20430 wxPyEndAllowThreads(__tstate
);
20431 if (PyErr_Occurred()) SWIG_fail
;
20434 wxDateSpan
* resultptr
;
20435 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20436 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20444 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20447 char *kwnames
[] = {
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20454 result
= wxDateSpan::Month();
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20460 wxDateSpan
* resultptr
;
20461 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20462 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20470 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20474 char *kwnames
[] = {
20475 (char *) "years", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 result
= wxDateSpan::Years(arg1
);
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20487 wxDateSpan
* resultptr
;
20488 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20489 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20497 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20500 char *kwnames
[] = {
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= wxDateSpan::Year();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20513 wxDateSpan
* resultptr
;
20514 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20515 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20523 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20527 wxDateSpan
*result
;
20528 PyObject
* obj0
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "self",(char *) "n", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20539 result
= (wxDateSpan
*) &_result_ref
;
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20545 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20552 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20553 PyObject
*resultobj
;
20554 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20556 wxDateSpan
*result
;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self",(char *) "n", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20567 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20568 result
= (wxDateSpan
*) &_result_ref
;
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20581 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20585 wxDateSpan
*result
;
20586 PyObject
* obj0
= 0 ;
20587 char *kwnames
[] = {
20588 (char *) "self",(char *) "n", NULL
20591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20596 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20597 result
= (wxDateSpan
*) &_result_ref
;
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20610 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20614 wxDateSpan
*result
;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "self",(char *) "n", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20626 result
= (wxDateSpan
*) &_result_ref
;
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20639 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20641 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20643 PyObject
* obj0
= 0 ;
20644 char *kwnames
[] = {
20645 (char *) "self", NULL
20648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= PyInt_FromLong((long)result
);
20664 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 resultobj
= PyInt_FromLong((long)result
);
20689 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 resultobj
= PyInt_FromLong((long)result
);
20714 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= PyInt_FromLong((long)result
);
20739 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
20749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= PyInt_FromLong((long)result
);
20764 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20767 wxDateSpan
*arg2
= 0 ;
20768 wxDateSpan
*result
;
20769 PyObject
* obj0
= 0 ;
20770 PyObject
* obj1
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self",(char *) "other", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20778 if (arg2
== NULL
) {
20779 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20785 result
= (wxDateSpan
*) &_result_ref
;
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20798 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20799 PyObject
*resultobj
;
20800 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20801 wxDateSpan
*arg2
= 0 ;
20802 wxDateSpan
*result
;
20803 PyObject
* obj0
= 0 ;
20804 PyObject
* obj1
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self",(char *) "other", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20812 if (arg2
== NULL
) {
20813 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20819 result
= (wxDateSpan
*) &_result_ref
;
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20832 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20833 PyObject
*resultobj
;
20834 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20835 wxDateSpan
*result
;
20836 PyObject
* obj0
= 0 ;
20837 char *kwnames
[] = {
20838 (char *) "self", NULL
20841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
20842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 wxDateSpan
&_result_ref
= (arg1
)->Neg();
20847 result
= (wxDateSpan
*) &_result_ref
;
20850 wxPyEndAllowThreads(__tstate
);
20851 if (PyErr_Occurred()) SWIG_fail
;
20853 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20860 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
;
20862 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20864 wxDateSpan
*result
;
20865 PyObject
* obj0
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self",(char *) "factor", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
20876 result
= (wxDateSpan
*) &_result_ref
;
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20889 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20892 wxDateSpan
*arg2
= 0 ;
20893 wxDateSpan
*result
;
20894 PyObject
* obj0
= 0 ;
20895 PyObject
* obj1
= 0 ;
20896 char *kwnames
[] = {
20897 (char *) "self",(char *) "other", NULL
20900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20903 if (arg2
== NULL
) {
20904 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20910 result
= (wxDateSpan
*) &_result_ref
;
20913 wxPyEndAllowThreads(__tstate
);
20914 if (PyErr_Occurred()) SWIG_fail
;
20916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20923 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20924 PyObject
*resultobj
;
20925 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20926 wxDateSpan
*arg2
= 0 ;
20927 wxDateSpan
*result
;
20928 PyObject
* obj0
= 0 ;
20929 PyObject
* obj1
= 0 ;
20930 char *kwnames
[] = {
20931 (char *) "self",(char *) "other", NULL
20934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
20935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20937 if (arg2
== NULL
) {
20938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20944 result
= (wxDateSpan
*) &_result_ref
;
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20957 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20960 wxDateSpan
*result
;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 wxDateSpan
&_result_ref
= (arg1
)->operator -();
20972 result
= (wxDateSpan
*) &_result_ref
;
20975 wxPyEndAllowThreads(__tstate
);
20976 if (PyErr_Occurred()) SWIG_fail
;
20978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20985 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20989 wxDateSpan
*result
;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self",(char *) "factor", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21001 result
= (wxDateSpan
*) &_result_ref
;
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21014 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21017 wxDateSpan
*arg2
= 0 ;
21019 PyObject
* obj0
= 0 ;
21020 PyObject
* obj1
= 0 ;
21021 char *kwnames
[] = {
21022 (char *) "self",(char *) "other", NULL
21025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21028 if (arg2
== NULL
) {
21029 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21035 wxPyEndAllowThreads(__tstate
);
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 wxDateSpan
* resultptr
;
21040 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21041 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21049 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21052 wxDateSpan
*arg2
= 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "other", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21063 if (arg2
== NULL
) {
21064 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21074 wxDateSpan
* resultptr
;
21075 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21076 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21084 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "n", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= wxDateSpan___mul__(arg1
,arg2
);
21100 wxPyEndAllowThreads(__tstate
);
21101 if (PyErr_Occurred()) SWIG_fail
;
21104 wxDateSpan
* resultptr
;
21105 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21106 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21114 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21115 PyObject
*resultobj
;
21116 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self",(char *) "n", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21128 result
= wxDateSpan___rmul__(arg1
,arg2
);
21130 wxPyEndAllowThreads(__tstate
);
21131 if (PyErr_Occurred()) SWIG_fail
;
21134 wxDateSpan
* resultptr
;
21135 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21136 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21144 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21147 wxDateSpan
*arg2
= 0 ;
21149 PyObject
* obj0
= 0 ;
21150 PyObject
* obj1
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self",(char *) "other", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21158 if (arg2
== NULL
) {
21159 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21163 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21165 wxPyEndAllowThreads(__tstate
);
21166 if (PyErr_Occurred()) SWIG_fail
;
21168 resultobj
= PyInt_FromLong((long)result
);
21175 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21176 PyObject
*resultobj
;
21177 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21178 wxDateSpan
*arg2
= 0 ;
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___ne__",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();
21194 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21196 wxPyEndAllowThreads(__tstate
);
21197 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= PyInt_FromLong((long)result
);
21206 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21209 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21211 return Py_BuildValue((char *)"");
21213 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21214 PyObject
*resultobj
;
21216 char *kwnames
[] = {
21220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 result
= (long)wxGetLocalTime();
21225 wxPyEndAllowThreads(__tstate
);
21226 if (PyErr_Occurred()) SWIG_fail
;
21228 resultobj
= PyInt_FromLong((long)result
);
21235 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21236 PyObject
*resultobj
;
21238 char *kwnames
[] = {
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (long)wxGetUTCTime();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= PyInt_FromLong((long)result
);
21257 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21258 PyObject
*resultobj
;
21260 char *kwnames
[] = {
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (long)wxGetCurrentTime();
21269 wxPyEndAllowThreads(__tstate
);
21270 if (PyErr_Occurred()) SWIG_fail
;
21272 resultobj
= PyInt_FromLong((long)result
);
21279 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21282 char *kwnames
[] = {
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21289 result
= wxGetLocalTimeMillis();
21291 wxPyEndAllowThreads(__tstate
);
21292 if (PyErr_Occurred()) SWIG_fail
;
21295 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21296 hi
= PyLong_FromLong( (&result
)->GetHi() );
21297 lo
= PyLong_FromLong( (&result
)->GetLo() );
21298 shifter
= PyLong_FromLong(32);
21299 shifted
= PyNumber_Lshift(hi
, shifter
);
21300 resultobj
= PyNumber_Or(shifted
, lo
);
21303 Py_DECREF(shifter
);
21304 Py_DECREF(shifted
);
21312 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
;
21315 wxDataFormat
*result
;
21316 char *kwnames
[] = {
21317 (char *) "type", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21335 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21336 PyObject
*resultobj
;
21337 wxString
*arg1
= 0 ;
21338 wxDataFormat
*result
;
21339 bool temp1
= False
;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "format", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21347 arg1
= wxString_in_helper(obj0
);
21348 if (arg1
== NULL
) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21373 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21376 PyObject
* obj0
= 0 ;
21377 char *kwnames
[] = {
21378 (char *) "self", NULL
21381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 wxPyEndAllowThreads(__tstate
);
21388 if (PyErr_Occurred()) SWIG_fail
;
21390 Py_INCREF(Py_None
); resultobj
= Py_None
;
21397 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21398 PyObject
*resultobj
;
21399 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21402 PyObject
* obj0
= 0 ;
21404 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21413 resultobj
= PyInt_FromLong((long)result
);
21420 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21421 PyObject
*resultobj
;
21422 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21425 PyObject
* obj0
= 0 ;
21427 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= PyInt_FromLong((long)result
);
21443 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21444 PyObject
*resultobj
;
21445 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21446 wxDataFormat
*arg2
= 0 ;
21448 PyObject
* obj0
= 0 ;
21449 PyObject
* obj1
= 0 ;
21451 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21454 if (arg2
== NULL
) {
21455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21459 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21461 wxPyEndAllowThreads(__tstate
);
21462 if (PyErr_Occurred()) SWIG_fail
;
21464 resultobj
= PyInt_FromLong((long)result
);
21471 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21476 argc
= PyObject_Length(args
);
21477 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21478 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21484 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21494 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21502 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21510 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21519 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21522 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21527 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21532 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21533 PyObject
*resultobj
;
21534 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21535 wxDataFormat
*arg2
= 0 ;
21537 PyObject
* obj0
= 0 ;
21538 PyObject
* obj1
= 0 ;
21540 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21543 if (arg2
== NULL
) {
21544 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21550 wxPyEndAllowThreads(__tstate
);
21551 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= PyInt_FromLong((long)result
);
21560 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21565 argc
= PyObject_Length(args
);
21566 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21567 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21573 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21583 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21591 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21599 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21608 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21611 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21616 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21621 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21622 PyObject
*resultobj
;
21623 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21625 PyObject
* obj0
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "format", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21634 (arg1
)->SetType((wxDataFormatId
)arg2
);
21636 wxPyEndAllowThreads(__tstate
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 Py_INCREF(Py_None
); resultobj
= Py_None
;
21646 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21647 PyObject
*resultobj
;
21648 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21650 PyObject
* obj0
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= PyInt_FromLong((long)result
);
21671 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 result
= ((wxDataFormat
const *)arg1
)->GetId();
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21702 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21705 wxString
*arg2
= 0 ;
21706 bool temp2
= False
;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self",(char *) "format", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21716 arg2
= wxString_in_helper(obj1
);
21717 if (arg2
== NULL
) SWIG_fail
;
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21722 (arg1
)->SetId((wxString
const &)*arg2
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 Py_INCREF(Py_None
); resultobj
= Py_None
;
21742 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
21744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21745 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
21747 return Py_BuildValue((char *)"");
21749 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
21750 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
21755 static PyObject
*_wrap_FormatInvalid_get() {
21758 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
21763 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 wxPyEndAllowThreads(__tstate
);
21778 if (PyErr_Occurred()) SWIG_fail
;
21780 Py_INCREF(Py_None
); resultobj
= Py_None
;
21787 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21790 int arg2
= (int) wxDataObject::Get
;
21791 SwigValueWrapper
< wxDataFormat
> result
;
21792 PyObject
* obj0
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "dir", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21801 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21807 wxDataFormat
* resultptr
;
21808 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
21809 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
21817 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21818 PyObject
*resultobj
;
21819 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21820 int arg2
= (int) wxDataObject::Get
;
21822 PyObject
* obj0
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "dir", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21831 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= PyInt_FromLong((long)result
);
21843 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21846 wxDataFormat
*arg2
= 0 ;
21847 int arg3
= (int) wxDataObject::Get
;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 char *kwnames
[] = {
21852 (char *) "self",(char *) "format",(char *) "dir", NULL
21855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21857 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21858 if (arg2
== NULL
) {
21859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= PyInt_FromLong((long)result
);
21875 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21878 wxDataFormat
*arg2
= 0 ;
21880 PyObject
* obj0
= 0 ;
21881 PyObject
* obj1
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "format", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21889 if (arg2
== NULL
) {
21890 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= PyInt_FromLong((long)result
);
21906 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21909 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
21910 int arg3
= (int) wxDataObject::Get
;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 char *kwnames
[] = {
21914 (char *) "self",(char *) "formats",(char *) "dir", NULL
21917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21919 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21922 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21927 Py_INCREF(Py_None
); resultobj
= Py_None
;
21934 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21937 wxDataFormat
*arg2
= 0 ;
21938 void *arg3
= (void *) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 PyObject
* obj2
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "format",(char *) "buf", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21950 if (arg2
== NULL
) {
21951 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21953 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21956 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
21958 wxPyEndAllowThreads(__tstate
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= PyInt_FromLong((long)result
);
21968 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21969 PyObject
*resultobj
;
21970 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21971 wxDataFormat
*arg2
= 0 ;
21973 void *arg4
= (void *) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 PyObject
* obj3
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21986 if (arg2
== NULL
) {
21987 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21989 arg3
= (size_t) PyInt_AsLong(obj2
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21991 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= PyInt_FromLong((long)result
);
22006 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22009 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22011 return Py_BuildValue((char *)"");
22013 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22016 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22017 wxDataObjectSimple
*result
;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "format", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22026 if (arg1
== NULL
) {
22027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22044 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22047 wxDataFormat
*result
;
22048 PyObject
* obj0
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22059 result
= (wxDataFormat
*) &_result_ref
;
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22072 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22075 wxDataFormat
*arg2
= 0 ;
22076 PyObject
* obj0
= 0 ;
22077 PyObject
* obj1
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "format", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22084 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22085 if (arg2
== NULL
) {
22086 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22095 Py_INCREF(Py_None
); resultobj
= Py_None
;
22102 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22104 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22105 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22107 return Py_BuildValue((char *)"");
22109 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22112 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22113 wxPyDataObjectSimple
*result
;
22114 PyObject
* obj0
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "format", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22122 if (arg1
== NULL
) {
22123 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22140 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22143 PyObject
*arg2
= (PyObject
*) 0 ;
22144 PyObject
*arg3
= (PyObject
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 PyObject
* obj2
= 0 ;
22148 char *kwnames
[] = {
22149 (char *) "self",(char *) "self",(char *) "_class", NULL
22152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 Py_INCREF(Py_None
); resultobj
= Py_None
;
22170 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22173 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22175 return Py_BuildValue((char *)"");
22177 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxDataObjectComposite
*result
;
22180 char *kwnames
[] = {
22184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22187 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22189 wxPyEndAllowThreads(__tstate
);
22190 if (PyErr_Occurred()) SWIG_fail
;
22192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22199 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22202 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22203 int arg3
= (int) False
;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22215 (arg1
)->Add(arg2
,arg3
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 Py_INCREF(Py_None
); resultobj
= Py_None
;
22227 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22230 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22232 return Py_BuildValue((char *)"");
22234 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22237 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22238 wxTextDataObject
*result
;
22239 bool temp1
= False
;
22240 PyObject
* obj0
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "text", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22248 arg1
= wxString_in_helper(obj0
);
22249 if (arg1
== NULL
) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22275 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22279 PyObject
* obj0
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (size_t)(arg1
)->GetTextLength();
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 resultobj
= PyInt_FromLong((long)result
);
22300 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22304 PyObject
* obj0
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (arg1
)->GetText();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22331 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22334 wxString
*arg2
= 0 ;
22335 bool temp2
= False
;
22336 PyObject
* obj0
= 0 ;
22337 PyObject
* obj1
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "text", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22345 arg2
= wxString_in_helper(obj1
);
22346 if (arg2
== NULL
) SWIG_fail
;
22350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22351 (arg1
)->SetText((wxString
const &)*arg2
);
22353 wxPyEndAllowThreads(__tstate
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 Py_INCREF(Py_None
); resultobj
= Py_None
;
22371 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22374 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22376 return Py_BuildValue((char *)"");
22378 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22381 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22382 wxPyTextDataObject
*result
;
22383 bool temp1
= False
;
22384 PyObject
* obj0
= 0 ;
22385 char *kwnames
[] = {
22386 (char *) "text", NULL
22389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22392 arg1
= wxString_in_helper(obj0
);
22393 if (arg1
== NULL
) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22419 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22422 PyObject
*arg2
= (PyObject
*) 0 ;
22423 PyObject
*arg3
= (PyObject
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 PyObject
* obj1
= 0 ;
22426 PyObject
* obj2
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self",(char *) "self",(char *) "_class", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22452 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22454 return Py_BuildValue((char *)"");
22456 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22459 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22460 wxBitmapDataObject
*result
;
22461 PyObject
* obj0
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "bitmap", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22469 if (arg1
== NULL
) {
22470 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22487 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22491 PyObject
* obj0
= 0 ;
22492 char *kwnames
[] = {
22493 (char *) "self", NULL
22496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22506 wxBitmap
* resultptr
;
22507 resultptr
= new wxBitmap((wxBitmap
&) result
);
22508 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22516 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22519 wxBitmap
*arg2
= 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 char *kwnames
[] = {
22523 (char *) "self",(char *) "bitmap", NULL
22526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22529 if (arg2
== NULL
) {
22530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 Py_INCREF(Py_None
); resultobj
= Py_None
;
22546 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22549 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22551 return Py_BuildValue((char *)"");
22553 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22556 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22557 wxPyBitmapDataObject
*result
;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "bitmap", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22566 if (arg1
== NULL
) {
22567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22584 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22587 PyObject
*arg2
= (PyObject
*) 0 ;
22588 PyObject
*arg3
= (PyObject
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 PyObject
* obj2
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "self",(char *) "_class", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 Py_INCREF(Py_None
); resultobj
= Py_None
;
22614 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22617 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22619 return Py_BuildValue((char *)"");
22621 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22622 PyObject
*resultobj
;
22623 wxFileDataObject
*result
;
22624 char *kwnames
[] = {
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 result
= (wxFileDataObject
*)new wxFileDataObject();
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22643 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22646 wxArrayString
*result
;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22658 result
= (wxArrayString
*) &_result_ref
;
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22665 resultobj
= wxArrayString2PyList_helper(*result
);
22673 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22676 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22678 return Py_BuildValue((char *)"");
22680 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22683 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22684 wxCustomDataObject
*result
;
22685 PyObject
* obj0
= 0 ;
22686 char *kwnames
[] = {
22687 (char *) "format", NULL
22690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22693 if (arg1
== NULL
) {
22694 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22711 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22714 PyObject
*arg2
= (PyObject
*) 0 ;
22715 PyObject
* obj0
= 0 ;
22716 PyObject
* obj1
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self",(char *) "data", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 wxCustomDataObject_TakeData(arg1
,arg2
);
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22731 Py_INCREF(Py_None
); resultobj
= Py_None
;
22738 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22739 PyObject
*resultobj
;
22740 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22741 PyObject
*arg2
= (PyObject
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "data", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= PyInt_FromLong((long)result
);
22766 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22770 PyObject
* obj0
= 0 ;
22771 char *kwnames
[] = {
22772 (char *) "self", NULL
22775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
22776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22779 result
= (size_t)(arg1
)->GetSize();
22781 wxPyEndAllowThreads(__tstate
);
22782 if (PyErr_Occurred()) SWIG_fail
;
22784 resultobj
= PyInt_FromLong((long)result
);
22791 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22793 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22795 PyObject
* obj0
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "self", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
22801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22804 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
22806 wxPyEndAllowThreads(__tstate
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22809 resultobj
= result
;
22816 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22819 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
22821 return Py_BuildValue((char *)"");
22823 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxURLDataObject
*result
;
22826 char *kwnames
[] = {
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (wxURLDataObject
*)new wxURLDataObject();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
22845 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 result
= (arg1
)->GetURL();
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22876 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22877 PyObject
*resultobj
;
22878 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22879 wxString
*arg2
= 0 ;
22880 bool temp2
= False
;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self",(char *) "url", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22890 arg2
= wxString_in_helper(obj1
);
22891 if (arg2
== NULL
) SWIG_fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 (arg1
)->SetURL((wxString
const &)*arg2
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 Py_INCREF(Py_None
); resultobj
= Py_None
;
22916 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22919 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
22921 return Py_BuildValue((char *)"");
22923 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxMetafileDataObject
*result
;
22926 char *kwnames
[] = {
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
22932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22933 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
22945 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22948 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
22950 return Py_BuildValue((char *)"");
22952 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22953 PyObject
*resultobj
;
22956 char *kwnames
[] = {
22957 (char *) "res", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= PyInt_FromLong((long)result
);
22975 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxWindow
*arg1
= (wxWindow
*) NULL
;
22978 wxIcon
const &arg2_defvalue
= wxNullIcon
;
22979 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
22980 wxIcon
const &arg3_defvalue
= wxNullIcon
;
22981 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
22982 wxIcon
const &arg4_defvalue
= wxNullIcon
;
22983 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
22984 wxPyDropSource
*result
;
22985 PyObject
* obj0
= 0 ;
22986 PyObject
* obj1
= 0 ;
22987 PyObject
* obj2
= 0 ;
22988 PyObject
* obj3
= 0 ;
22989 char *kwnames
[] = {
22990 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
22993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22999 if (arg2
== NULL
) {
23000 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23004 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23005 if (arg3
== NULL
) {
23006 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23010 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23011 if (arg4
== NULL
) {
23012 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23017 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23029 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23031 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23032 PyObject
*arg2
= (PyObject
*) 0 ;
23033 PyObject
*arg3
= (PyObject
*) 0 ;
23035 PyObject
* obj0
= 0 ;
23036 PyObject
* obj1
= 0 ;
23037 PyObject
* obj2
= 0 ;
23038 char *kwnames
[] = {
23039 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 Py_INCREF(Py_None
); resultobj
= Py_None
;
23060 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23087 wxDataObject
*arg2
= 0 ;
23088 PyObject
* obj0
= 0 ;
23089 PyObject
* obj1
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self",(char *) "data", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23097 if (arg2
== NULL
) {
23098 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23102 (arg1
)->SetData(*arg2
);
23104 wxPyEndAllowThreads(__tstate
);
23105 if (PyErr_Occurred()) SWIG_fail
;
23107 Py_INCREF(Py_None
); resultobj
= Py_None
;
23114 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
;
23116 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23117 wxDataObject
*result
;
23118 PyObject
* obj0
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23139 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23143 wxCursor
*arg3
= 0 ;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj2
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "res",(char *) "cursor", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23153 if (arg3
== NULL
) {
23154 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23170 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23173 int arg2
= (int) wxDrag_CopyOnly
;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self",(char *) "flags", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (int)(arg1
)->DoDragDrop(arg2
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= PyInt_FromLong((long)result
);
23196 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self",(char *) "effect", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= PyInt_FromLong((long)result
);
23222 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23225 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23227 return Py_BuildValue((char *)"");
23229 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23230 PyObject
*resultobj
;
23231 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23232 wxPyDropTarget
*result
;
23233 PyObject
* obj0
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "dataObject", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23256 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23257 PyObject
*resultobj
;
23258 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23259 PyObject
*arg2
= (PyObject
*) 0 ;
23260 PyObject
*arg3
= (PyObject
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 PyObject
* obj2
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "self",(char *) "_class", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23276 wxPyEndAllowThreads(__tstate
);
23277 if (PyErr_Occurred()) SWIG_fail
;
23279 Py_INCREF(Py_None
); resultobj
= Py_None
;
23286 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23289 PyObject
* obj0
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 Py_INCREF(Py_None
); resultobj
= Py_None
;
23310 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23313 wxDataObject
*result
;
23314 PyObject
* obj0
= 0 ;
23315 char *kwnames
[] = {
23316 (char *) "self", NULL
23319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23335 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23336 PyObject
*resultobj
;
23337 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23338 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23339 PyObject
* obj0
= 0 ;
23340 PyObject
* obj1
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "dataObject", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23347 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23350 (arg1
)->SetDataObject(arg2
);
23352 wxPyEndAllowThreads(__tstate
);
23353 if (PyErr_Occurred()) SWIG_fail
;
23355 Py_INCREF(Py_None
); resultobj
= Py_None
;
23362 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23363 PyObject
*resultobj
;
23364 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 char *kwnames
[] = {
23371 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23378 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= PyInt_FromLong((long)result
);
23390 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23391 PyObject
*resultobj
;
23392 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= PyInt_FromLong((long)result
);
23418 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 (arg1
)->base_OnLeave();
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 Py_INCREF(Py_None
); resultobj
= Py_None
;
23442 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23448 PyObject
* obj0
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self",(char *) "x",(char *) "y", NULL
23453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23459 wxPyEndAllowThreads(__tstate
);
23460 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= PyInt_FromLong((long)result
);
23469 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23470 PyObject
*resultobj
;
23471 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "self", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (bool)(arg1
)->GetData();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= PyInt_FromLong((long)result
);
23494 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23497 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23499 return Py_BuildValue((char *)"");
23501 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPyTextDropTarget
*result
;
23504 char *kwnames
[] = {
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23523 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23526 PyObject
*arg2
= (PyObject
*) 0 ;
23527 PyObject
*arg3
= (PyObject
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 PyObject
* obj2
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "self",(char *) "_class", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23553 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= PyInt_FromLong((long)result
);
23581 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23588 PyObject
* obj0
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= PyInt_FromLong((long)result
);
23609 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->base_OnLeave();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 Py_INCREF(Py_None
); resultobj
= Py_None
;
23633 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self",(char *) "x",(char *) "y", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23648 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23653 resultobj
= PyInt_FromLong((long)result
);
23660 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23661 PyObject
*resultobj
;
23662 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23667 PyObject
* obj0
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= PyInt_FromLong((long)result
);
23688 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23691 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23693 return Py_BuildValue((char *)"");
23695 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23696 PyObject
*resultobj
;
23697 wxPyFileDropTarget
*result
;
23698 char *kwnames
[] = {
23702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23717 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23720 PyObject
*arg2
= (PyObject
*) 0 ;
23721 PyObject
*arg3
= (PyObject
*) 0 ;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 PyObject
* obj2
= 0 ;
23725 char *kwnames
[] = {
23726 (char *) "self",(char *) "self",(char *) "_class", NULL
23729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 Py_INCREF(Py_None
); resultobj
= Py_None
;
23747 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= PyInt_FromLong((long)result
);
23775 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= PyInt_FromLong((long)result
);
23803 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
;
23805 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 char *kwnames
[] = {
23808 (char *) "self", NULL
23811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 (arg1
)->base_OnLeave();
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 Py_INCREF(Py_None
); resultobj
= Py_None
;
23827 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 char *kwnames
[] = {
23835 (char *) "self",(char *) "x",(char *) "y", NULL
23838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23847 resultobj
= PyInt_FromLong((long)result
);
23854 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= PyInt_FromLong((long)result
);
23882 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23885 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
23887 return Py_BuildValue((char *)"");
23889 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
;
23891 wxClipboard
*result
;
23892 char *kwnames
[] = {
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
23898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23899 result
= (wxClipboard
*)new wxClipboard();
23901 wxPyEndAllowThreads(__tstate
);
23902 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
23911 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 Py_INCREF(Py_None
); resultobj
= Py_None
;
23935 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
;
23937 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23939 PyObject
* obj0
= 0 ;
23940 char *kwnames
[] = {
23941 (char *) "self", NULL
23944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
23945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (bool)(arg1
)->Open();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= PyInt_FromLong((long)result
);
23960 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23963 PyObject
* obj0
= 0 ;
23964 char *kwnames
[] = {
23965 (char *) "self", NULL
23968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
23969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23974 wxPyEndAllowThreads(__tstate
);
23975 if (PyErr_Occurred()) SWIG_fail
;
23977 Py_INCREF(Py_None
); resultobj
= Py_None
;
23984 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23985 PyObject
*resultobj
;
23986 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= PyInt_FromLong((long)result
);
24009 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24012 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "data", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (bool)(arg1
)->AddData(arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= PyInt_FromLong((long)result
);
24037 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24040 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "data", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24050 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 result
= (bool)(arg1
)->SetData(arg2
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= PyInt_FromLong((long)result
);
24065 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24068 wxDataFormat
*arg2
= 0 ;
24070 PyObject
* obj0
= 0 ;
24071 PyObject
* obj1
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self",(char *) "format", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24078 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24079 if (arg2
== NULL
) {
24080 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= PyInt_FromLong((long)result
);
24096 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24099 wxDataObject
*arg2
= 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "data", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24110 if (arg2
== NULL
) {
24111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)(arg1
)->GetData(*arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= PyInt_FromLong((long)result
);
24127 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24128 PyObject
*resultobj
;
24129 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 char *kwnames
[] = {
24132 (char *) "self", NULL
24135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (bool)(arg1
)->Flush();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= PyInt_FromLong((long)result
);
24176 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24179 bool arg2
= (bool) False
;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "primary", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24189 arg2
= PyInt_AsLong(obj1
) ? true : false;
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->UsePrimarySelection(arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24209 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24211 return Py_BuildValue((char *)"");
24213 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24214 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24219 static PyObject
*_wrap_TheClipboard_get() {
24222 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24227 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24228 PyObject
*resultobj
;
24229 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24230 wxClipboardLocker
*result
;
24231 PyObject
* obj0
= 0 ;
24232 char *kwnames
[] = {
24233 (char *) "clipboard", NULL
24236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24254 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24255 PyObject
*resultobj
;
24256 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24257 PyObject
* obj0
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 Py_INCREF(Py_None
); resultobj
= Py_None
;
24278 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24282 PyObject
* obj0
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 resultobj
= PyInt_FromLong((long)result
);
24303 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24306 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24308 return Py_BuildValue((char *)"");
24310 static PyMethodDef SwigMethods
[] = {
24311 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24317 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24318 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24324 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24325 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24384 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24392 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24408 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24412 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24413 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24416 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24419 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24425 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24439 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24445 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24451 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24454 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24465 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24466 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24469 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24470 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24473 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24500 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24502 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24504 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24506 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24513 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24519 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"LogTrace", (PyCFunction
) _wrap_LogTrace
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"LogTraceMask", (PyCFunction
) _wrap_LogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24538 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24541 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24558 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24566 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24612 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24640 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24646 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24662 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24678 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24692 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24701 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24744 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
24748 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
24751 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
24754 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
24846 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
24847 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
24848 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
24849 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
24850 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
24851 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
24852 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
24853 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
24854 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
24855 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
24866 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
24911 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
24945 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
24953 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
24954 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
24959 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
24968 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
24972 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24974 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
24975 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
24978 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
24983 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
24986 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
24990 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24992 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
24993 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24995 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
24996 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25002 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25006 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25008 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25018 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25028 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25029 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25037 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25045 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25057 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25058 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25066 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25068 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25069 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25071 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25072 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25074 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25075 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25077 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25078 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25080 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25081 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25083 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25084 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25086 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25087 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25089 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25090 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25092 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25095 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25096 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25098 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25101 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25102 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25104 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25105 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25107 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25108 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25110 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25111 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25113 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25114 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25116 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25117 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25119 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25120 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25122 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25123 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25125 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25126 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25128 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25129 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25131 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25132 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25134 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25137 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25138 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25140 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25141 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25143 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25144 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25146 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25147 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25149 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25150 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25152 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25153 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25155 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25156 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25158 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25159 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25161 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25162 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25164 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25165 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25167 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25168 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25170 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25171 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25173 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25174 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25176 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25177 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25179 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25180 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25182 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25183 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25185 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25186 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25188 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25189 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25191 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25192 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25194 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25195 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25197 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25198 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25200 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25201 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25203 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25204 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25206 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25207 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25209 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25210 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25212 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25213 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25215 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25216 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25218 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25219 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25221 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25222 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25224 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25225 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25227 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25228 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25230 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25231 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25233 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25234 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25236 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25237 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25239 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25240 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25242 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25243 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25245 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25246 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25248 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25249 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25251 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25252 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25254 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25255 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25257 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25258 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25260 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25261 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25263 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25264 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25266 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25267 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25269 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25270 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25272 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25273 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25275 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25276 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25278 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25279 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25281 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25282 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25284 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25285 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25287 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25288 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25290 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25291 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25293 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25294 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25296 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25297 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25299 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25300 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25302 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25303 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25305 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25306 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25308 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25309 return (void *)((wxObject
*) ((wxSizer
*) x
));
25311 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25312 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25314 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25315 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25317 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25318 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25320 static void *_p_wxEventTo_p_wxObject(void *x
) {
25321 return (void *)((wxObject
*) ((wxEvent
*) x
));
25323 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25324 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25326 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25327 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25329 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25330 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25332 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25333 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25335 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25336 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25338 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25339 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25341 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25342 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25344 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25345 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25347 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25348 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25350 static void *_p_wxControlTo_p_wxObject(void *x
) {
25351 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25353 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25354 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25356 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25357 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25359 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25360 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25362 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25363 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25365 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25366 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25368 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25369 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25371 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25372 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25374 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25375 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25377 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25378 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25380 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25381 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25383 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25384 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25386 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25389 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25390 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25392 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25393 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25395 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25396 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25398 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25399 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25401 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25402 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25404 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25405 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25407 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25408 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25410 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25411 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25413 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25414 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25416 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25417 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25419 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25420 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25422 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25423 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25425 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25426 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25428 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25429 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25431 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25432 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25434 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25435 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25437 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25438 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25440 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25443 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25444 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25446 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
25447 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
25449 static void *_p_wxImageTo_p_wxObject(void *x
) {
25450 return (void *)((wxObject
*) ((wxImage
*) x
));
25452 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25453 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25455 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25456 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25458 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25459 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25461 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25462 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25464 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25465 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25467 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25468 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25470 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25471 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25473 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25474 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25476 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25477 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25479 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25480 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25482 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25483 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25485 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25486 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25488 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25489 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25491 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25492 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25494 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25495 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25497 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25498 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25500 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25501 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25503 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25504 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25506 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25507 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25509 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25510 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25512 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25513 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25515 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25516 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25518 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25521 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25522 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25524 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25525 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25527 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25528 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25530 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25531 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25533 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25534 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25536 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25537 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25539 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25540 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25542 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25543 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25545 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25546 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25548 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25549 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25551 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25552 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25554 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25555 return (void *)((wxWindow
*) ((wxControl
*) x
));
25557 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25558 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25560 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25561 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25563 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25564 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25566 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25567 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25569 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25570 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25571 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25572 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}};
25573 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25574 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25575 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}};
25576 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}};
25577 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25578 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25579 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25580 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25581 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25582 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25583 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25584 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25585 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25586 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25587 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25588 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25589 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25590 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25591 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25592 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25593 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25594 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25595 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25596 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25597 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25598 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25599 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25600 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}};
25601 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25602 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25603 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25604 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25605 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25606 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25607 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25608 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25609 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25610 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25611 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25612 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25613 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25614 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}};
25615 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}};
25616 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25617 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25618 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25619 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25620 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25621 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25622 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25623 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25624 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25625 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25626 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25627 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25628 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25629 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25630 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}};
25631 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25632 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25633 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25634 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}};
25635 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25636 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25637 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25638 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25639 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25640 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25641 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}};
25642 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25643 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25644 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25645 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25646 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25647 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25648 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25649 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25650 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25652 static swig_type_info
*swig_types_initial
[] = {
25653 _swigt__p_wxLogChain
,
25654 _swigt__p_wxMutexGuiLocker
,
25655 _swigt__p_wxFileHistory
,
25657 _swigt__p_wxDateTime__TimeZone
,
25660 _swigt__p_wxConfigBase
,
25662 _swigt__p_wxFileType
,
25663 _swigt__p_wxLogGui
,
25665 _swigt__p_wxDataFormat
,
25666 _swigt__p_wxTimerEvent
,
25670 _swigt__p_wxClipboard
,
25671 _swigt__p_wxStopWatch
,
25673 _swigt__p_wxClipboardLocker
,
25675 _swigt__p_wxLogStderr
,
25676 _swigt__p_wxLogTextCtrl
,
25677 _swigt__p_wxTextCtrl
,
25678 _swigt__p_wxBusyCursor
,
25679 _swigt__p_wxFileDataObject
,
25680 _swigt__p_wxPyBitmapDataObject
,
25681 _swigt__p_wxPyTextDataObject
,
25682 _swigt__p_wxBitmapDataObject
,
25683 _swigt__p_wxTextDataObject
,
25684 _swigt__p_wxDataObject
,
25685 _swigt__p_wxCustomDataObject
,
25686 _swigt__p_wxURLDataObject
,
25687 _swigt__p_wxMetafileDataObject
,
25688 _swigt__p_wxTimerRunner
,
25689 _swigt__p_wxLogWindow
,
25690 _swigt__p_wxTimeSpan
,
25691 _swigt__p_wxArrayString
,
25692 _swigt__p_wxWindowDisabler
,
25693 _swigt__p_wxToolTip
,
25694 _swigt__p_wxDataObjectComposite
,
25695 _swigt__p_wxFileConfig
,
25696 _swigt__p_wxSystemSettings
,
25697 _swigt__p_wxPyDataObjectSimple
,
25698 _swigt__p_wxDataObjectSimple
,
25699 _swigt__p_wxEvtHandler
,
25701 _swigt__p_wxSingleInstanceChecker
,
25702 _swigt__p_wxFileTypeInfo
,
25705 _swigt__p_wxMimeTypesManager
,
25706 _swigt__p_wxPyArtProvider
,
25707 _swigt__p_wxPyTipProvider
,
25708 _swigt__p_wxTipProvider
,
25709 _swigt__p_wxJoystick
,
25710 _swigt__p_wxSystemOptions
,
25712 _swigt__p_wxJoystickEvent
,
25713 _swigt__p_wxCursor
,
25714 _swigt__p_wxObject
,
25715 _swigt__p_wxOutputStream
,
25716 _swigt__p_wxDateTime
,
25717 _swigt__p_wxPyDropSource
,
25718 _swigt__p_wxWindow
,
25719 _swigt__p_wxString
,
25720 _swigt__p_wxPyProcess
,
25721 _swigt__p_wxBitmap
,
25722 _swigt__p_wxConfig
,
25724 _swigt__p_wxBusyInfo
,
25725 _swigt__p_wxPyDropTarget
,
25726 _swigt__p_wxPyTextDropTarget
,
25727 _swigt__p_wxPyFileDropTarget
,
25728 _swigt__p_wxProcessEvent
,
25730 _swigt__p_wxLogNull
,
25731 _swigt__p_wxColour
,
25732 _swigt__p_wxConfigPathChanger
,
25733 _swigt__p_wxPyTimer
,
25734 _swigt__p_wxDateSpan
,
25739 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25741 static swig_const_info swig_const_table
[] = {
25742 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25743 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25744 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25745 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25746 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
25747 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
25748 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
25749 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
25750 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
25751 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
25752 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
25753 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
25754 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
25755 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
25756 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
25757 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
25758 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
25759 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
25760 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
25761 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
25762 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
25763 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
25764 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
25765 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
25766 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
25767 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
25768 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
25769 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
25770 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
25771 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
25772 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
25773 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
25774 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
25775 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
25776 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
25777 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
25778 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
25779 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
25780 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
25781 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
25782 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
25783 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
25784 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
25785 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
25786 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
25787 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
25788 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
25789 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
25790 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
25791 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
25792 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
25793 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
25794 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
25795 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
25796 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
25797 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
25798 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
25799 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
25800 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
25801 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
25802 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
25803 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
25804 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
25805 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
25806 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
25807 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
25808 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
25809 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
25810 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
25811 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
25812 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
25813 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
25814 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
25815 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
25816 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
25817 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
25818 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
25819 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
25820 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
25821 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
25822 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
25823 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
25824 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
25825 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
25826 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
25827 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
25828 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
25829 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
25830 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
25831 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
25832 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
25833 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
25834 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
25835 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
25836 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
25837 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
25838 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
25839 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
25840 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
25841 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
25842 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
25843 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
25844 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
25845 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
25846 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
25847 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
25848 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
25849 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25850 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25851 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25852 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25853 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25854 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25855 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25856 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25857 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25858 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25859 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
25860 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
25861 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
25862 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
25863 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
25864 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
25865 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
25866 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
25867 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
25868 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
25869 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
25870 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
25871 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
25872 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
25873 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
25874 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
25875 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
25876 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
25877 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
25878 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
25879 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
25880 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
25881 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
25882 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
25883 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
25884 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
25885 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
25886 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
25887 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
25888 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
25889 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
25890 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
25891 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
25892 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
25893 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
25894 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
25895 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
25896 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
25897 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
25898 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
25899 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
25900 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
25901 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
25902 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
25903 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
25904 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
25905 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
25906 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
25907 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
25908 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
25909 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
25910 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
25911 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
25912 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
25913 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
25914 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
25915 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
25916 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
25917 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
25918 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
25919 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
25920 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
25921 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
25922 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
25923 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
25924 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
25925 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
25926 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
25927 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
25928 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
25929 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
25930 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
25931 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
25932 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
25933 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
25934 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
25935 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
25936 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
25937 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
25938 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
25939 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
25940 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
25941 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
25942 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
25943 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
25944 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
25945 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
25946 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
25947 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
25948 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
25949 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
25950 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
25951 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
25952 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
25953 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
25954 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
25955 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
25956 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
25957 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
25958 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
25959 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
25960 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
25961 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
25962 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
25963 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
25964 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
25965 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
25966 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
25967 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
25968 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
25969 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
25970 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
25971 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
25972 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
25973 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
25974 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
25975 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
25976 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
25977 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
25978 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
25979 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
25980 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
25981 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
25982 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
25983 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
25984 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
25985 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
25986 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
25987 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
25988 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
25989 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
25990 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
25991 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
25992 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
25993 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
25994 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
25995 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26109 SWIGEXPORT(void) SWIG_init(void) {
26110 static PyObject
*SWIG_globals
= 0;
26111 static int typeinit
= 0;
26114 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26115 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26116 d
= PyModule_GetDict(m
);
26119 for (i
= 0; swig_types_initial
[i
]; i
++) {
26120 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26124 SWIG_InstallConstants(d
,swig_const_table
);
26126 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26127 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26129 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26131 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26132 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26133 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26134 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26135 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26136 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26137 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26138 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26139 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26140 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26141 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26142 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26143 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26144 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26145 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26146 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26147 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26148 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26149 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26150 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26151 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26152 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26153 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26154 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26155 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26156 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26157 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26158 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26159 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26160 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26161 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26162 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26163 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26164 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26165 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26166 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26167 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26168 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26169 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26170 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26171 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26172 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26173 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26174 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26176 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26178 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26180 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26181 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26182 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26183 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26185 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);