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();
795 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
796 PyObject
* ret
= PyTuple_New(3);
798 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
799 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
800 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
805 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
810 cont
= self
->GetFirstGroup(value
, index
);
811 return __EnumerationHelper(cont
, value
, index
);
813 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
817 cont
= self
->GetNextGroup(value
, index
);
818 return __EnumerationHelper(cont
, value
, index
);
820 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
825 cont
= self
->GetFirstEntry(value
, index
);
826 return __EnumerationHelper(cont
, value
, index
);
828 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
832 cont
= self
->GetNextEntry(value
, index
);
833 return __EnumerationHelper(cont
, value
, index
);
835 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
837 self
->Read(key
, &rv
, defaultVal
);
840 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
842 self
->Read(key
, &rv
, defaultVal
);
845 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
847 self
->Read(key
, &rv
, defaultVal
);
851 #include <wx/datetime.h>
853 DECLARE_DEF_STRING2(DateFormatStr
, wxT("%c"));
854 DECLARE_DEF_STRING2(TimeSpanFormatStr
, wxT("%H:%M:%S"));
858 #define LOCAL_TZ wxDateTime::Local
860 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
861 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
862 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
863 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
864 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
865 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
< other
; }
866 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
<= other
; }
867 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
> other
; }
868 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
>= other
; }
869 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
== other
; }
870 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const &other
){ return *self
!= other
; }
871 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
873 const wxChar
* _date
= date
;
874 rv
= self
->ParseRfc822Date(_date
);
875 if (rv
== NULL
) return -1;
878 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
880 const wxChar
* _date
= date
;
881 rv
= self
->ParseFormat(_date
, format
, dateDef
);
882 if (rv
== NULL
) return -1;
885 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
887 const wxChar
* _datetime
= datetime
;
888 rv
= self
->ParseDateTime(_datetime
);
889 if (rv
== NULL
) return -1;
890 return rv
- _datetime
;
892 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
894 const wxChar
* _date
= date
;
895 rv
= self
->ParseDate(_date
);
896 if (rv
== NULL
) return -1;
899 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
901 const wxChar
* _time
= time
;
902 rv
= self
->ParseTime(_time
);
903 if (rv
== NULL
) return -1;
906 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
907 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
908 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
909 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
910 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
< other
; }
911 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
<= other
; }
912 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
> other
; }
913 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
>= other
; }
914 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
== other
; }
915 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
!= other
; }
916 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
917 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
918 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
919 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
920 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
== other
; }
921 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
!= other
; }
923 #include <wx/dataobj.h>
925 // Create a new class for wxPython to use
926 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
928 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
929 : wxDataObjectSimple(format
) {}
931 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
932 bool GetDataHere(void *buf
) const;
933 bool SetData(size_t len
, const void *buf
) const;
937 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
939 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
940 // We need to get the data for this object and write it to buf. I think
941 // the best way to do this for wxPython is to have the Python method
942 // return either a string or None and then act appropriately with the
946 wxPyBeginBlockThreads();
947 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
949 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
951 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
953 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
957 wxPyEndBlockThreads();
961 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
962 // For this one we simply need to make a string from buf and len
963 // and send it to the Python method.
965 wxPyBeginBlockThreads();
966 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
967 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
968 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
971 wxPyEndBlockThreads();
975 // Create a new class for wxPython to use
976 class wxPyTextDataObject
: public wxTextDataObject
{
978 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
979 : wxTextDataObject(text
) {}
981 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
982 DEC_PYCALLBACK_STRING__const(GetText
);
983 DEC_PYCALLBACK__STRING(SetText
);
987 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
988 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
989 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
992 // Create a new class for wxPython to use
993 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
995 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
996 : wxBitmapDataObject(bitmap
) {}
998 wxBitmap
GetBitmap() const;
999 void SetBitmap(const wxBitmap
& bitmap
);
1003 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1004 wxBitmap
* rval
= &wxNullBitmap
;
1005 wxPyBeginBlockThreads();
1006 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1009 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1011 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1016 wxPyEndBlockThreads();
1020 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1021 wxPyBeginBlockThreads();
1022 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1023 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1024 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1027 wxPyEndBlockThreads();
1030 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1031 if (PyString_Check(data
)) {
1032 // for Python we just call SetData here since we always need it to make a copy.
1033 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1036 // raise a TypeError if not a string
1037 PyErr_SetString(PyExc_TypeError
, "String expected.");
1040 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1041 if (PyString_Check(data
)) {
1042 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1045 // raise a TypeError if not a string
1046 PyErr_SetString(PyExc_TypeError
, "String expected.");
1050 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1051 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1054 class wxMetafileDataObject
: public wxDataObjectSimple
1057 wxMetafileDataObject() { PyErr_SetNone(PyExc_NotImplementedError
); }
1064 class wxPyDropSource
: public wxDropSource
{
1067 wxPyDropSource(wxWindow
*win
= NULL
,
1068 const wxCursor
©
= wxNullCursor
,
1069 const wxCursor
&move
= wxNullCursor
,
1070 const wxCursor
&none
= wxNullCursor
)
1071 : wxDropSource(win
, copy
, move
, none
) {}
1073 wxPyDropSource(wxWindow
*win
= NULL
,
1074 const wxIcon
& copy
= wxNullIcon
,
1075 const wxIcon
& move
= wxNullIcon
,
1076 const wxIcon
& none
= wxNullIcon
)
1077 : wxDropSource(win
, copy
, move
, none
) {}
1079 ~wxPyDropSource() { }
1081 DEC_PYCALLBACK_BOOL_DR(GiveFeedback
);
1085 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1089 class wxPyDropTarget
: public wxDropTarget
{
1091 wxPyDropTarget(wxDataObject
*dataObject
= NULL
)
1092 : wxDropTarget(dataObject
) {}
1094 // called when mouse leaves the window: might be used to remove the
1095 // feedback which was given in OnEnter()
1096 DEC_PYCALLBACK__(OnLeave
);
1098 // called when the mouse enters the window (only once until OnLeave())
1099 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1101 // called when the mouse moves in the window - shouldn't take long to
1102 // execute or otherwise mouse movement would be too slow
1103 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1105 // called after OnDrop() returns True: you will usually just call
1106 // GetData() from here and, probably, also refresh something to update the
1107 // new data and, finally, return the code indicating how did the operation
1108 // complete (returning default value in case of success and wxDragError on
1109 // failure is usually ok)
1110 DEC_PYCALLBACK_DR_2WXCDR_pure(OnData
);
1112 // this function is called when data is dropped at position (x, y) - if it
1113 // returns True, OnData() will be called immediately afterwards which will
1114 // allow to retrieve the data dropped.
1115 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1120 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1121 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1122 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1123 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1124 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1128 class wxPyTextDropTarget
: public wxTextDropTarget
{
1130 wxPyTextDropTarget() {}
1132 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1134 DEC_PYCALLBACK__(OnLeave
);
1135 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1136 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1137 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1138 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1143 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1144 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1145 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1146 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1147 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1148 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1152 class wxPyFileDropTarget
: public wxFileDropTarget
{
1154 wxPyFileDropTarget() {}
1156 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1158 DEC_PYCALLBACK__(OnLeave
);
1159 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1160 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1161 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1162 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1167 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1168 const wxArrayString
& filenames
) {
1170 wxPyBeginBlockThreads();
1171 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1172 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1173 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1176 wxPyEndBlockThreads();
1182 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1183 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1184 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1185 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1186 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1191 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1195 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1196 PyObject
*resultobj
;
1200 (char *) "index", NULL
1203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1206 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1208 wxPyEndAllowThreads(__tstate
);
1209 if (PyErr_Occurred()) SWIG_fail
;
1212 wxColour
* resultptr
;
1213 resultptr
= new wxColour((wxColour
&) result
);
1214 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1222 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1223 PyObject
*resultobj
;
1227 (char *) "index", NULL
1230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1233 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1235 wxPyEndAllowThreads(__tstate
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1240 resultptr
= new wxFont((wxFont
&) result
);
1241 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1249 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1250 PyObject
*resultobj
;
1254 (char *) "index", NULL
1257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1260 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1262 wxPyEndAllowThreads(__tstate
);
1263 if (PyErr_Occurred()) SWIG_fail
;
1265 resultobj
= PyInt_FromLong((long)result
);
1272 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1273 PyObject
*resultobj
;
1277 (char *) "index", NULL
1280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1283 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1285 wxPyEndAllowThreads(__tstate
);
1286 if (PyErr_Occurred()) SWIG_fail
;
1288 resultobj
= PyInt_FromLong((long)result
);
1295 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1296 PyObject
*resultobj
;
1302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1305 result
= (int)wxSystemSettings::GetScreenType();
1307 wxPyEndAllowThreads(__tstate
);
1308 if (PyErr_Occurred()) SWIG_fail
;
1310 resultobj
= PyInt_FromLong((long)result
);
1317 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1321 (char *) "screen", NULL
1324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1327 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1329 wxPyEndAllowThreads(__tstate
);
1330 if (PyErr_Occurred()) SWIG_fail
;
1332 Py_INCREF(Py_None
); resultobj
= Py_None
;
1339 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1341 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1342 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1344 return Py_BuildValue((char *)"");
1346 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1347 PyObject
*resultobj
;
1348 wxSystemOptions
*result
;
1353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1356 result
= (wxSystemOptions
*)new wxSystemOptions();
1358 wxPyEndAllowThreads(__tstate
);
1359 if (PyErr_Occurred()) SWIG_fail
;
1361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1368 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1369 PyObject
*resultobj
;
1370 wxString
*arg1
= 0 ;
1371 wxString
*arg2
= 0 ;
1372 bool temp1
= False
;
1373 bool temp2
= False
;
1374 PyObject
* obj0
= 0 ;
1375 PyObject
* obj1
= 0 ;
1377 (char *) "name",(char *) "value", NULL
1380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1382 arg1
= wxString_in_helper(obj0
);
1383 if (arg1
== NULL
) SWIG_fail
;
1387 arg2
= wxString_in_helper(obj1
);
1388 if (arg2
== NULL
) SWIG_fail
;
1392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1393 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1395 wxPyEndAllowThreads(__tstate
);
1396 if (PyErr_Occurred()) SWIG_fail
;
1398 Py_INCREF(Py_None
); resultobj
= Py_None
;
1421 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxString
*arg1
= 0 ;
1425 bool temp1
= False
;
1426 PyObject
* obj0
= 0 ;
1428 (char *) "name",(char *) "value", NULL
1431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1433 arg1
= wxString_in_helper(obj0
);
1434 if (arg1
== NULL
) SWIG_fail
;
1438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1439 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1441 wxPyEndAllowThreads(__tstate
);
1442 if (PyErr_Occurred()) SWIG_fail
;
1444 Py_INCREF(Py_None
); resultobj
= Py_None
;
1459 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 wxString
*arg1
= 0 ;
1463 bool temp1
= False
;
1464 PyObject
* obj0
= 0 ;
1466 (char *) "name", NULL
1469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1471 arg1
= wxString_in_helper(obj0
);
1472 if (arg1
== NULL
) SWIG_fail
;
1476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1477 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1479 wxPyEndAllowThreads(__tstate
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1503 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1504 PyObject
*resultobj
;
1505 wxString
*arg1
= 0 ;
1507 bool temp1
= False
;
1508 PyObject
* obj0
= 0 ;
1510 (char *) "name", NULL
1513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1515 arg1
= wxString_in_helper(obj0
);
1516 if (arg1
== NULL
) SWIG_fail
;
1520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1521 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1523 wxPyEndAllowThreads(__tstate
);
1524 if (PyErr_Occurred()) SWIG_fail
;
1526 resultobj
= PyInt_FromLong((long)result
);
1541 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1542 PyObject
*resultobj
;
1543 wxString
*arg1
= 0 ;
1545 bool temp1
= False
;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "name", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1553 arg1
= wxString_in_helper(obj0
);
1554 if (arg1
== NULL
) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 resultobj
= PyInt_FromLong((long)result
);
1579 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1582 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1584 return Py_BuildValue((char *)"");
1586 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1587 PyObject
*resultobj
;
1593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (long)wxNewId();
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1601 resultobj
= PyInt_FromLong((long)result
);
1608 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1623 Py_INCREF(Py_None
); resultobj
= Py_None
;
1630 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
*resultobj
;
1637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1640 result
= (long)wxGetCurrentId();
1642 wxPyEndAllowThreads(__tstate
);
1643 if (PyErr_Occurred()) SWIG_fail
;
1645 resultobj
= PyInt_FromLong((long)result
);
1652 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1673 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
*resultobj
;
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 Py_INCREF(Py_None
); resultobj
= Py_None
;
1694 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1695 PyObject
*resultobj
;
1696 bool arg1
= (bool) True
;
1698 PyObject
* obj0
= 0 ;
1700 (char *) "resetTimer", NULL
1703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1705 arg1
= PyInt_AsLong(obj0
) ? true : false;
1706 if (PyErr_Occurred()) SWIG_fail
;
1709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1710 result
= (long)wxGetElapsedTime(arg1
);
1712 wxPyEndAllowThreads(__tstate
);
1713 if (PyErr_Occurred()) SWIG_fail
;
1715 resultobj
= PyInt_FromLong((long)result
);
1722 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1723 PyObject
*resultobj
;
1724 int *arg1
= (int *) 0 ;
1725 int *arg2
= (int *) 0 ;
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1737 wxGetMousePosition(arg1
,arg2
);
1739 wxPyEndAllowThreads(__tstate
);
1740 if (PyErr_Occurred()) SWIG_fail
;
1742 Py_INCREF(Py_None
); resultobj
= Py_None
;
1744 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1745 resultobj
= t_output_helper(resultobj
,o
);
1748 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1749 resultobj
= t_output_helper(resultobj
,o
);
1757 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1758 PyObject
*resultobj
;
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1767 result
= (bool)wxIsBusy();
1769 wxPyEndAllowThreads(__tstate
);
1770 if (PyErr_Occurred()) SWIG_fail
;
1772 resultobj
= PyInt_FromLong((long)result
);
1779 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1780 PyObject
*resultobj
;
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1807 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1810 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1812 bool temp1
= False
;
1813 PyObject
* obj0
= 0 ;
1815 (char *) "command", NULL
1818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1821 arg1
= wxString_in_helper(obj0
);
1822 if (arg1
== NULL
) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 result
= (bool)wxShell((wxString
const &)*arg1
);
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 resultobj
= PyInt_FromLong((long)result
);
1848 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1849 PyObject
*resultobj
;
1854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1859 wxPyEndAllowThreads(__tstate
);
1860 if (PyErr_Occurred()) SWIG_fail
;
1862 Py_INCREF(Py_None
); resultobj
= Py_None
;
1869 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
*resultobj
;
1871 int *arg1
= (int *) 0 ;
1872 int *arg2
= (int *) 0 ;
1882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1885 result
= (int)wxGetOsVersion(arg1
,arg2
);
1887 wxPyEndAllowThreads(__tstate
);
1888 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= PyInt_FromLong((long)result
);
1892 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1893 resultobj
= t_output_helper(resultobj
,o
);
1896 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1897 resultobj
= t_output_helper(resultobj
,o
);
1905 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1915 result
= wxGetOsDescription();
1917 wxPyEndAllowThreads(__tstate
);
1918 if (PyErr_Occurred()) SWIG_fail
;
1922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1933 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1943 result
= (long)wxGetFreeMemory();
1945 wxPyEndAllowThreads(__tstate
);
1946 if (PyErr_Occurred()) SWIG_fail
;
1948 resultobj
= PyInt_FromLong((long)result
);
1955 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1960 (char *) "wFlags", NULL
1963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1966 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1968 wxPyEndAllowThreads(__tstate
);
1969 if (PyErr_Occurred()) SWIG_fail
;
1971 resultobj
= PyInt_FromLong((long)result
);
1978 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1982 (char *) "secs", NULL
1985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 unsigned long arg1
;
2003 PyObject
* obj0
= 0 ;
2005 (char *) "milliseconds", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2009 arg1
= (unsigned long) PyInt_AsLong(obj0
);
2010 if (PyErr_Occurred()) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 Py_INCREF(Py_None
); resultobj
= Py_None
;
2025 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2028 PyObject
* obj0
= 0 ;
2030 (char *) "enable", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2034 arg1
= PyInt_AsLong(obj0
) ? true : false;
2035 if (PyErr_Occurred()) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 wxEnableTopLevelWindows(arg1
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 Py_INCREF(Py_None
); resultobj
= Py_None
;
2050 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 wxString
*arg1
= 0 ;
2054 bool temp1
= False
;
2055 PyObject
* obj0
= 0 ;
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2062 arg1
= wxString_in_helper(obj0
);
2063 if (arg1
== NULL
) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2068 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2094 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2095 PyObject
*resultobj
;
2101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2104 result
= wxGetEmailAddress();
2106 wxPyEndAllowThreads(__tstate
);
2107 if (PyErr_Occurred()) SWIG_fail
;
2111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2122 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2123 PyObject
*resultobj
;
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2132 result
= wxGetHostName();
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2139 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2141 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2150 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2160 result
= wxGetFullHostName();
2162 wxPyEndAllowThreads(__tstate
);
2163 if (PyErr_Occurred()) SWIG_fail
;
2167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2178 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2179 PyObject
*resultobj
;
2185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2188 result
= wxGetUserId();
2190 wxPyEndAllowThreads(__tstate
);
2191 if (PyErr_Occurred()) SWIG_fail
;
2195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2206 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2207 PyObject
*resultobj
;
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2216 result
= wxGetUserName();
2218 wxPyEndAllowThreads(__tstate
);
2219 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2234 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 result
= wxGetHomeDir();
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2262 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2265 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2267 bool temp1
= False
;
2268 PyObject
* obj0
= 0 ;
2270 (char *) "user", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2276 arg1
= wxString_in_helper(obj0
);
2277 if (arg1
== NULL
) SWIG_fail
;
2282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2283 result
= wxGetUserHome((wxString
const &)*arg1
);
2285 wxPyEndAllowThreads(__tstate
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2309 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2311 unsigned long result
;
2316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2319 result
= (unsigned long)wxGetProcessId();
2321 wxPyEndAllowThreads(__tstate
);
2322 if (PyErr_Occurred()) SWIG_fail
;
2324 resultobj
= PyInt_FromLong((long)result
);
2331 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 Py_INCREF(Py_None
); resultobj
= Py_None
;
2352 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2355 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2356 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2357 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2358 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2359 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2360 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2361 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2362 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2363 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2364 int arg6
= (int) 0 ;
2365 wxWindow
*arg7
= (wxWindow
*) NULL
;
2366 int arg8
= (int) -1 ;
2367 int arg9
= (int) -1 ;
2369 bool temp1
= False
;
2370 bool temp2
= False
;
2371 bool temp3
= False
;
2372 bool temp4
= False
;
2373 bool temp5
= False
;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2376 PyObject
* obj2
= 0 ;
2377 PyObject
* obj3
= 0 ;
2378 PyObject
* obj4
= 0 ;
2379 PyObject
* obj6
= 0 ;
2381 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2387 arg1
= wxString_in_helper(obj0
);
2388 if (arg1
== NULL
) SWIG_fail
;
2394 arg2
= wxString_in_helper(obj1
);
2395 if (arg2
== NULL
) SWIG_fail
;
2401 arg3
= wxString_in_helper(obj2
);
2402 if (arg3
== NULL
) SWIG_fail
;
2408 arg4
= wxString_in_helper(obj3
);
2409 if (arg4
== NULL
) SWIG_fail
;
2415 arg5
= wxString_in_helper(obj4
);
2416 if (arg5
== NULL
) SWIG_fail
;
2421 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2425 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2427 wxPyEndAllowThreads(__tstate
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2432 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2434 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2483 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxString
*arg1
= 0 ;
2486 wxString
*arg2
= 0 ;
2487 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2488 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2489 wxWindow
*arg4
= (wxWindow
*) NULL
;
2491 bool temp1
= False
;
2492 bool temp2
= False
;
2493 bool temp3
= False
;
2494 PyObject
* obj0
= 0 ;
2495 PyObject
* obj1
= 0 ;
2496 PyObject
* obj2
= 0 ;
2497 PyObject
* obj3
= 0 ;
2499 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2504 arg1
= wxString_in_helper(obj0
);
2505 if (arg1
== NULL
) SWIG_fail
;
2509 arg2
= wxString_in_helper(obj1
);
2510 if (arg2
== NULL
) SWIG_fail
;
2515 arg3
= wxString_in_helper(obj2
);
2516 if (arg3
== NULL
) SWIG_fail
;
2521 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2527 wxPyEndAllowThreads(__tstate
);
2528 if (PyErr_Occurred()) SWIG_fail
;
2532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2567 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2568 PyObject
*resultobj
;
2569 wxString
*arg1
= 0 ;
2570 wxString
*arg2
= 0 ;
2571 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2572 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2573 wxWindow
*arg4
= (wxWindow
*) NULL
;
2575 bool temp1
= False
;
2576 bool temp2
= False
;
2577 bool temp3
= False
;
2578 PyObject
* obj0
= 0 ;
2579 PyObject
* obj1
= 0 ;
2580 PyObject
* obj2
= 0 ;
2581 PyObject
* obj3
= 0 ;
2583 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2588 arg1
= wxString_in_helper(obj0
);
2589 if (arg1
== NULL
) SWIG_fail
;
2593 arg2
= wxString_in_helper(obj1
);
2594 if (arg2
== NULL
) SWIG_fail
;
2599 arg3
= wxString_in_helper(obj2
);
2600 if (arg3
== NULL
) SWIG_fail
;
2605 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2609 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2611 wxPyEndAllowThreads(__tstate
);
2612 if (PyErr_Occurred()) SWIG_fail
;
2616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2651 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2652 PyObject
*resultobj
;
2653 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2654 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2655 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2656 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2657 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2658 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2659 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2660 wxWindow
*arg5
= (wxWindow
*) NULL
;
2662 bool temp1
= False
;
2663 bool temp2
= False
;
2665 PyObject
* obj0
= 0 ;
2666 PyObject
* obj1
= 0 ;
2667 PyObject
* obj3
= 0 ;
2668 PyObject
* obj4
= 0 ;
2670 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2676 arg1
= wxString_in_helper(obj0
);
2677 if (arg1
== NULL
) SWIG_fail
;
2683 arg2
= wxString_in_helper(obj1
);
2684 if (arg2
== NULL
) SWIG_fail
;
2691 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2695 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2699 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2701 wxPyEndAllowThreads(__tstate
);
2702 if (PyErr_Occurred()) SWIG_fail
;
2706 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2708 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2733 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxString
*arg1
= 0 ;
2736 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2737 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2738 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2739 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2740 wxWindow
*arg4
= (wxWindow
*) NULL
;
2741 int arg5
= (int) -1 ;
2742 int arg6
= (int) -1 ;
2743 bool arg7
= (bool) True
;
2745 bool temp1
= False
;
2746 bool temp2
= False
;
2747 bool temp3
= False
;
2748 PyObject
* obj0
= 0 ;
2749 PyObject
* obj1
= 0 ;
2750 PyObject
* obj2
= 0 ;
2751 PyObject
* obj3
= 0 ;
2752 PyObject
* obj6
= 0 ;
2754 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2759 arg1
= wxString_in_helper(obj0
);
2760 if (arg1
== NULL
) SWIG_fail
;
2765 arg2
= wxString_in_helper(obj1
);
2766 if (arg2
== NULL
) SWIG_fail
;
2772 arg3
= wxString_in_helper(obj2
);
2773 if (arg3
== NULL
) SWIG_fail
;
2778 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2781 arg7
= PyInt_AsLong(obj6
) ? true : false;
2782 if (PyErr_Occurred()) SWIG_fail
;
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2786 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2793 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2795 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2828 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2829 PyObject
*resultobj
;
2830 wxString
*arg1
= 0 ;
2831 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2832 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2833 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2835 wxWindow
*arg4
= (wxWindow
*) NULL
;
2837 bool temp1
= False
;
2838 bool temp2
= False
;
2839 bool temp3
= False
;
2840 PyObject
* obj0
= 0 ;
2841 PyObject
* obj1
= 0 ;
2842 PyObject
* obj2
= 0 ;
2843 PyObject
* obj3
= 0 ;
2845 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2850 arg1
= wxString_in_helper(obj0
);
2851 if (arg1
== NULL
) SWIG_fail
;
2856 arg2
= wxString_in_helper(obj1
);
2857 if (arg2
== NULL
) SWIG_fail
;
2863 arg3
= wxString_in_helper(obj2
);
2864 if (arg3
== NULL
) SWIG_fail
;
2869 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2873 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2875 wxPyEndAllowThreads(__tstate
);
2876 if (PyErr_Occurred()) SWIG_fail
;
2880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2915 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxString
*arg1
= 0 ;
2918 wxString
*arg2
= 0 ;
2920 wxString
*arg4
= (wxString
*) 0 ;
2921 wxWindow
*arg5
= (wxWindow
*) NULL
;
2922 int arg6
= (int) -1 ;
2923 int arg7
= (int) -1 ;
2924 bool arg8
= (bool) True
;
2925 int arg9
= (int) 150 ;
2926 int arg10
= (int) 200 ;
2928 bool temp1
= False
;
2929 bool temp2
= False
;
2930 PyObject
* obj0
= 0 ;
2931 PyObject
* obj1
= 0 ;
2932 PyObject
* obj2
= 0 ;
2933 PyObject
* obj3
= 0 ;
2934 PyObject
* obj6
= 0 ;
2936 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2941 arg1
= wxString_in_helper(obj0
);
2942 if (arg1
== NULL
) SWIG_fail
;
2946 arg2
= wxString_in_helper(obj1
);
2947 if (arg2
== NULL
) SWIG_fail
;
2951 arg3
= PyList_Size(obj2
);
2952 arg4
= wxString_LIST_helper(obj2
);
2953 if (arg4
== NULL
) SWIG_fail
;
2956 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2959 arg8
= PyInt_AsLong(obj6
) ? true : false;
2960 if (PyErr_Occurred()) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2985 if (arg4
) delete [] arg4
;
2998 if (arg4
) delete [] arg4
;
3004 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3005 PyObject
*resultobj
;
3006 wxString
*arg1
= 0 ;
3007 wxString
*arg2
= 0 ;
3009 wxString
*arg4
= (wxString
*) 0 ;
3010 wxWindow
*arg5
= (wxWindow
*) NULL
;
3011 int arg6
= (int) -1 ;
3012 int arg7
= (int) -1 ;
3013 bool arg8
= (bool) True
;
3014 int arg9
= (int) 150 ;
3015 int arg10
= (int) 200 ;
3017 bool temp1
= False
;
3018 bool temp2
= False
;
3019 PyObject
* obj0
= 0 ;
3020 PyObject
* obj1
= 0 ;
3021 PyObject
* obj2
= 0 ;
3022 PyObject
* obj3
= 0 ;
3023 PyObject
* obj6
= 0 ;
3025 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
3030 arg1
= wxString_in_helper(obj0
);
3031 if (arg1
== NULL
) SWIG_fail
;
3035 arg2
= wxString_in_helper(obj1
);
3036 if (arg2
== NULL
) SWIG_fail
;
3040 arg3
= PyList_Size(obj2
);
3041 arg4
= wxString_LIST_helper(obj2
);
3042 if (arg4
== NULL
) SWIG_fail
;
3045 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3048 arg8
= PyInt_AsLong(obj6
) ? true : false;
3049 if (PyErr_Occurred()) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3058 resultobj
= PyInt_FromLong((long)result
);
3068 if (arg4
) delete [] arg4
;
3081 if (arg4
) delete [] arg4
;
3087 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3088 PyObject
*resultobj
;
3089 wxString
*arg1
= 0 ;
3090 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3091 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3092 int arg3
= (int) wxOK
|wxCENTRE
;
3093 wxWindow
*arg4
= (wxWindow
*) NULL
;
3094 int arg5
= (int) -1 ;
3095 int arg6
= (int) -1 ;
3097 bool temp1
= False
;
3098 bool temp2
= False
;
3099 PyObject
* obj0
= 0 ;
3100 PyObject
* obj1
= 0 ;
3101 PyObject
* obj3
= 0 ;
3103 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3108 arg1
= wxString_in_helper(obj0
);
3109 if (arg1
== NULL
) SWIG_fail
;
3114 arg2
= wxString_in_helper(obj1
);
3115 if (arg2
== NULL
) SWIG_fail
;
3120 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3124 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3126 wxPyEndAllowThreads(__tstate
);
3127 if (PyErr_Occurred()) SWIG_fail
;
3129 resultobj
= PyInt_FromLong((long)result
);
3152 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxString
*arg1
= 0 ;
3155 wxString
*arg2
= 0 ;
3156 wxString
*arg3
= 0 ;
3158 long arg5
= (long) 0 ;
3159 long arg6
= (long) 100 ;
3160 wxWindow
*arg7
= (wxWindow
*) NULL
;
3161 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3162 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3164 bool temp1
= False
;
3165 bool temp2
= False
;
3166 bool temp3
= False
;
3168 PyObject
* obj0
= 0 ;
3169 PyObject
* obj1
= 0 ;
3170 PyObject
* obj2
= 0 ;
3171 PyObject
* obj6
= 0 ;
3172 PyObject
* obj7
= 0 ;
3174 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3179 arg1
= wxString_in_helper(obj0
);
3180 if (arg1
== NULL
) SWIG_fail
;
3184 arg2
= wxString_in_helper(obj1
);
3185 if (arg2
== NULL
) SWIG_fail
;
3189 arg3
= wxString_in_helper(obj2
);
3190 if (arg3
== NULL
) SWIG_fail
;
3194 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3199 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3204 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3206 wxPyEndAllowThreads(__tstate
);
3207 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= PyInt_FromLong((long)result
);
3240 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3241 PyObject
*resultobj
;
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 result
= (bool)wxColourDisplay();
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3255 resultobj
= PyInt_FromLong((long)result
);
3262 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3263 PyObject
*resultobj
;
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 result
= (int)wxDisplayDepth();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 resultobj
= PyInt_FromLong((long)result
);
3284 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 result
= (int)wxGetDisplayDepth();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= PyInt_FromLong((long)result
);
3306 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 int *arg1
= (int *) 0 ;
3309 int *arg2
= (int *) 0 ;
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3321 wxDisplaySize(arg1
,arg2
);
3323 wxPyEndAllowThreads(__tstate
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 Py_INCREF(Py_None
); resultobj
= Py_None
;
3328 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3329 resultobj
= t_output_helper(resultobj
,o
);
3332 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3333 resultobj
= t_output_helper(resultobj
,o
);
3341 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 result
= wxGetDisplaySize();
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3358 resultptr
= new wxSize((wxSize
&) result
);
3359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3367 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 int *arg1
= (int *) 0 ;
3370 int *arg2
= (int *) 0 ;
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 wxDisplaySizeMM(arg1
,arg2
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3389 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3390 resultobj
= t_output_helper(resultobj
,o
);
3393 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3394 resultobj
= t_output_helper(resultobj
,o
);
3402 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 result
= wxGetDisplaySizeMM();
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3419 resultptr
= new wxSize((wxSize
&) result
);
3420 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3428 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 int *arg1
= (int *) 0 ;
3431 int *arg2
= (int *) 0 ;
3432 int *arg3
= (int *) 0 ;
3433 int *arg4
= (int *) 0 ;
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 Py_INCREF(Py_None
); resultobj
= Py_None
;
3456 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3457 resultobj
= t_output_helper(resultobj
,o
);
3460 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3461 resultobj
= t_output_helper(resultobj
,o
);
3464 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3465 resultobj
= t_output_helper(resultobj
,o
);
3468 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3469 resultobj
= t_output_helper(resultobj
,o
);
3477 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3487 result
= wxGetClientDisplayRect();
3489 wxPyEndAllowThreads(__tstate
);
3490 if (PyErr_Occurred()) SWIG_fail
;
3494 resultptr
= new wxRect((wxRect
&) result
);
3495 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3503 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxCursor
*arg1
= 0 ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "cursor", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3523 Py_INCREF(Py_None
); resultobj
= Py_None
;
3530 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3531 PyObject
*resultobj
;
3532 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3533 PyObject
* obj0
= 0 ;
3535 (char *) "cursor", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 wxBeginBusyCursor(arg1
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 result
= (wxWindow
*)wxGetActiveWindow();
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3572 resultobj
= wxPyMake_wxObject(result
);
3580 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3585 PyObject
* obj0
= 0 ;
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3593 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3597 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3599 wxPyEndAllowThreads(__tstate
);
3600 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= wxPyMake_wxObject(result
);
3611 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3612 PyObject
*resultobj
;
3616 PyObject
* obj0
= 0 ;
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3624 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 resultobj
= wxPyMake_wxObject(result
);
3642 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxWindow
*arg1
= (wxWindow
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3648 (char *) "win", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3661 resultobj
= wxPyMake_wxObject(result
);
3669 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3670 PyObject
*resultobj
;
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 wxWakeUpMainThread();
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3725 Py_INCREF(Py_None
); resultobj
= Py_None
;
3732 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3733 PyObject
*resultobj
;
3734 wxMutexGuiLocker
*result
;
3739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3742 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3744 wxPyEndAllowThreads(__tstate
);
3745 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3754 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3755 PyObject
*resultobj
;
3756 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "self", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 Py_INCREF(Py_None
); resultobj
= Py_None
;
3778 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3781 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3783 return Py_BuildValue((char *)"");
3785 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3795 result
= (bool)wxThread_IsMain();
3797 wxPyEndAllowThreads(__tstate
);
3798 if (PyErr_Occurred()) SWIG_fail
;
3800 resultobj
= PyInt_FromLong((long)result
);
3807 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxString
*arg1
= 0 ;
3811 bool temp1
= False
;
3812 PyObject
* obj0
= 0 ;
3814 (char *) "tip", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3819 arg1
= wxString_in_helper(obj0
);
3820 if (arg1
== NULL
) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3831 resultobj
= wxPyMake_wxObject(result
);
3847 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3850 wxString
*arg2
= 0 ;
3851 bool temp2
= False
;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3855 (char *) "self",(char *) "tip", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3861 arg2
= wxString_in_helper(obj1
);
3862 if (arg2
== NULL
) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 (arg1
)->SetTip((wxString
const &)*arg2
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 Py_INCREF(Py_None
); resultobj
= Py_None
;
3887 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 result
= (arg1
)->GetTip();
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3918 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3920 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3922 PyObject
* obj0
= 0 ;
3924 (char *) "self", NULL
3927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 result
= (wxWindow
*)(arg1
)->GetWindow();
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3937 resultobj
= wxPyMake_wxObject(result
);
3945 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "flag", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3954 arg1
= PyInt_AsLong(obj0
) ? true : false;
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 wxToolTip::Enable(arg1
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3974 (char *) "milliseconds", NULL
3977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3980 wxToolTip::SetDelay(arg1
);
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 Py_INCREF(Py_None
); resultobj
= Py_None
;
3992 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
3994 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3995 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
3997 return Py_BuildValue((char *)"");
3999 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4000 PyObject
*resultobj
;
4001 wxWindow
*arg1
= (wxWindow
*) 0 ;
4005 PyObject
* obj0
= 0 ;
4006 PyObject
* obj1
= 0 ;
4008 (char *) "window",(char *) "size", NULL
4011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4015 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
4031 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxCaret
*arg1
= (wxCaret
*) 0 ;
4034 PyObject
* obj0
= 0 ;
4036 (char *) "self", NULL
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 Py_INCREF(Py_None
); resultobj
= Py_None
;
4055 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxCaret
*arg1
= (wxCaret
*) 0 ;
4059 PyObject
* obj0
= 0 ;
4061 (char *) "self", NULL
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 result
= (bool)(arg1
)->IsOk();
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 resultobj
= PyInt_FromLong((long)result
);
4080 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4081 PyObject
*resultobj
;
4082 wxCaret
*arg1
= (wxCaret
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4086 (char *) "self", NULL
4089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4093 result
= (bool)(arg1
)->IsVisible();
4095 wxPyEndAllowThreads(__tstate
);
4096 if (PyErr_Occurred()) SWIG_fail
;
4098 resultobj
= PyInt_FromLong((long)result
);
4105 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4106 PyObject
*resultobj
;
4107 wxCaret
*arg1
= (wxCaret
*) 0 ;
4109 PyObject
* obj0
= 0 ;
4111 (char *) "self", NULL
4114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (arg1
)->GetPosition();
4120 wxPyEndAllowThreads(__tstate
);
4121 if (PyErr_Occurred()) SWIG_fail
;
4124 wxPoint
* resultptr
;
4125 resultptr
= new wxPoint((wxPoint
&) result
);
4126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4134 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4135 PyObject
*resultobj
;
4136 wxCaret
*arg1
= (wxCaret
*) 0 ;
4137 int *arg2
= (int *) 0 ;
4138 int *arg3
= (int *) 0 ;
4141 PyObject
* obj0
= 0 ;
4143 (char *) "self", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 (arg1
)->GetPosition(arg2
,arg3
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4157 Py_INCREF(Py_None
); resultobj
= Py_None
;
4159 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4160 resultobj
= t_output_helper(resultobj
,o
);
4163 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4164 resultobj
= t_output_helper(resultobj
,o
);
4172 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxCaret
*arg1
= (wxCaret
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4178 (char *) "self", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 result
= (arg1
)->GetSize();
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4192 resultptr
= new wxSize((wxSize
&) result
);
4193 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4201 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4202 PyObject
*resultobj
;
4203 wxCaret
*arg1
= (wxCaret
*) 0 ;
4204 int *arg2
= (int *) 0 ;
4205 int *arg3
= (int *) 0 ;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 (arg1
)->GetSize(arg2
,arg3
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 Py_INCREF(Py_None
); resultobj
= Py_None
;
4226 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4227 resultobj
= t_output_helper(resultobj
,o
);
4230 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4231 resultobj
= t_output_helper(resultobj
,o
);
4239 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxCaret
*arg1
= (wxCaret
*) 0 ;
4243 PyObject
* obj0
= 0 ;
4245 (char *) "self", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 result
= (wxWindow
*)(arg1
)->GetWindow();
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4258 resultobj
= wxPyMake_wxObject(result
);
4266 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4267 PyObject
*resultobj
;
4268 wxCaret
*arg1
= (wxCaret
*) 0 ;
4271 PyObject
* obj0
= 0 ;
4273 (char *) "self",(char *) "x",(char *) "y", NULL
4276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 (arg1
)->Move(arg2
,arg3
);
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4285 Py_INCREF(Py_None
); resultobj
= Py_None
;
4292 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4293 PyObject
*resultobj
;
4294 wxCaret
*arg1
= (wxCaret
*) 0 ;
4297 PyObject
* obj0
= 0 ;
4298 PyObject
* obj1
= 0 ;
4300 (char *) "self",(char *) "pt", NULL
4303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4307 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4311 (arg1
)->Move((wxPoint
const &)*arg2
);
4313 wxPyEndAllowThreads(__tstate
);
4314 if (PyErr_Occurred()) SWIG_fail
;
4316 Py_INCREF(Py_None
); resultobj
= Py_None
;
4323 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4324 PyObject
*resultobj
;
4325 wxCaret
*arg1
= (wxCaret
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4330 (char *) "self",(char *) "width",(char *) "height", NULL
4333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4337 (arg1
)->SetSize(arg2
,arg3
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 Py_INCREF(Py_None
); resultobj
= Py_None
;
4349 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
;
4351 wxCaret
*arg1
= (wxCaret
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "size", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4364 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4368 (arg1
)->SetSize((wxSize
const &)*arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 Py_INCREF(Py_None
); resultobj
= Py_None
;
4380 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
;
4382 wxCaret
*arg1
= (wxCaret
*) 0 ;
4383 int arg2
= (int) True
;
4384 PyObject
* obj0
= 0 ;
4386 (char *) "self",(char *) "show", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 Py_INCREF(Py_None
); resultobj
= Py_None
;
4405 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxCaret
*arg1
= (wxCaret
*) 0 ;
4408 PyObject
* obj0
= 0 ;
4410 (char *) "self", NULL
4413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 Py_INCREF(Py_None
); resultobj
= Py_None
;
4429 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4431 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4432 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4434 return Py_BuildValue((char *)"");
4436 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4446 result
= (int)wxCaret_GetBlinkTime();
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= PyInt_FromLong((long)result
);
4458 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4462 (char *) "milliseconds", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4468 wxCaret_SetBlinkTime(arg1
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 Py_INCREF(Py_None
); resultobj
= Py_None
;
4480 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4483 wxBusyCursor
*result
;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "cursor", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4507 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4510 PyObject
* obj0
= 0 ;
4512 (char *) "self", NULL
4515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxPyEndAllowThreads(__tstate
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4534 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4536 return Py_BuildValue((char *)"");
4538 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxWindow
*arg1
= (wxWindow
*) NULL
;
4541 wxWindowDisabler
*result
;
4542 PyObject
* obj0
= 0 ;
4544 (char *) "winToSkip", NULL
4547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4553 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4555 wxPyEndAllowThreads(__tstate
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4558 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4565 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4568 PyObject
* obj0
= 0 ;
4570 (char *) "self", NULL
4573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 Py_INCREF(Py_None
); resultobj
= Py_None
;
4589 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4592 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4594 return Py_BuildValue((char *)"");
4596 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4597 PyObject
*resultobj
;
4598 wxString
*arg1
= 0 ;
4600 bool temp1
= False
;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "message", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4608 arg1
= wxString_in_helper(obj0
);
4609 if (arg1
== NULL
) SWIG_fail
;
4613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4614 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4616 wxPyEndAllowThreads(__tstate
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4634 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4637 PyObject
* obj0
= 0 ;
4639 (char *) "self", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 wxPyEndAllowThreads(__tstate
);
4649 if (PyErr_Occurred()) SWIG_fail
;
4651 Py_INCREF(Py_None
); resultobj
= Py_None
;
4658 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4661 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4663 return Py_BuildValue((char *)"");
4665 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
;
4667 wxStopWatch
*result
;
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 result
= (wxStopWatch
*)new wxStopWatch();
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4687 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4688 PyObject
*resultobj
;
4689 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4690 long arg2
= (long) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self",(char *) "t0", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->Start(arg2
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4715 PyObject
* obj0
= 0 ;
4717 (char *) "self", NULL
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4736 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4739 PyObject
* obj0
= 0 ;
4741 (char *) "self", NULL
4744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 Py_INCREF(Py_None
); resultobj
= Py_None
;
4760 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4764 PyObject
* obj0
= 0 ;
4766 (char *) "self", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4778 resultobj
= PyInt_FromLong((long)result
);
4785 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4788 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4790 return Py_BuildValue((char *)"");
4792 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4793 PyObject
*resultobj
;
4794 int arg1
= (int) 9 ;
4795 wxFileHistory
*result
;
4797 (char *) "maxFiles", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4808 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4815 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4842 wxString
*arg2
= 0 ;
4843 bool temp2
= False
;
4844 PyObject
* obj0
= 0 ;
4845 PyObject
* obj1
= 0 ;
4847 (char *) "self",(char *) "file", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4853 arg2
= wxString_in_helper(obj1
);
4854 if (arg2
== NULL
) SWIG_fail
;
4858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4859 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4861 wxPyEndAllowThreads(__tstate
);
4862 if (PyErr_Occurred()) SWIG_fail
;
4864 Py_INCREF(Py_None
); resultobj
= Py_None
;
4879 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4880 PyObject
*resultobj
;
4881 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4885 (char *) "self",(char *) "i", NULL
4888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 (arg1
)->RemoveFileFromHistory(arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 Py_INCREF(Py_None
); resultobj
= Py_None
;
4904 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4905 PyObject
*resultobj
;
4906 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4908 PyObject
* obj0
= 0 ;
4910 (char *) "self", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 resultobj
= PyInt_FromLong((long)result
);
4929 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4932 wxMenu
*arg2
= (wxMenu
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "menu", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",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_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->UseMenu(arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4956 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4959 wxMenu
*arg2
= (wxMenu
*) 0 ;
4960 PyObject
* obj0
= 0 ;
4961 PyObject
* obj1
= 0 ;
4963 (char *) "self",(char *) "menu", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4968 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4971 (arg1
)->RemoveMenu(arg2
);
4973 wxPyEndAllowThreads(__tstate
);
4974 if (PyErr_Occurred()) SWIG_fail
;
4976 Py_INCREF(Py_None
); resultobj
= Py_None
;
4983 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4984 PyObject
*resultobj
;
4985 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4986 wxConfigBase
*arg2
= 0 ;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4990 (char *) "self",(char *) "config", NULL
4993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
4994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4995 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4997 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 (arg1
)->Load(*arg2
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 Py_INCREF(Py_None
); resultobj
= Py_None
;
5013 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5016 wxConfigBase
*arg2
= 0 ;
5017 PyObject
* obj0
= 0 ;
5018 PyObject
* obj1
= 0 ;
5020 (char *) "self",(char *) "config", NULL
5023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",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_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 (arg1
)->Save(*arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 Py_INCREF(Py_None
); resultobj
= Py_None
;
5043 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "self", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 (arg1
)->AddFilesToMenu();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 Py_INCREF(Py_None
); resultobj
= Py_None
;
5067 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5070 wxMenu
*arg2
= (wxMenu
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5074 (char *) "self",(char *) "menu", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 (arg1
)->AddFilesToMenu(arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5095 PyObject
*resultobj
;
5096 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5101 (char *) "self",(char *) "i", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5126 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5127 PyObject
*resultobj
;
5128 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5130 PyObject
* obj0
= 0 ;
5132 (char *) "self", NULL
5135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5139 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5141 wxPyEndAllowThreads(__tstate
);
5142 if (PyErr_Occurred()) SWIG_fail
;
5144 resultobj
= PyInt_FromLong((long)result
);
5151 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5154 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5156 return Py_BuildValue((char *)"");
5158 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxString
*arg1
= 0 ;
5161 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5162 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5163 wxSingleInstanceChecker
*result
;
5164 bool temp1
= False
;
5165 bool temp2
= False
;
5166 PyObject
* obj0
= 0 ;
5167 PyObject
* obj1
= 0 ;
5169 (char *) "name",(char *) "path", NULL
5172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5174 arg1
= wxString_in_helper(obj0
);
5175 if (arg1
== NULL
) SWIG_fail
;
5180 arg2
= wxString_in_helper(obj1
);
5181 if (arg2
== NULL
) SWIG_fail
;
5186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5187 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5189 wxPyEndAllowThreads(__tstate
);
5190 if (PyErr_Occurred()) SWIG_fail
;
5192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5215 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5216 PyObject
*resultobj
;
5217 wxSingleInstanceChecker
*result
;
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5237 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5240 PyObject
* obj0
= 0 ;
5242 (char *) "self", NULL
5245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 wxPyEndAllowThreads(__tstate
);
5252 if (PyErr_Occurred()) SWIG_fail
;
5254 Py_INCREF(Py_None
); resultobj
= Py_None
;
5261 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
;
5263 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5264 wxString
*arg2
= 0 ;
5265 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5266 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5268 bool temp2
= False
;
5269 bool temp3
= False
;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5272 PyObject
* obj2
= 0 ;
5274 (char *) "self",(char *) "name",(char *) "path", NULL
5277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5280 arg2
= wxString_in_helper(obj1
);
5281 if (arg2
== NULL
) SWIG_fail
;
5286 arg3
= wxString_in_helper(obj2
);
5287 if (arg3
== NULL
) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 resultobj
= PyInt_FromLong((long)result
);
5321 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5327 (char *) "self", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5334 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5336 wxPyEndAllowThreads(__tstate
);
5337 if (PyErr_Occurred()) SWIG_fail
;
5339 resultobj
= PyInt_FromLong((long)result
);
5346 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5349 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5351 return Py_BuildValue((char *)"");
5353 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxWindow
*arg1
= (wxWindow
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5361 (char *) "window",(char *) "dc",(char *) "method", NULL
5364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5366 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5368 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5372 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5374 wxPyEndAllowThreads(__tstate
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5387 PyObject
* obj0
= 0 ;
5389 (char *) "self", NULL
5392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 Py_INCREF(Py_None
); resultobj
= Py_None
;
5408 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5412 PyObject
* obj0
= 0 ;
5414 (char *) "self", NULL
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (arg1
)->GetTip();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5439 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5443 PyObject
* obj0
= 0 ;
5445 (char *) "self", NULL
5448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5452 result
= (size_t)(arg1
)->GetCurrentTip();
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= PyInt_FromLong((long)result
);
5464 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5467 wxString
*arg2
= 0 ;
5469 bool temp2
= False
;
5470 PyObject
* obj0
= 0 ;
5471 PyObject
* obj1
= 0 ;
5473 (char *) "self",(char *) "tip", NULL
5476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5479 arg2
= wxString_in_helper(obj1
);
5480 if (arg2
== NULL
) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5511 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5516 return Py_BuildValue((char *)"");
5518 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5521 wxPyTipProvider
*result
;
5522 PyObject
* obj0
= 0 ;
5524 (char *) "currentTip", NULL
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5528 arg1
= (size_t) PyInt_AsLong(obj0
);
5529 if (PyErr_Occurred()) SWIG_fail
;
5531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5532 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5544 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5547 PyObject
*arg2
= (PyObject
*) 0 ;
5548 PyObject
*arg3
= (PyObject
*) 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5551 PyObject
* obj2
= 0 ;
5553 (char *) "self",(char *) "self",(char *) "_class", NULL
5556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5562 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5564 wxPyEndAllowThreads(__tstate
);
5565 if (PyErr_Occurred()) SWIG_fail
;
5567 Py_INCREF(Py_None
); resultobj
= Py_None
;
5574 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5577 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5579 return Py_BuildValue((char *)"");
5581 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxWindow
*arg1
= (wxWindow
*) 0 ;
5584 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5585 bool arg3
= (bool) True
;
5587 PyObject
* obj0
= 0 ;
5588 PyObject
* obj1
= 0 ;
5589 PyObject
* obj2
= 0 ;
5591 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 arg3
= PyInt_AsLong(obj2
) ? true : false;
5599 if (PyErr_Occurred()) SWIG_fail
;
5602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5603 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5605 wxPyEndAllowThreads(__tstate
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5608 resultobj
= PyInt_FromLong((long)result
);
5615 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxString
*arg1
= 0 ;
5619 wxTipProvider
*result
;
5620 bool temp1
= False
;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "filename",(char *) "currentTip", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5629 arg1
= wxString_in_helper(obj0
);
5630 if (arg1
== NULL
) SWIG_fail
;
5633 arg2
= (size_t) PyInt_AsLong(obj1
);
5634 if (PyErr_Occurred()) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5657 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5660 int arg2
= (int) -1 ;
5662 PyObject
* obj0
= 0 ;
5664 (char *) "owner",(char *) "id", NULL
5667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5673 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5675 wxPyEndAllowThreads(__tstate
);
5676 if (PyErr_Occurred()) SWIG_fail
;
5678 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5685 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5686 PyObject
*resultobj
;
5687 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5688 PyObject
* obj0
= 0 ;
5690 (char *) "self", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 wxPyEndAllowThreads(__tstate
);
5700 if (PyErr_Occurred()) SWIG_fail
;
5702 Py_INCREF(Py_None
); resultobj
= Py_None
;
5709 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5712 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5713 int arg3
= (int) -1 ;
5714 PyObject
* obj0
= 0 ;
5715 PyObject
* obj1
= 0 ;
5717 (char *) "self",(char *) "owner",(char *) "id", NULL
5720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5725 (arg1
)->SetOwner(arg2
,arg3
);
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5730 Py_INCREF(Py_None
); resultobj
= Py_None
;
5737 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5738 PyObject
*resultobj
;
5739 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5740 int arg2
= (int) -1 ;
5741 bool arg3
= (bool) False
;
5743 PyObject
* obj0
= 0 ;
5744 PyObject
* obj2
= 0 ;
5746 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5752 arg3
= PyInt_AsLong(obj2
) ? true : false;
5753 if (PyErr_Occurred()) SWIG_fail
;
5756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5757 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5759 wxPyEndAllowThreads(__tstate
);
5760 if (PyErr_Occurred()) SWIG_fail
;
5762 resultobj
= PyInt_FromLong((long)result
);
5769 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5770 PyObject
*resultobj
;
5771 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5774 (char *) "self", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 Py_INCREF(Py_None
); resultobj
= Py_None
;
5793 static PyObject
*_wrap_Timer_Notify(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5796 PyObject
* obj0
= 0 ;
5798 (char *) "self", NULL
5801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Notify",kwnames
,&obj0
)) goto fail
;
5802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5807 wxPyEndAllowThreads(__tstate
);
5808 if (PyErr_Occurred()) SWIG_fail
;
5810 Py_INCREF(Py_None
); resultobj
= Py_None
;
5817 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5818 PyObject
*resultobj
;
5819 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5823 (char *) "self", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= PyInt_FromLong((long)result
);
5842 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= PyInt_FromLong((long)result
);
5867 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5868 PyObject
*resultobj
;
5869 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5873 (char *) "self", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= PyInt_FromLong((long)result
);
5892 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5895 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5897 return Py_BuildValue((char *)"");
5899 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5900 PyObject
*resultobj
;
5901 int arg1
= (int) 0 ;
5902 int arg2
= (int) 0 ;
5903 wxTimerEvent
*result
;
5905 (char *) "timerid",(char *) "interval", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5911 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5913 wxPyEndAllowThreads(__tstate
);
5914 if (PyErr_Occurred()) SWIG_fail
;
5916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5923 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5924 PyObject
*resultobj
;
5925 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5929 (char *) "self", NULL
5932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5936 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5938 wxPyEndAllowThreads(__tstate
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= PyInt_FromLong((long)result
);
5948 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5950 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5951 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5953 return Py_BuildValue((char *)"");
5955 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5956 PyObject
*resultobj
;
5958 wxTimerRunner
*result
;
5959 PyObject
* obj0
= 0 ;
5961 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5964 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5980 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
5981 PyObject
*resultobj
;
5984 bool arg3
= (bool) False
;
5985 wxTimerRunner
*result
;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj2
= 0 ;
5989 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5992 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5995 arg3
= PyInt_AsLong(obj2
) ? true : false;
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6000 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6002 wxPyEndAllowThreads(__tstate
);
6003 if (PyErr_Occurred()) SWIG_fail
;
6005 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
6012 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6017 argc
= PyObject_Length(args
);
6018 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6019 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6025 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6033 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6036 if ((argc
>= 2) && (argc
<= 3)) {
6040 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6049 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6053 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6056 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6059 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6065 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6070 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 wxPyEndAllowThreads(__tstate
);
6085 if (PyErr_Occurred()) SWIG_fail
;
6087 Py_INCREF(Py_None
); resultobj
= Py_None
;
6094 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6095 PyObject
*resultobj
;
6096 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6098 bool arg3
= (bool) False
;
6099 PyObject
* obj0
= 0 ;
6100 PyObject
* obj2
= 0 ;
6102 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6108 arg3
= PyInt_AsLong(obj2
) ? true : false;
6109 if (PyErr_Occurred()) SWIG_fail
;
6112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6113 (arg1
)->Start(arg2
,arg3
);
6115 wxPyEndAllowThreads(__tstate
);
6116 if (PyErr_Occurred()) SWIG_fail
;
6118 Py_INCREF(Py_None
); resultobj
= Py_None
;
6125 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6128 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6130 return Py_BuildValue((char *)"");
6132 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (wxLog
*)new wxLog();
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6154 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6155 PyObject
*resultobj
;
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6164 result
= (bool)wxLog::IsEnabled();
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6169 resultobj
= PyInt_FromLong((long)result
);
6176 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6177 PyObject
*resultobj
;
6178 bool arg1
= (bool) True
;
6180 PyObject
* obj0
= 0 ;
6182 (char *) "doIt", NULL
6185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6187 arg1
= PyInt_AsLong(obj0
) ? true : false;
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 result
= (bool)wxLog::EnableLogging(arg1
);
6194 wxPyEndAllowThreads(__tstate
);
6195 if (PyErr_Occurred()) SWIG_fail
;
6197 resultobj
= PyInt_FromLong((long)result
);
6204 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6207 wxChar
*arg2
= (wxChar
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6211 PyObject
* obj2
= 0 ;
6213 (char *) "level",(char *) "szString",(char *) "t", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6217 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6220 arg3
= (time_t) PyInt_AsLong(obj2
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxLog
*arg1
= (wxLog
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "self", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 wxPyEndAllowThreads(__tstate
);
6251 if (PyErr_Occurred()) SWIG_fail
;
6253 Py_INCREF(Py_None
); resultobj
= Py_None
;
6260 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 wxLog::FlushActive();
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (wxLog
*)wxLog::GetActiveTarget();
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6303 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6304 PyObject
*resultobj
;
6305 wxLog
*arg1
= (wxLog
*) 0 ;
6307 PyObject
* obj0
= 0 ;
6309 (char *) "pLogger", NULL
6312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6318 wxPyEndAllowThreads(__tstate
);
6319 if (PyErr_Occurred()) SWIG_fail
;
6321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6328 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6329 PyObject
*resultobj
;
6334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 wxPyEndAllowThreads(__tstate
);
6340 if (PyErr_Occurred()) SWIG_fail
;
6342 Py_INCREF(Py_None
); resultobj
= Py_None
;
6349 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 Py_INCREF(Py_None
); resultobj
= Py_None
;
6370 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
;
6372 bool arg1
= (bool) True
;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "bVerbose", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6380 arg1
= PyInt_AsLong(obj0
) ? true : false;
6381 if (PyErr_Occurred()) SWIG_fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 wxLog::SetVerbose(arg1
);
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 Py_INCREF(Py_None
); resultobj
= Py_None
;
6397 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6400 PyObject
* obj0
= 0 ;
6402 (char *) "logLevel", NULL
6405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6406 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6410 wxLog::SetLogLevel(arg1
);
6412 wxPyEndAllowThreads(__tstate
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 Py_INCREF(Py_None
); resultobj
= Py_None
;
6422 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6423 PyObject
*resultobj
;
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6431 wxLog::DontCreateOnDemand();
6433 wxPyEndAllowThreads(__tstate
);
6434 if (PyErr_Occurred()) SWIG_fail
;
6436 Py_INCREF(Py_None
); resultobj
= Py_None
;
6443 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6444 PyObject
*resultobj
;
6446 PyObject
* obj0
= 0 ;
6448 (char *) "ulMask", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6452 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6456 wxLog::SetTraceMask(arg1
);
6458 wxPyEndAllowThreads(__tstate
);
6459 if (PyErr_Occurred()) SWIG_fail
;
6461 Py_INCREF(Py_None
); resultobj
= Py_None
;
6468 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxString
*arg1
= 0 ;
6471 bool temp1
= False
;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "str", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6479 arg1
= wxString_in_helper(obj0
);
6480 if (arg1
== NULL
) SWIG_fail
;
6484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 wxLog::AddTraceMask((wxString
const &)*arg1
);
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6490 Py_INCREF(Py_None
); resultobj
= Py_None
;
6505 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxString
*arg1
= 0 ;
6508 bool temp1
= False
;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "str", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6516 arg1
= wxString_in_helper(obj0
);
6517 if (arg1
== NULL
) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 Py_INCREF(Py_None
); resultobj
= Py_None
;
6542 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6543 PyObject
*resultobj
;
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxLog::ClearTraceMasks();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxArrayString
*result
;
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6574 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6575 result
= (wxArrayString
*) &_result_ref
;
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6582 resultobj
= wxArrayString2PyList_helper(*result
);
6590 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6591 PyObject
*resultobj
;
6592 wxChar
*arg1
= (wxChar
*) 0 ;
6593 PyObject
* obj0
= 0 ;
6598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6602 wxLog::SetTimestamp((wxChar
const *)arg1
);
6604 wxPyEndAllowThreads(__tstate
);
6605 if (PyErr_Occurred()) SWIG_fail
;
6607 Py_INCREF(Py_None
); resultobj
= Py_None
;
6614 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6615 PyObject
*resultobj
;
6621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (bool)wxLog::GetVerbose();
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= PyInt_FromLong((long)result
);
6636 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6637 PyObject
*resultobj
;
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= (wxTraceMask
)wxLog::GetTraceMask();
6648 wxPyEndAllowThreads(__tstate
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6651 resultobj
= PyInt_FromLong((long)result
);
6658 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6659 PyObject
*resultobj
;
6660 wxChar
*arg1
= (wxChar
*) 0 ;
6662 PyObject
* obj0
= 0 ;
6664 (char *) "mask", NULL
6667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= PyInt_FromLong((long)result
);
6683 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6684 PyObject
*resultobj
;
6690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (wxLogLevel
)wxLog::GetLogLevel();
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= PyInt_FromLong((long)result
);
6705 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6706 PyObject
*resultobj
;
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 result
= (wxChar
*)wxLog::GetTimestamp();
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6727 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= Log_TimeStamp();
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6755 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6756 PyObject
*resultobj
;
6757 wxLog
*arg1
= (wxLog
*) 0 ;
6758 PyObject
* obj0
= 0 ;
6760 (char *) "self", NULL
6763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 wxLog_Destroy(arg1
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6782 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6784 return Py_BuildValue((char *)"");
6786 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6787 PyObject
*resultobj
;
6788 wxLogStderr
*result
;
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 result
= (wxLogStderr
*)new wxLogStderr();
6798 wxPyEndAllowThreads(__tstate
);
6799 if (PyErr_Occurred()) SWIG_fail
;
6801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6808 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6813 return Py_BuildValue((char *)"");
6815 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6818 wxLogTextCtrl
*result
;
6819 PyObject
* obj0
= 0 ;
6821 (char *) "pTextCtrl", NULL
6824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6840 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6842 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6843 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6845 return Py_BuildValue((char *)"");
6847 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
;
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 result
= (wxLogGui
*)new wxLogGui();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6869 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6872 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6874 return Py_BuildValue((char *)"");
6876 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6877 PyObject
*resultobj
;
6878 wxFrame
*arg1
= (wxFrame
*) 0 ;
6879 wxString
*arg2
= 0 ;
6880 bool arg3
= (bool) True
;
6881 bool arg4
= (bool) True
;
6882 wxLogWindow
*result
;
6883 bool temp2
= False
;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 PyObject
* obj2
= 0 ;
6887 PyObject
* obj3
= 0 ;
6889 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6895 arg2
= wxString_in_helper(obj1
);
6896 if (arg2
== NULL
) SWIG_fail
;
6900 arg3
= PyInt_AsLong(obj2
) ? true : false;
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 arg4
= PyInt_AsLong(obj3
) ? true : false;
6905 if (PyErr_Occurred()) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6929 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6932 bool arg2
= (bool) True
;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6936 (char *) "self",(char *) "bShow", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6942 arg2
= PyInt_AsLong(obj1
) ? true : false;
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6952 Py_INCREF(Py_None
); resultobj
= Py_None
;
6959 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6960 PyObject
*resultobj
;
6961 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6963 PyObject
* obj0
= 0 ;
6965 (char *) "self", NULL
6968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
6969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= wxPyMake_wxObject(result
);
6986 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7011 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= PyInt_FromLong((long)result
);
7036 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7037 PyObject
*resultobj
;
7038 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7040 PyObject
* obj0
= 0 ;
7041 PyObject
* obj1
= 0 ;
7043 (char *) "self",(char *) "bDoPass", NULL
7046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7048 arg2
= PyInt_AsLong(obj1
) ? true : false;
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7052 (arg1
)->PassMessages(arg2
);
7054 wxPyEndAllowThreads(__tstate
);
7055 if (PyErr_Occurred()) SWIG_fail
;
7057 Py_INCREF(Py_None
); resultobj
= Py_None
;
7064 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7067 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7069 return Py_BuildValue((char *)"");
7071 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7072 PyObject
*resultobj
;
7073 wxLog
*arg1
= (wxLog
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7077 (char *) "logger", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7084 result
= (wxLogChain
*)new wxLogChain(arg1
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7096 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7099 wxLog
*arg2
= (wxLog
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7101 PyObject
* obj1
= 0 ;
7103 (char *) "self",(char *) "logger", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 (arg1
)->SetLog(arg2
);
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7130 (char *) "self",(char *) "bDoPass", NULL
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 arg2
= PyInt_AsLong(obj1
) ? true : false;
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 (arg1
)->PassMessages(arg2
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 Py_INCREF(Py_None
); resultobj
= Py_None
;
7151 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7152 PyObject
*resultobj
;
7153 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7155 PyObject
* obj0
= 0 ;
7157 (char *) "self", NULL
7160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 result
= (bool)(arg1
)->IsPassingMessages();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 resultobj
= PyInt_FromLong((long)result
);
7176 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7180 PyObject
* obj0
= 0 ;
7182 (char *) "self", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (wxLog
*)(arg1
)->GetOldLog();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7194 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7201 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7204 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7206 return Py_BuildValue((char *)"");
7208 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7209 PyObject
*resultobj
;
7210 unsigned long result
;
7215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7218 result
= (unsigned long)wxSysErrorCode();
7220 wxPyEndAllowThreads(__tstate
);
7221 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= PyInt_FromLong((long)result
);
7230 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7231 PyObject
*resultobj
;
7232 unsigned long arg1
= (unsigned long) 0 ;
7234 PyObject
* obj0
= 0 ;
7236 (char *) "nErrCode", NULL
7239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7241 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7246 result
= wxSysErrorMsg(arg1
);
7248 wxPyEndAllowThreads(__tstate
);
7249 if (PyErr_Occurred()) SWIG_fail
;
7253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7264 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxString
*arg1
= 0 ;
7267 bool temp1
= False
;
7268 PyObject
* obj0
= 0 ;
7270 (char *) "msg", NULL
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7275 arg1
= wxString_in_helper(obj0
);
7276 if (arg1
== NULL
) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 wxLogFatalError((wxString
const &)*arg1
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 Py_INCREF(Py_None
); resultobj
= Py_None
;
7301 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7302 PyObject
*resultobj
;
7303 wxString
*arg1
= 0 ;
7304 bool temp1
= False
;
7305 PyObject
* obj0
= 0 ;
7307 (char *) "msg", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7312 arg1
= wxString_in_helper(obj0
);
7313 if (arg1
== NULL
) SWIG_fail
;
7317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7318 wxLogError((wxString
const &)*arg1
);
7320 wxPyEndAllowThreads(__tstate
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7323 Py_INCREF(Py_None
); resultobj
= Py_None
;
7338 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxString
*arg1
= 0 ;
7341 bool temp1
= False
;
7342 PyObject
* obj0
= 0 ;
7344 (char *) "msg", NULL
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7349 arg1
= wxString_in_helper(obj0
);
7350 if (arg1
== NULL
) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 wxLogWarning((wxString
const &)*arg1
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 Py_INCREF(Py_None
); resultobj
= Py_None
;
7375 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxString
*arg1
= 0 ;
7378 bool temp1
= False
;
7379 PyObject
* obj0
= 0 ;
7381 (char *) "msg", NULL
7384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7386 arg1
= wxString_in_helper(obj0
);
7387 if (arg1
== NULL
) SWIG_fail
;
7391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7392 wxLogMessage((wxString
const &)*arg1
);
7394 wxPyEndAllowThreads(__tstate
);
7395 if (PyErr_Occurred()) SWIG_fail
;
7397 Py_INCREF(Py_None
); resultobj
= Py_None
;
7412 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7413 PyObject
*resultobj
;
7414 wxString
*arg1
= 0 ;
7415 bool temp1
= False
;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "msg", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7423 arg1
= wxString_in_helper(obj0
);
7424 if (arg1
== NULL
) SWIG_fail
;
7428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7429 wxLogInfo((wxString
const &)*arg1
);
7431 wxPyEndAllowThreads(__tstate
);
7432 if (PyErr_Occurred()) SWIG_fail
;
7434 Py_INCREF(Py_None
); resultobj
= Py_None
;
7449 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
;
7451 wxString
*arg1
= 0 ;
7452 bool temp1
= False
;
7453 PyObject
* obj0
= 0 ;
7455 (char *) "msg", NULL
7458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7460 arg1
= wxString_in_helper(obj0
);
7461 if (arg1
== NULL
) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 wxLogDebug((wxString
const &)*arg1
);
7468 wxPyEndAllowThreads(__tstate
);
7469 if (PyErr_Occurred()) SWIG_fail
;
7471 Py_INCREF(Py_None
); resultobj
= Py_None
;
7486 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxString
*arg1
= 0 ;
7489 bool temp1
= False
;
7490 PyObject
* obj0
= 0 ;
7492 (char *) "msg", NULL
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7497 arg1
= wxString_in_helper(obj0
);
7498 if (arg1
== NULL
) SWIG_fail
;
7502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7503 wxLogVerbose((wxString
const &)*arg1
);
7505 wxPyEndAllowThreads(__tstate
);
7506 if (PyErr_Occurred()) SWIG_fail
;
7508 Py_INCREF(Py_None
); resultobj
= Py_None
;
7523 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxString
*arg1
= 0 ;
7526 bool temp1
= False
;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "msg", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7534 arg1
= wxString_in_helper(obj0
);
7535 if (arg1
== NULL
) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 wxLogStatus((wxString
const &)*arg1
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7545 Py_INCREF(Py_None
); resultobj
= Py_None
;
7560 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxFrame
*arg1
= (wxFrame
*) 0 ;
7563 wxString
*arg2
= 0 ;
7564 bool temp2
= False
;
7565 PyObject
* obj0
= 0 ;
7566 PyObject
* obj1
= 0 ;
7568 (char *) "pFrame",(char *) "msg", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7574 arg2
= wxString_in_helper(obj1
);
7575 if (arg2
== NULL
) SWIG_fail
;
7579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7580 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7582 wxPyEndAllowThreads(__tstate
);
7583 if (PyErr_Occurred()) SWIG_fail
;
7585 Py_INCREF(Py_None
); resultobj
= Py_None
;
7600 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7601 PyObject
*resultobj
;
7602 wxString
*arg1
= 0 ;
7603 bool temp1
= False
;
7604 PyObject
* obj0
= 0 ;
7606 (char *) "msg", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7611 arg1
= wxString_in_helper(obj0
);
7612 if (arg1
== NULL
) SWIG_fail
;
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 wxLogSysError((wxString
const &)*arg1
);
7619 wxPyEndAllowThreads(__tstate
);
7620 if (PyErr_Occurred()) SWIG_fail
;
7622 Py_INCREF(Py_None
); resultobj
= Py_None
;
7637 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxString
*arg1
= 0 ;
7640 bool temp1
= False
;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "msg", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogTrace",kwnames
,&obj0
)) goto fail
;
7648 arg1
= wxString_in_helper(obj0
);
7649 if (arg1
== NULL
) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 wxLogTrace((wxString
const &)*arg1
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7659 Py_INCREF(Py_None
); resultobj
= Py_None
;
7674 static PyObject
*_wrap_LogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxString
*arg1
= 0 ;
7677 wxString
*arg2
= 0 ;
7678 bool temp1
= False
;
7679 bool temp2
= False
;
7680 PyObject
* obj0
= 0 ;
7681 PyObject
* obj1
= 0 ;
7683 (char *) "mask",(char *) "msg", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogTraceMask",kwnames
,&obj0
,&obj1
)) goto fail
;
7688 arg1
= wxString_in_helper(obj0
);
7689 if (arg1
== NULL
) SWIG_fail
;
7693 arg2
= wxString_in_helper(obj1
);
7694 if (arg2
== NULL
) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 Py_INCREF(Py_None
); resultobj
= Py_None
;
7727 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 unsigned long arg1
;
7730 wxString
*arg2
= 0 ;
7731 bool temp2
= False
;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7735 (char *) "level",(char *) "msg", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7739 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 arg2
= wxString_in_helper(obj1
);
7743 if (arg2
== NULL
) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7753 Py_INCREF(Py_None
); resultobj
= Py_None
;
7768 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxString
*arg1
= 0 ;
7771 wxString
*arg2
= 0 ;
7772 bool temp1
= False
;
7773 bool temp2
= False
;
7774 PyObject
* obj0
= 0 ;
7775 PyObject
* obj1
= 0 ;
7777 (char *) "title",(char *) "text", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7782 arg1
= wxString_in_helper(obj0
);
7783 if (arg1
== NULL
) SWIG_fail
;
7787 arg2
= wxString_in_helper(obj1
);
7788 if (arg2
== NULL
) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7793 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7795 wxPyEndAllowThreads(__tstate
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 Py_INCREF(Py_None
); resultobj
= Py_None
;
7821 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7831 result
= (wxLogNull
*)new wxLogNull();
7833 wxPyEndAllowThreads(__tstate
);
7834 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7843 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7844 PyObject
*resultobj
;
7845 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 Py_INCREF(Py_None
); resultobj
= Py_None
;
7867 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7872 return Py_BuildValue((char *)"");
7874 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7875 PyObject
*resultobj
;
7881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7884 result
= (wxPyLog
*)new wxPyLog();
7886 wxPyEndAllowThreads(__tstate
);
7887 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7896 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7897 PyObject
*resultobj
;
7898 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7899 PyObject
*arg2
= (PyObject
*) 0 ;
7900 PyObject
*arg3
= (PyObject
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7902 PyObject
* obj1
= 0 ;
7903 PyObject
* obj2
= 0 ;
7905 (char *) "self",(char *) "self",(char *) "_class", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 Py_INCREF(Py_None
); resultobj
= Py_None
;
7926 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
7928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7929 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
7931 return Py_BuildValue((char *)"");
7933 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7934 PyObject
*resultobj
;
7936 int arg2
= (int) wxSIGTERM
;
7939 (char *) "pid",(char *) "sig", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= PyInt_FromLong((long)result
);
7957 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7962 (char *) "pid", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (bool)wxPyProcess::Exists(arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= PyInt_FromLong((long)result
);
7980 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxString
*arg1
= 0 ;
7983 int arg2
= (int) wxEXEC_ASYNC
;
7984 wxPyProcess
*result
;
7985 bool temp1
= False
;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "cmd",(char *) "flags", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
7993 arg1
= wxString_in_helper(obj0
);
7994 if (arg1
== NULL
) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
8019 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8022 int arg2
= (int) -1 ;
8023 wxPyProcess
*result
;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "parent",(char *) "id", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8035 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
8047 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8048 PyObject
*resultobj
;
8049 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8050 PyObject
*arg2
= (PyObject
*) 0 ;
8051 PyObject
*arg3
= (PyObject
*) 0 ;
8052 PyObject
* obj0
= 0 ;
8053 PyObject
* obj1
= 0 ;
8054 PyObject
* obj2
= 0 ;
8056 (char *) "self",(char *) "self",(char *) "_class", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8065 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8067 wxPyEndAllowThreads(__tstate
);
8068 if (PyErr_Occurred()) SWIG_fail
;
8070 Py_INCREF(Py_None
); resultobj
= Py_None
;
8077 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self",(char *) "pid",(char *) "status", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 (arg1
)->base_OnTerminate(arg2
,arg3
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8106 PyObject
* obj0
= 0 ;
8108 (char *) "self", NULL
8111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 wxPyEndAllowThreads(__tstate
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 Py_INCREF(Py_None
); resultobj
= Py_None
;
8127 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= (bool)(arg1
)->IsRedirected();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8145 resultobj
= PyInt_FromLong((long)result
);
8152 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 Py_INCREF(Py_None
); resultobj
= Py_None
;
8176 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8177 PyObject
*resultobj
;
8178 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8179 wxInputStream
*result
;
8180 PyObject
* obj0
= 0 ;
8182 (char *) "self", NULL
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8195 wxPyInputStream
* _ptr
= NULL
;
8198 _ptr
= new wxPyInputStream(result
);
8200 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8208 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8211 wxInputStream
*result
;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "self", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8227 wxPyInputStream
* _ptr
= NULL
;
8230 _ptr
= new wxPyInputStream(result
);
8232 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8240 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8243 wxOutputStream
*result
;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8253 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8265 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8268 PyObject
* obj0
= 0 ;
8270 (char *) "self", NULL
8273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 (arg1
)->CloseOutput();
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8282 Py_INCREF(Py_None
); resultobj
= Py_None
;
8289 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8290 PyObject
*resultobj
;
8291 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8293 PyObject
* obj0
= 0 ;
8295 (char *) "self", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 resultobj
= PyInt_FromLong((long)result
);
8314 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8315 PyObject
*resultobj
;
8316 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8318 PyObject
* obj0
= 0 ;
8320 (char *) "self", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8327 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8329 wxPyEndAllowThreads(__tstate
);
8330 if (PyErr_Occurred()) SWIG_fail
;
8332 resultobj
= PyInt_FromLong((long)result
);
8339 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8343 PyObject
* obj0
= 0 ;
8345 (char *) "self", NULL
8348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= PyInt_FromLong((long)result
);
8364 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8367 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8369 return Py_BuildValue((char *)"");
8371 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8372 PyObject
*resultobj
;
8373 int arg1
= (int) 0 ;
8374 int arg2
= (int) 0 ;
8375 int arg3
= (int) 0 ;
8376 wxProcessEvent
*result
;
8378 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8396 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8397 PyObject
*resultobj
;
8398 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8400 PyObject
* obj0
= 0 ;
8402 (char *) "self", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8409 result
= (int)(arg1
)->GetPid();
8411 wxPyEndAllowThreads(__tstate
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8414 resultobj
= PyInt_FromLong((long)result
);
8421 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8423 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "self", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (int)(arg1
)->GetExitCode();
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= PyInt_FromLong((long)result
);
8446 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8450 PyObject
* obj0
= 0 ;
8452 (char *) "self",(char *) "m_pid", NULL
8455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8457 if (arg1
) (arg1
)->m_pid
= arg2
;
8459 Py_INCREF(Py_None
); resultobj
= Py_None
;
8466 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "self", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8477 result
= (int) ((arg1
)->m_pid
);
8479 resultobj
= PyInt_FromLong((long)result
);
8486 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8487 PyObject
*resultobj
;
8488 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8490 PyObject
* obj0
= 0 ;
8492 (char *) "self",(char *) "m_exitcode", NULL
8495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8497 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8499 Py_INCREF(Py_None
); resultobj
= Py_None
;
8506 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8507 PyObject
*resultobj
;
8508 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8510 PyObject
* obj0
= 0 ;
8512 (char *) "self", NULL
8515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8517 result
= (int) ((arg1
)->m_exitcode
);
8519 resultobj
= PyInt_FromLong((long)result
);
8526 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8529 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8531 return Py_BuildValue((char *)"");
8533 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxString
*arg1
= 0 ;
8536 int arg2
= (int) wxEXEC_ASYNC
;
8537 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8539 bool temp1
= False
;
8540 PyObject
* obj0
= 0 ;
8541 PyObject
* obj2
= 0 ;
8543 (char *) "command",(char *) "flags",(char *) "process", NULL
8546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8548 arg1
= wxString_in_helper(obj0
);
8549 if (arg1
== NULL
) SWIG_fail
;
8553 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= PyInt_FromLong((long)result
);
8577 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 int arg1
= (int) wxJOYSTICK1
;
8582 (char *) "joystick", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (wxJoystick
*)new wxJoystick(arg1
);
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8600 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 Py_INCREF(Py_None
); resultobj
= Py_None
;
8624 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
;
8626 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8628 PyObject
* obj0
= 0 ;
8630 (char *) "self", NULL
8633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (arg1
)->GetPosition();
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8643 wxPoint
* resultptr
;
8644 resultptr
= new wxPoint((wxPoint
&) result
);
8645 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8653 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8657 PyObject
* obj0
= 0 ;
8659 (char *) "self", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 result
= (int)(arg1
)->GetZPosition();
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 resultobj
= PyInt_FromLong((long)result
);
8678 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8679 PyObject
*resultobj
;
8680 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8682 PyObject
* obj0
= 0 ;
8684 (char *) "self", NULL
8687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8691 result
= (int)(arg1
)->GetButtonState();
8693 wxPyEndAllowThreads(__tstate
);
8694 if (PyErr_Occurred()) SWIG_fail
;
8696 resultobj
= PyInt_FromLong((long)result
);
8703 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8704 PyObject
*resultobj
;
8705 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8707 PyObject
* obj0
= 0 ;
8709 (char *) "self", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 result
= (int)(arg1
)->GetPOVPosition();
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 resultobj
= PyInt_FromLong((long)result
);
8728 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8732 PyObject
* obj0
= 0 ;
8734 (char *) "self", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8741 result
= (int)(arg1
)->GetPOVCTSPosition();
8743 wxPyEndAllowThreads(__tstate
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8746 resultobj
= PyInt_FromLong((long)result
);
8753 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8754 PyObject
*resultobj
;
8755 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8757 PyObject
* obj0
= 0 ;
8759 (char *) "self", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8766 result
= (int)(arg1
)->GetRudderPosition();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= PyInt_FromLong((long)result
);
8778 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
;
8780 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8782 PyObject
* obj0
= 0 ;
8784 (char *) "self", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 result
= (int)(arg1
)->GetUPosition();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= PyInt_FromLong((long)result
);
8803 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (int)(arg1
)->GetVPosition();
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8821 resultobj
= PyInt_FromLong((long)result
);
8828 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8834 (char *) "self", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (int)(arg1
)->GetMovementThreshold();
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 resultobj
= PyInt_FromLong((long)result
);
8853 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self",(char *) "threshold", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 (arg1
)->SetMovementThreshold(arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 Py_INCREF(Py_None
); resultobj
= Py_None
;
8878 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8884 (char *) "self", NULL
8887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= (bool)(arg1
)->IsOk();
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 resultobj
= PyInt_FromLong((long)result
);
8903 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "self", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
8913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (int)(arg1
)->GetNumberJoysticks();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= PyInt_FromLong((long)result
);
8928 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8934 (char *) "self", NULL
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
8938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= (int)(arg1
)->GetManufacturerId();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= PyInt_FromLong((long)result
);
8953 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
;
8955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8959 (char *) "self", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
8963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 result
= (int)(arg1
)->GetProductId();
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= PyInt_FromLong((long)result
);
8978 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8982 PyObject
* obj0
= 0 ;
8984 (char *) "self", NULL
8987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
8988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (arg1
)->GetProductName();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9009 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9015 (char *) "self", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 result
= (int)(arg1
)->GetXMin();
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 resultobj
= PyInt_FromLong((long)result
);
9034 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9035 PyObject
*resultobj
;
9036 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9038 PyObject
* obj0
= 0 ;
9040 (char *) "self", NULL
9043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 result
= (int)(arg1
)->GetYMin();
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= PyInt_FromLong((long)result
);
9059 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
;
9061 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9063 PyObject
* obj0
= 0 ;
9065 (char *) "self", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9072 result
= (int)(arg1
)->GetZMin();
9074 wxPyEndAllowThreads(__tstate
);
9075 if (PyErr_Occurred()) SWIG_fail
;
9077 resultobj
= PyInt_FromLong((long)result
);
9084 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9085 PyObject
*resultobj
;
9086 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9088 PyObject
* obj0
= 0 ;
9090 (char *) "self", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 result
= (int)(arg1
)->GetXMax();
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 resultobj
= PyInt_FromLong((long)result
);
9109 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (int)(arg1
)->GetYMax();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyInt_FromLong((long)result
);
9134 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9138 PyObject
* obj0
= 0 ;
9140 (char *) "self", NULL
9143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 result
= (int)(arg1
)->GetZMax();
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= PyInt_FromLong((long)result
);
9159 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9163 PyObject
* obj0
= 0 ;
9165 (char *) "self", NULL
9168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 result
= (int)(arg1
)->GetNumberButtons();
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 resultobj
= PyInt_FromLong((long)result
);
9184 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9188 PyObject
* obj0
= 0 ;
9190 (char *) "self", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9197 result
= (int)(arg1
)->GetNumberAxes();
9199 wxPyEndAllowThreads(__tstate
);
9200 if (PyErr_Occurred()) SWIG_fail
;
9202 resultobj
= PyInt_FromLong((long)result
);
9209 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (int)(arg1
)->GetMaxButtons();
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= PyInt_FromLong((long)result
);
9234 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (int)(arg1
)->GetMaxAxes();
9249 wxPyEndAllowThreads(__tstate
);
9250 if (PyErr_Occurred()) SWIG_fail
;
9252 resultobj
= PyInt_FromLong((long)result
);
9259 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9260 PyObject
*resultobj
;
9261 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9263 PyObject
* obj0
= 0 ;
9265 (char *) "self", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 result
= (int)(arg1
)->GetPollingMin();
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9277 resultobj
= PyInt_FromLong((long)result
);
9284 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9285 PyObject
*resultobj
;
9286 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9288 PyObject
* obj0
= 0 ;
9290 (char *) "self", NULL
9293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (int)(arg1
)->GetPollingMax();
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= PyInt_FromLong((long)result
);
9309 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9315 (char *) "self", NULL
9318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 result
= (int)(arg1
)->GetRudderMin();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= PyInt_FromLong((long)result
);
9334 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9335 PyObject
*resultobj
;
9336 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9338 PyObject
* obj0
= 0 ;
9340 (char *) "self", NULL
9343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 result
= (int)(arg1
)->GetRudderMax();
9349 wxPyEndAllowThreads(__tstate
);
9350 if (PyErr_Occurred()) SWIG_fail
;
9352 resultobj
= PyInt_FromLong((long)result
);
9359 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
;
9361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9363 PyObject
* obj0
= 0 ;
9365 (char *) "self", NULL
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (int)(arg1
)->GetUMin();
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= PyInt_FromLong((long)result
);
9384 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9388 PyObject
* obj0
= 0 ;
9390 (char *) "self", NULL
9393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9397 result
= (int)(arg1
)->GetUMax();
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= PyInt_FromLong((long)result
);
9409 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9410 PyObject
*resultobj
;
9411 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9413 PyObject
* obj0
= 0 ;
9415 (char *) "self", NULL
9418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (int)(arg1
)->GetVMin();
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= PyInt_FromLong((long)result
);
9434 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9438 PyObject
* obj0
= 0 ;
9440 (char *) "self", NULL
9443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (int)(arg1
)->GetVMax();
9449 wxPyEndAllowThreads(__tstate
);
9450 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= PyInt_FromLong((long)result
);
9459 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9460 PyObject
*resultobj
;
9461 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (bool)(arg1
)->HasRudder();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= PyInt_FromLong((long)result
);
9484 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
;
9486 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (bool)(arg1
)->HasZ();
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= PyInt_FromLong((long)result
);
9509 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9510 PyObject
*resultobj
;
9511 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (bool)(arg1
)->HasU();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= PyInt_FromLong((long)result
);
9534 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)(arg1
)->HasV();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= PyInt_FromLong((long)result
);
9559 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9572 result
= (bool)(arg1
)->HasPOV();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= PyInt_FromLong((long)result
);
9584 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9585 PyObject
*resultobj
;
9586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9588 PyObject
* obj0
= 0 ;
9590 (char *) "self", NULL
9593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9597 result
= (bool)(arg1
)->HasPOV4Dir();
9599 wxPyEndAllowThreads(__tstate
);
9600 if (PyErr_Occurred()) SWIG_fail
;
9602 resultobj
= PyInt_FromLong((long)result
);
9609 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9610 PyObject
*resultobj
;
9611 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9613 PyObject
* obj0
= 0 ;
9615 (char *) "self", NULL
9618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (bool)(arg1
)->HasPOVCTS();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= PyInt_FromLong((long)result
);
9634 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9637 wxWindow
*arg2
= (wxWindow
*) 0 ;
9638 int arg3
= (int) 0 ;
9640 PyObject
* obj0
= 0 ;
9641 PyObject
* obj1
= 0 ;
9643 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= PyInt_FromLong((long)result
);
9663 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9676 result
= (bool)(arg1
)->ReleaseCapture();
9678 wxPyEndAllowThreads(__tstate
);
9679 if (PyErr_Occurred()) SWIG_fail
;
9681 resultobj
= PyInt_FromLong((long)result
);
9688 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9691 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9693 return Py_BuildValue((char *)"");
9695 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9698 wxPoint
*arg2
= (wxPoint
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9700 PyObject
* obj1
= 0 ;
9702 (char *) "self",(char *) "m_pos", NULL
9705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9707 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9708 if (arg1
) (arg1
)->m_pos
= *arg2
;
9710 Py_INCREF(Py_None
); resultobj
= Py_None
;
9717 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9721 PyObject
* obj0
= 0 ;
9723 (char *) "self", NULL
9726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9728 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9737 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self",(char *) "m_zPosition", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9748 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9750 Py_INCREF(Py_None
); resultobj
= Py_None
;
9757 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
;
9759 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9763 (char *) "self", NULL
9766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9768 result
= (int) ((arg1
)->m_zPosition
);
9770 resultobj
= PyInt_FromLong((long)result
);
9777 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self",(char *) "m_buttonChange", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9788 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9790 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9808 result
= (int) ((arg1
)->m_buttonChange
);
9810 resultobj
= PyInt_FromLong((long)result
);
9817 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9818 PyObject
*resultobj
;
9819 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9821 PyObject
* obj0
= 0 ;
9823 (char *) "self",(char *) "m_buttonState", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9828 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9830 Py_INCREF(Py_None
); resultobj
= Py_None
;
9837 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9838 PyObject
*resultobj
;
9839 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9843 (char *) "self", NULL
9846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9848 result
= (int) ((arg1
)->m_buttonState
);
9850 resultobj
= PyInt_FromLong((long)result
);
9857 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9858 PyObject
*resultobj
;
9859 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9861 PyObject
* obj0
= 0 ;
9863 (char *) "self",(char *) "m_joyStick", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9868 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9870 Py_INCREF(Py_None
); resultobj
= Py_None
;
9877 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9878 PyObject
*resultobj
;
9879 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9883 (char *) "self", NULL
9886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9888 result
= (int) ((arg1
)->m_joyStick
);
9890 resultobj
= PyInt_FromLong((long)result
);
9897 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9898 PyObject
*resultobj
;
9899 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9900 int arg2
= (int) 0 ;
9901 int arg3
= (int) wxJOYSTICK1
;
9902 int arg4
= (int) 0 ;
9903 wxJoystickEvent
*result
;
9905 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
9923 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9929 (char *) "self", NULL
9932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 wxPoint
* resultptr
;
9943 resultptr
= new wxPoint((wxPoint
&) result
);
9944 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9952 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
;
9954 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9956 PyObject
* obj0
= 0 ;
9958 (char *) "self", NULL
9961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
9962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= PyInt_FromLong((long)result
);
9977 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9990 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
9992 wxPyEndAllowThreads(__tstate
);
9993 if (PyErr_Occurred()) SWIG_fail
;
9995 resultobj
= PyInt_FromLong((long)result
);
10002 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10006 PyObject
* obj0
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10015 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10017 wxPyEndAllowThreads(__tstate
);
10018 if (PyErr_Occurred()) SWIG_fail
;
10020 resultobj
= PyInt_FromLong((long)result
);
10027 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
;
10029 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10031 PyObject
* obj0
= 0 ;
10032 char *kwnames
[] = {
10033 (char *) "self", NULL
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10040 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10042 wxPyEndAllowThreads(__tstate
);
10043 if (PyErr_Occurred()) SWIG_fail
;
10045 resultobj
= PyInt_FromLong((long)result
);
10052 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10053 PyObject
*resultobj
;
10054 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 char *kwnames
[] = {
10058 (char *) "self",(char *) "stick", NULL
10061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 (arg1
)->SetJoystick(arg2
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 Py_INCREF(Py_None
); resultobj
= Py_None
;
10077 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self",(char *) "state", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10090 (arg1
)->SetButtonState(arg2
);
10092 wxPyEndAllowThreads(__tstate
);
10093 if (PyErr_Occurred()) SWIG_fail
;
10095 Py_INCREF(Py_None
); resultobj
= Py_None
;
10102 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10103 PyObject
*resultobj
;
10104 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10106 PyObject
* obj0
= 0 ;
10107 char *kwnames
[] = {
10108 (char *) "self",(char *) "change", NULL
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 (arg1
)->SetButtonChange(arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10130 wxPoint
*arg2
= 0 ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char *kwnames
[] = {
10135 (char *) "self",(char *) "pos", NULL
10138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10142 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10146 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10148 wxPyEndAllowThreads(__tstate
);
10149 if (PyErr_Occurred()) SWIG_fail
;
10151 Py_INCREF(Py_None
); resultobj
= Py_None
;
10158 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10162 PyObject
* obj0
= 0 ;
10163 char *kwnames
[] = {
10164 (char *) "self",(char *) "zPos", NULL
10167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 (arg1
)->SetZPosition(arg2
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 Py_INCREF(Py_None
); resultobj
= Py_None
;
10183 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10198 wxPyEndAllowThreads(__tstate
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10201 resultobj
= PyInt_FromLong((long)result
);
10208 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10209 PyObject
*resultobj
;
10210 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10212 PyObject
* obj0
= 0 ;
10213 char *kwnames
[] = {
10214 (char *) "self", NULL
10217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10226 resultobj
= PyInt_FromLong((long)result
);
10233 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10234 PyObject
*resultobj
;
10235 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10237 PyObject
* obj0
= 0 ;
10238 char *kwnames
[] = {
10239 (char *) "self", NULL
10242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= PyInt_FromLong((long)result
);
10258 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10259 PyObject
*resultobj
;
10260 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10261 int arg2
= (int) wxJOY_BUTTON_ANY
;
10263 PyObject
* obj0
= 0 ;
10264 char *kwnames
[] = {
10265 (char *) "self",(char *) "but", NULL
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10272 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= PyInt_FromLong((long)result
);
10284 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10285 PyObject
*resultobj
;
10286 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10287 int arg2
= (int) wxJOY_BUTTON_ANY
;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self",(char *) "but", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 resultobj
= PyInt_FromLong((long)result
);
10310 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10313 int arg2
= (int) wxJOY_BUTTON_ANY
;
10315 PyObject
* obj0
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "self",(char *) "but", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= PyInt_FromLong((long)result
);
10336 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10339 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10341 return Py_BuildValue((char *)"");
10343 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxString
*arg1
= 0 ;
10346 bool arg2
= (bool) False
;
10348 bool temp1
= False
;
10349 PyObject
* obj0
= 0 ;
10350 PyObject
* obj1
= 0 ;
10351 char *kwnames
[] = {
10352 (char *) "fileName",(char *) "isResource", NULL
10355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10357 arg1
= wxString_in_helper(obj0
);
10358 if (arg1
== NULL
) SWIG_fail
;
10362 arg2
= PyInt_AsLong(obj1
) ? true : false;
10363 if (PyErr_Occurred()) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10387 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10388 PyObject
*resultobj
;
10389 wxString
*arg1
= 0 ;
10391 bool temp1
= False
;
10392 PyObject
* obj0
= 0 ;
10393 char *kwnames
[] = {
10394 (char *) "data", NULL
10397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10399 arg1
= wxString_in_helper(obj0
);
10400 if (arg1
== NULL
) SWIG_fail
;
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10407 wxPyEndAllowThreads(__tstate
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10425 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxWave
*arg1
= (wxWave
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 Py_INCREF(Py_None
); resultobj
= Py_None
;
10449 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxWave
*arg1
= (wxWave
*) 0 ;
10453 PyObject
* obj0
= 0 ;
10454 char *kwnames
[] = {
10455 (char *) "self", NULL
10458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= PyInt_FromLong((long)result
);
10474 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxWave
*arg1
= (wxWave
*) 0 ;
10477 bool arg2
= (bool) True
;
10478 bool arg3
= (bool) False
;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 PyObject
* obj2
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self",(char *) "async",(char *) "looped", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10490 arg2
= PyInt_AsLong(obj1
) ? true : false;
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 arg3
= PyInt_AsLong(obj2
) ? true : false;
10495 if (PyErr_Occurred()) SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 resultobj
= PyInt_FromLong((long)result
);
10511 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10514 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10516 return Py_BuildValue((char *)"");
10518 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxString
*arg1
= 0 ;
10521 wxString
*arg2
= 0 ;
10522 wxString
*arg3
= 0 ;
10523 wxString
*arg4
= 0 ;
10524 wxFileTypeInfo
*result
;
10525 bool temp1
= False
;
10526 bool temp2
= False
;
10527 bool temp3
= False
;
10528 bool temp4
= False
;
10529 PyObject
* obj0
= 0 ;
10530 PyObject
* obj1
= 0 ;
10531 PyObject
* obj2
= 0 ;
10532 PyObject
* obj3
= 0 ;
10533 char *kwnames
[] = {
10534 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10539 arg1
= wxString_in_helper(obj0
);
10540 if (arg1
== NULL
) SWIG_fail
;
10544 arg2
= wxString_in_helper(obj1
);
10545 if (arg2
== NULL
) SWIG_fail
;
10549 arg3
= wxString_in_helper(obj2
);
10550 if (arg3
== NULL
) SWIG_fail
;
10554 arg4
= wxString_in_helper(obj3
);
10555 if (arg4
== NULL
) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10604 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxArrayString
*arg1
= 0 ;
10607 wxFileTypeInfo
*result
;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "sArray", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10615 if (! PySequence_Check(obj0
)) {
10616 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10619 arg1
= new wxArrayString
;
10620 int i
, len
=PySequence_Length(obj0
);
10621 for (i
=0; i
<len
; i
++) {
10622 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10624 PyObject
* str
= PyObject_Unicode(item
);
10626 PyObject
* str
= PyObject_Str(item
);
10628 arg1
->Add(Py2wxString(str
));
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10642 if (arg1
) delete arg1
;
10647 if (arg1
) delete arg1
;
10653 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
;
10655 wxFileTypeInfo
*result
;
10656 char *kwnames
[] = {
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10675 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10676 PyObject
*resultobj
;
10677 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10679 PyObject
* obj0
= 0 ;
10680 char *kwnames
[] = {
10681 (char *) "self", NULL
10684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10688 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10690 wxPyEndAllowThreads(__tstate
);
10691 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= PyInt_FromLong((long)result
);
10700 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10701 PyObject
*resultobj
;
10702 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10703 wxString
*arg2
= 0 ;
10704 int arg3
= (int) 0 ;
10705 bool temp2
= False
;
10706 PyObject
* obj0
= 0 ;
10707 PyObject
* obj1
= 0 ;
10708 char *kwnames
[] = {
10709 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10715 arg2
= wxString_in_helper(obj1
);
10716 if (arg2
== NULL
) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10741 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10744 wxString
*arg2
= 0 ;
10745 bool temp2
= False
;
10746 PyObject
* obj0
= 0 ;
10747 PyObject
* obj1
= 0 ;
10748 char *kwnames
[] = {
10749 (char *) "self",(char *) "shortDesc", NULL
10752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10755 arg2
= wxString_in_helper(obj1
);
10756 if (arg2
== NULL
) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10785 PyObject
* obj0
= 0 ;
10786 char *kwnames
[] = {
10787 (char *) "self", NULL
10790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10796 result
= (wxString
*) &_result_ref
;
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10809 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10824 result
= (wxString
*) &_result_ref
;
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10837 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
;
10839 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10841 PyObject
* obj0
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10851 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10852 result
= (wxString
*) &_result_ref
;
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10865 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
;
10867 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10869 PyObject
* obj0
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10879 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10880 result
= (wxString
*) &_result_ref
;
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10893 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
10908 result
= (wxString
*) &_result_ref
;
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10921 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10922 PyObject
*resultobj
;
10923 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10924 wxArrayString
*result
;
10925 PyObject
* obj0
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
10936 result
= (wxArrayString
*) &_result_ref
;
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= wxArrayString2PyList_helper(*result
);
10951 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10952 PyObject
*resultobj
;
10953 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10955 PyObject
* obj0
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= PyInt_FromLong((long)result
);
10976 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10977 PyObject
*resultobj
;
10978 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10980 PyObject
* obj0
= 0 ;
10981 char *kwnames
[] = {
10982 (char *) "self", NULL
10985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
10986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
10991 result
= (wxString
*) &_result_ref
;
10994 wxPyEndAllowThreads(__tstate
);
10995 if (PyErr_Occurred()) SWIG_fail
;
10997 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
11004 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 char *kwnames
[] = {
11010 (char *) "self", NULL
11013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
11014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
11019 wxPyEndAllowThreads(__tstate
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= PyInt_FromLong((long)result
);
11029 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
11031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11032 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
11034 return Py_BuildValue((char *)"");
11036 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11037 PyObject
*resultobj
;
11038 wxFileTypeInfo
*arg1
= 0 ;
11039 wxFileType
*result
;
11040 PyObject
* obj0
= 0 ;
11041 char *kwnames
[] = {
11042 (char *) "ftInfo", NULL
11045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
11046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11047 if (arg1
== NULL
) {
11048 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11064 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxFileType
*arg1
= (wxFileType
*) 0 ;
11067 PyObject
* obj0
= 0 ;
11068 char *kwnames
[] = {
11069 (char *) "self", NULL
11072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 Py_INCREF(Py_None
); resultobj
= Py_None
;
11088 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxFileType
*arg1
= (wxFileType
*) 0 ;
11092 PyObject
* obj0
= 0 ;
11093 char *kwnames
[] = {
11094 (char *) "self", NULL
11097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11101 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= result
;
11113 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxFileType
*arg1
= (wxFileType
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= result
;
11138 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxFileType
*arg1
= (wxFileType
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11151 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11153 wxPyEndAllowThreads(__tstate
);
11154 if (PyErr_Occurred()) SWIG_fail
;
11156 resultobj
= result
;
11163 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 wxFileType
*arg1
= (wxFileType
*) 0 ;
11167 PyObject
* obj0
= 0 ;
11168 char *kwnames
[] = {
11169 (char *) "self", NULL
11172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11178 wxPyEndAllowThreads(__tstate
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11188 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11189 PyObject
*resultobj
;
11190 wxFileType
*arg1
= (wxFileType
*) 0 ;
11192 PyObject
* obj0
= 0 ;
11193 char *kwnames
[] = {
11194 (char *) "self", NULL
11197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= result
;
11213 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
;
11215 wxFileType
*arg1
= (wxFileType
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11226 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11228 wxPyEndAllowThreads(__tstate
);
11229 if (PyErr_Occurred()) SWIG_fail
;
11231 resultobj
= result
;
11238 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxFileType
*arg1
= (wxFileType
*) 0 ;
11241 wxString
*arg2
= 0 ;
11242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11245 bool temp2
= False
;
11246 bool temp3
= False
;
11247 PyObject
* obj0
= 0 ;
11248 PyObject
* obj1
= 0 ;
11249 PyObject
* obj2
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11257 arg2
= wxString_in_helper(obj1
);
11258 if (arg2
== NULL
) SWIG_fail
;
11263 arg3
= wxString_in_helper(obj2
);
11264 if (arg3
== NULL
) SWIG_fail
;
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11270 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11272 wxPyEndAllowThreads(__tstate
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 resultobj
= result
;
11298 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxFileType
*arg1
= (wxFileType
*) 0 ;
11301 wxString
*arg2
= 0 ;
11302 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11303 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11305 bool temp2
= False
;
11306 bool temp3
= False
;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 PyObject
* obj2
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11317 arg2
= wxString_in_helper(obj1
);
11318 if (arg2
== NULL
) SWIG_fail
;
11323 arg3
= wxString_in_helper(obj2
);
11324 if (arg3
== NULL
) SWIG_fail
;
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11332 wxPyEndAllowThreads(__tstate
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 resultobj
= result
;
11358 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
;
11360 wxFileType
*arg1
= (wxFileType
*) 0 ;
11361 wxString
*arg2
= 0 ;
11362 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11363 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11365 bool temp2
= False
;
11366 bool temp3
= False
;
11367 PyObject
* obj0
= 0 ;
11368 PyObject
* obj1
= 0 ;
11369 PyObject
* obj2
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11377 arg2
= wxString_in_helper(obj1
);
11378 if (arg2
== NULL
) SWIG_fail
;
11383 arg3
= wxString_in_helper(obj2
);
11384 if (arg3
== NULL
) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= result
;
11418 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11419 PyObject
*resultobj
;
11420 wxFileType
*arg1
= (wxFileType
*) 0 ;
11421 wxString
*arg2
= 0 ;
11422 wxString
*arg3
= 0 ;
11423 bool arg4
= (bool) True
;
11425 bool temp2
= False
;
11426 bool temp3
= False
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 PyObject
* obj2
= 0 ;
11430 PyObject
* obj3
= 0 ;
11431 char *kwnames
[] = {
11432 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11438 arg2
= wxString_in_helper(obj1
);
11439 if (arg2
== NULL
) SWIG_fail
;
11443 arg3
= wxString_in_helper(obj2
);
11444 if (arg3
== NULL
) SWIG_fail
;
11448 arg4
= PyInt_AsLong(obj3
) ? true : false;
11449 if (PyErr_Occurred()) SWIG_fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= PyInt_FromLong((long)result
);
11481 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxFileType
*arg1
= (wxFileType
*) 0 ;
11484 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11485 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11486 int arg3
= (int) 0 ;
11488 bool temp2
= False
;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 char *kwnames
[] = {
11492 (char *) "self",(char *) "cmd",(char *) "index", NULL
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11499 arg2
= wxString_in_helper(obj1
);
11500 if (arg2
== NULL
) SWIG_fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= PyInt_FromLong((long)result
);
11526 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxFileType
*arg1
= (wxFileType
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (bool)(arg1
)->Unassociate();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= PyInt_FromLong((long)result
);
11551 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxString
*arg1
= 0 ;
11554 wxString
*arg2
= 0 ;
11555 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11556 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11558 bool temp1
= False
;
11559 bool temp2
= False
;
11560 bool temp3
= False
;
11561 PyObject
* obj0
= 0 ;
11562 PyObject
* obj1
= 0 ;
11563 PyObject
* obj2
= 0 ;
11564 char *kwnames
[] = {
11565 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11570 arg1
= wxString_in_helper(obj0
);
11571 if (arg1
== NULL
) SWIG_fail
;
11575 arg2
= wxString_in_helper(obj1
);
11576 if (arg2
== NULL
) SWIG_fail
;
11581 arg3
= wxString_in_helper(obj2
);
11582 if (arg3
== NULL
) SWIG_fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11630 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11633 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11635 return Py_BuildValue((char *)"");
11637 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11638 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11643 static PyObject
*_wrap_TheMimeTypesManager_get() {
11646 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11651 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxString
*arg1
= 0 ;
11654 wxString
*arg2
= 0 ;
11656 bool temp1
= False
;
11657 bool temp2
= False
;
11658 PyObject
* obj0
= 0 ;
11659 PyObject
* obj1
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "mimeType",(char *) "wildcard", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11666 arg1
= wxString_in_helper(obj0
);
11667 if (arg1
== NULL
) SWIG_fail
;
11671 arg2
= wxString_in_helper(obj1
);
11672 if (arg2
== NULL
) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= PyInt_FromLong((long)result
);
11705 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11706 PyObject
*resultobj
;
11707 wxMimeTypesManager
*result
;
11708 char *kwnames
[] = {
11712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11717 wxPyEndAllowThreads(__tstate
);
11718 if (PyErr_Occurred()) SWIG_fail
;
11720 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11727 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11728 PyObject
*resultobj
;
11729 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11730 int arg2
= (int) wxMAILCAP_ALL
;
11731 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11732 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11733 bool temp3
= False
;
11734 PyObject
* obj0
= 0 ;
11735 PyObject
* obj2
= 0 ;
11736 char *kwnames
[] = {
11737 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11744 arg3
= wxString_in_helper(obj2
);
11745 if (arg3
== NULL
) SWIG_fail
;
11750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11753 wxPyEndAllowThreads(__tstate
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11756 Py_INCREF(Py_None
); resultobj
= Py_None
;
11771 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11774 PyObject
* obj0
= 0 ;
11775 char *kwnames
[] = {
11776 (char *) "self", NULL
11779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 (arg1
)->ClearData();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 Py_INCREF(Py_None
); resultobj
= Py_None
;
11795 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11798 wxString
*arg2
= 0 ;
11799 wxFileType
*result
;
11800 bool temp2
= False
;
11801 PyObject
* obj0
= 0 ;
11802 PyObject
* obj1
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "ext", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11810 arg2
= wxString_in_helper(obj1
);
11811 if (arg2
== NULL
) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11836 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
;
11838 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11839 wxString
*arg2
= 0 ;
11840 wxFileType
*result
;
11841 bool temp2
= False
;
11842 PyObject
* obj0
= 0 ;
11843 PyObject
* obj1
= 0 ;
11844 char *kwnames
[] = {
11845 (char *) "self",(char *) "mimeType", NULL
11848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11851 arg2
= wxString_in_helper(obj1
);
11852 if (arg2
== NULL
) SWIG_fail
;
11856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11857 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11859 wxPyEndAllowThreads(__tstate
);
11860 if (PyErr_Occurred()) SWIG_fail
;
11862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11877 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11880 wxString
*arg2
= 0 ;
11881 bool arg3
= (bool) False
;
11883 bool temp2
= False
;
11884 PyObject
* obj0
= 0 ;
11885 PyObject
* obj1
= 0 ;
11886 PyObject
* obj2
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11894 arg2
= wxString_in_helper(obj1
);
11895 if (arg2
== NULL
) SWIG_fail
;
11899 arg3
= PyInt_AsLong(obj2
) ? true : false;
11900 if (PyErr_Occurred()) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= PyInt_FromLong((long)result
);
11924 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11927 wxString
*arg2
= 0 ;
11929 bool temp2
= False
;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char *kwnames
[] = {
11933 (char *) "self",(char *) "filename", NULL
11936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
11937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11939 arg2
= wxString_in_helper(obj1
);
11940 if (arg2
== NULL
) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= PyInt_FromLong((long)result
);
11965 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11966 PyObject
*resultobj
;
11967 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
;
11990 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11993 wxFileTypeInfo
*arg2
= 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "ft", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12002 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12003 if (arg2
== NULL
) {
12004 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 Py_INCREF(Py_None
); resultobj
= Py_None
;
12020 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12021 PyObject
*resultobj
;
12022 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12023 wxFileTypeInfo
*arg2
= 0 ;
12024 wxFileType
*result
;
12025 PyObject
* obj0
= 0 ;
12026 PyObject
* obj1
= 0 ;
12027 char *kwnames
[] = {
12028 (char *) "self",(char *) "ftInfo", NULL
12031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
12032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12033 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12034 if (arg2
== NULL
) {
12035 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12051 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12054 wxFileType
*arg2
= (wxFileType
*) 0 ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self",(char *) "ft", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)(arg1
)->Unassociate(arg2
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= PyInt_FromLong((long)result
);
12079 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12082 PyObject
* obj0
= 0 ;
12083 char *kwnames
[] = {
12084 (char *) "self", NULL
12087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 Py_INCREF(Py_None
); resultobj
= Py_None
;
12103 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12106 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12108 return Py_BuildValue((char *)"");
12110 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12111 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12116 static PyObject
*_wrap_ART_TOOLBAR_get() {
12121 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12123 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12130 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12131 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12136 static PyObject
*_wrap_ART_MENU_get() {
12141 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12143 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12150 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12151 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12156 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12161 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12163 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12170 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12171 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12176 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12181 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12183 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12190 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12191 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12196 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12201 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12203 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12210 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12211 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12216 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12221 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12223 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12230 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12231 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12236 static PyObject
*_wrap_ART_OTHER_get() {
12241 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12243 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12250 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12251 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12256 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12261 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12263 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12270 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12271 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12276 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12281 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12283 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12290 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12291 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12296 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12301 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12303 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12310 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12311 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12316 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12321 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12323 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12330 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12331 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12336 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12341 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12343 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12350 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12351 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12356 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12361 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12363 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12370 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12371 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12376 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12381 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12383 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12390 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12391 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12396 static PyObject
*_wrap_ART_GO_BACK_get() {
12401 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12403 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12410 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12411 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12416 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12421 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12423 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12430 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12431 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12436 static PyObject
*_wrap_ART_GO_UP_get() {
12441 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12443 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12450 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12451 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12456 static PyObject
*_wrap_ART_GO_DOWN_get() {
12461 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12463 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12470 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12471 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12476 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12481 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12483 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12490 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12491 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12496 static PyObject
*_wrap_ART_GO_HOME_get() {
12501 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12503 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12510 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12511 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12516 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12521 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12523 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12530 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12531 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12536 static PyObject
*_wrap_ART_PRINT_get() {
12541 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12543 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12550 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12551 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12556 static PyObject
*_wrap_ART_HELP_get() {
12561 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12563 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12570 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12571 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12576 static PyObject
*_wrap_ART_TIP_get() {
12581 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12583 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12590 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12591 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12596 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12601 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12603 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12610 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12611 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12616 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12621 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12623 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12630 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12631 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12636 static PyObject
*_wrap_ART_NEW_DIR_get() {
12641 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12643 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12650 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12651 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12656 static PyObject
*_wrap_ART_FOLDER_get() {
12661 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12663 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12670 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12671 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12676 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12681 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12683 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12690 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12691 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12696 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12701 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12703 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12710 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12711 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12716 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12721 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12723 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12730 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12731 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12736 static PyObject
*_wrap_ART_TICK_MARK_get() {
12741 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12743 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12750 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12751 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12756 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12761 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12763 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12770 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12771 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12776 static PyObject
*_wrap_ART_ERROR_get() {
12781 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12783 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12790 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12791 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12796 static PyObject
*_wrap_ART_QUESTION_get() {
12801 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12803 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12810 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12811 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12816 static PyObject
*_wrap_ART_WARNING_get() {
12821 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12823 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12830 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12831 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12836 static PyObject
*_wrap_ART_INFORMATION_get() {
12841 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12843 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12850 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12851 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12856 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12861 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12863 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12870 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxPyArtProvider
*result
;
12873 char *kwnames
[] = {
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= (wxPyArtProvider
*)new wxPyArtProvider();
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
12892 static PyObject
*_wrap_delete_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12919 PyObject
*arg2
= (PyObject
*) 0 ;
12920 PyObject
*arg3
= (PyObject
*) 0 ;
12921 PyObject
* obj0
= 0 ;
12922 PyObject
* obj1
= 0 ;
12923 PyObject
* obj2
= 0 ;
12924 char *kwnames
[] = {
12925 (char *) "self",(char *) "self",(char *) "_class", NULL
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 Py_INCREF(Py_None
); resultobj
= Py_None
;
12946 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12947 PyObject
*resultobj
;
12948 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12949 PyObject
* obj0
= 0 ;
12950 char *kwnames
[] = {
12951 (char *) "provider", NULL
12954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
12955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12958 wxPyArtProvider::PushProvider(arg1
);
12960 wxPyEndAllowThreads(__tstate
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12963 Py_INCREF(Py_None
); resultobj
= Py_None
;
12970 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12971 PyObject
*resultobj
;
12973 char *kwnames
[] = {
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
12979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12980 result
= (bool)wxPyArtProvider::PopProvider();
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12985 resultobj
= PyInt_FromLong((long)result
);
12992 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12993 PyObject
*resultobj
;
12994 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "provider", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
13007 wxPyEndAllowThreads(__tstate
);
13008 if (PyErr_Occurred()) SWIG_fail
;
13010 resultobj
= PyInt_FromLong((long)result
);
13017 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxString
*arg1
= 0 ;
13020 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13021 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13022 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13023 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13025 bool temp1
= False
;
13026 bool temp2
= False
;
13028 PyObject
* obj0
= 0 ;
13029 PyObject
* obj1
= 0 ;
13030 PyObject
* obj2
= 0 ;
13031 char *kwnames
[] = {
13032 (char *) "id",(char *) "client",(char *) "size", NULL
13035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13037 arg1
= wxString_in_helper(obj0
);
13038 if (arg1
== NULL
) SWIG_fail
;
13043 arg2
= wxString_in_helper(obj1
);
13044 if (arg2
== NULL
) SWIG_fail
;
13051 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13062 wxBitmap
* resultptr
;
13063 resultptr
= new wxBitmap((wxBitmap
&) result
);
13064 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13088 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13089 PyObject
*resultobj
;
13090 wxString
*arg1
= 0 ;
13091 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13092 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13093 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13094 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13096 bool temp1
= False
;
13097 bool temp2
= False
;
13099 PyObject
* obj0
= 0 ;
13100 PyObject
* obj1
= 0 ;
13101 PyObject
* obj2
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "id",(char *) "client",(char *) "size", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13108 arg1
= wxString_in_helper(obj0
);
13109 if (arg1
== NULL
) SWIG_fail
;
13114 arg2
= wxString_in_helper(obj1
);
13115 if (arg2
== NULL
) SWIG_fail
;
13122 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 wxIcon
* resultptr
;
13134 resultptr
= new wxIcon((wxIcon
&) result
);
13135 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13159 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13162 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13164 return Py_BuildValue((char *)"");
13166 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 wxPyEndAllowThreads(__tstate
);
13181 if (PyErr_Occurred()) SWIG_fail
;
13183 Py_INCREF(Py_None
); resultobj
= Py_None
;
13190 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13193 wxConfigBase
*result
;
13194 PyObject
* obj0
= 0 ;
13195 char *kwnames
[] = {
13196 (char *) "pConfig", NULL
13199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13215 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 bool arg1
= (bool) True
;
13218 wxConfigBase
*result
;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "createOnDemand", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13226 arg1
= PyInt_AsLong(obj0
) ? true : false;
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13243 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxConfigBase
*result
;
13246 char *kwnames
[] = {
13250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13253 result
= (wxConfigBase
*)wxConfigBase::Create();
13255 wxPyEndAllowThreads(__tstate
);
13256 if (PyErr_Occurred()) SWIG_fail
;
13258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13265 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13266 PyObject
*resultobj
;
13267 char *kwnames
[] = {
13271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 wxConfigBase::DontCreateOnDemand();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 Py_INCREF(Py_None
); resultobj
= Py_None
;
13286 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13289 wxString
*arg2
= 0 ;
13290 bool temp2
= False
;
13291 PyObject
* obj0
= 0 ;
13292 PyObject
* obj1
= 0 ;
13293 char *kwnames
[] = {
13294 (char *) "self",(char *) "strPath", NULL
13297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13300 arg2
= wxString_in_helper(obj1
);
13301 if (arg2
== NULL
) SWIG_fail
;
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->SetPath((wxString
const &)*arg2
);
13308 wxPyEndAllowThreads(__tstate
);
13309 if (PyErr_Occurred()) SWIG_fail
;
13311 Py_INCREF(Py_None
); resultobj
= Py_None
;
13326 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13327 PyObject
*resultobj
;
13328 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13330 PyObject
* obj0
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13341 result
= (wxString
*) &_result_ref
;
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
13354 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 char *kwnames
[] = {
13360 (char *) "self", NULL
13363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13367 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13369 wxPyEndAllowThreads(__tstate
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 resultobj
= result
;
13379 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "index", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= result
;
13405 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13406 PyObject
*resultobj
;
13407 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13409 PyObject
* obj0
= 0 ;
13410 char *kwnames
[] = {
13411 (char *) "self", NULL
13414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 resultobj
= result
;
13430 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "index", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13444 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 resultobj
= result
;
13456 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13459 bool arg2
= (bool) False
;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self",(char *) "bRecursive", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13470 arg2
= PyInt_AsLong(obj1
) ? true : false;
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= PyInt_FromLong((long)result
);
13487 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13488 PyObject
*resultobj
;
13489 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13490 bool arg2
= (bool) False
;
13492 PyObject
* obj0
= 0 ;
13493 PyObject
* obj1
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self",(char *) "bRecursive", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13501 arg2
= PyInt_AsLong(obj1
) ? true : false;
13502 if (PyErr_Occurred()) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= PyInt_FromLong((long)result
);
13518 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13521 wxString
*arg2
= 0 ;
13523 bool temp2
= False
;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "strName", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 arg2
= wxString_in_helper(obj1
);
13534 if (arg2
== NULL
) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= PyInt_FromLong((long)result
);
13559 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13560 PyObject
*resultobj
;
13561 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13562 wxString
*arg2
= 0 ;
13564 bool temp2
= False
;
13565 PyObject
* obj0
= 0 ;
13566 PyObject
* obj1
= 0 ;
13567 char *kwnames
[] = {
13568 (char *) "self",(char *) "strName", NULL
13571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13574 arg2
= wxString_in_helper(obj1
);
13575 if (arg2
== NULL
) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 resultobj
= PyInt_FromLong((long)result
);
13600 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13601 PyObject
*resultobj
;
13602 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13603 wxString
*arg2
= 0 ;
13605 bool temp2
= False
;
13606 PyObject
* obj0
= 0 ;
13607 PyObject
* obj1
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self",(char *) "strName", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13615 arg2
= wxString_in_helper(obj1
);
13616 if (arg2
== NULL
) SWIG_fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= PyInt_FromLong((long)result
);
13641 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13642 PyObject
*resultobj
;
13643 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13644 wxString
*arg2
= 0 ;
13646 bool temp2
= False
;
13647 PyObject
* obj0
= 0 ;
13648 PyObject
* obj1
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self",(char *) "name", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13656 arg2
= wxString_in_helper(obj1
);
13657 if (arg2
== NULL
) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= PyInt_FromLong((long)result
);
13682 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13683 PyObject
*resultobj
;
13684 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13685 wxString
*arg2
= 0 ;
13686 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13689 bool temp2
= False
;
13690 bool temp3
= False
;
13691 PyObject
* obj0
= 0 ;
13692 PyObject
* obj1
= 0 ;
13693 PyObject
* obj2
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13701 arg2
= wxString_in_helper(obj1
);
13702 if (arg2
== NULL
) SWIG_fail
;
13707 arg3
= wxString_in_helper(obj2
);
13708 if (arg3
== NULL
) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13748 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13749 PyObject
*resultobj
;
13750 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13751 wxString
*arg2
= 0 ;
13752 long arg3
= (long) 0 ;
13754 bool temp2
= False
;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13764 arg2
= wxString_in_helper(obj1
);
13765 if (arg2
== NULL
) SWIG_fail
;
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13772 wxPyEndAllowThreads(__tstate
);
13773 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= PyInt_FromLong((long)result
);
13790 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13793 wxString
*arg2
= 0 ;
13794 double arg3
= (double) 0.0 ;
13796 bool temp2
= False
;
13797 PyObject
* obj0
= 0 ;
13798 PyObject
* obj1
= 0 ;
13799 char *kwnames
[] = {
13800 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13806 arg2
= wxString_in_helper(obj1
);
13807 if (arg2
== NULL
) SWIG_fail
;
13811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13812 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13814 wxPyEndAllowThreads(__tstate
);
13815 if (PyErr_Occurred()) SWIG_fail
;
13817 resultobj
= PyFloat_FromDouble(result
);
13832 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13835 wxString
*arg2
= 0 ;
13836 bool arg3
= (bool) False
;
13838 bool temp2
= False
;
13839 PyObject
* obj0
= 0 ;
13840 PyObject
* obj1
= 0 ;
13841 PyObject
* obj2
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",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
= PyInt_AsLong(obj2
) ? true : false;
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= PyInt_FromLong((long)result
);
13879 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13882 wxString
*arg2
= 0 ;
13883 wxString
*arg3
= 0 ;
13885 bool temp2
= False
;
13886 bool temp3
= False
;
13887 PyObject
* obj0
= 0 ;
13888 PyObject
* obj1
= 0 ;
13889 PyObject
* obj2
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "key",(char *) "value", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13897 arg2
= wxString_in_helper(obj1
);
13898 if (arg2
== NULL
) SWIG_fail
;
13902 arg3
= wxString_in_helper(obj2
);
13903 if (arg3
== NULL
) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= PyInt_FromLong((long)result
);
13936 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13939 wxString
*arg2
= 0 ;
13942 bool temp2
= False
;
13943 PyObject
* obj0
= 0 ;
13944 PyObject
* obj1
= 0 ;
13945 char *kwnames
[] = {
13946 (char *) "self",(char *) "key",(char *) "value", NULL
13949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13952 arg2
= wxString_in_helper(obj1
);
13953 if (arg2
== NULL
) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= PyInt_FromLong((long)result
);
13978 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13981 wxString
*arg2
= 0 ;
13984 bool temp2
= False
;
13985 PyObject
* obj0
= 0 ;
13986 PyObject
* obj1
= 0 ;
13987 char *kwnames
[] = {
13988 (char *) "self",(char *) "key",(char *) "value", NULL
13991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13994 arg2
= wxString_in_helper(obj1
);
13995 if (arg2
== NULL
) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= PyInt_FromLong((long)result
);
14020 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
;
14022 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14023 wxString
*arg2
= 0 ;
14026 bool temp2
= False
;
14027 PyObject
* obj0
= 0 ;
14028 PyObject
* obj1
= 0 ;
14029 PyObject
* obj2
= 0 ;
14030 char *kwnames
[] = {
14031 (char *) "self",(char *) "key",(char *) "value", NULL
14034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14037 arg2
= wxString_in_helper(obj1
);
14038 if (arg2
== NULL
) SWIG_fail
;
14041 arg3
= PyInt_AsLong(obj2
) ? true : false;
14042 if (PyErr_Occurred()) SWIG_fail
;
14044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14045 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= PyInt_FromLong((long)result
);
14065 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14066 PyObject
*resultobj
;
14067 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14068 bool arg2
= (bool) False
;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self",(char *) "bCurrentOnly", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14079 arg2
= PyInt_AsLong(obj1
) ? true : false;
14080 if (PyErr_Occurred()) SWIG_fail
;
14083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14084 result
= (bool)(arg1
)->Flush(arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= PyInt_FromLong((long)result
);
14096 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14099 wxString
*arg2
= 0 ;
14100 wxString
*arg3
= 0 ;
14102 bool temp2
= False
;
14103 bool temp3
= False
;
14104 PyObject
* obj0
= 0 ;
14105 PyObject
* obj1
= 0 ;
14106 PyObject
* obj2
= 0 ;
14107 char *kwnames
[] = {
14108 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14114 arg2
= wxString_in_helper(obj1
);
14115 if (arg2
== NULL
) SWIG_fail
;
14119 arg3
= wxString_in_helper(obj2
);
14120 if (arg3
== NULL
) SWIG_fail
;
14124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14125 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14127 wxPyEndAllowThreads(__tstate
);
14128 if (PyErr_Occurred()) SWIG_fail
;
14130 resultobj
= PyInt_FromLong((long)result
);
14153 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14156 wxString
*arg2
= 0 ;
14157 wxString
*arg3
= 0 ;
14159 bool temp2
= False
;
14160 bool temp3
= False
;
14161 PyObject
* obj0
= 0 ;
14162 PyObject
* obj1
= 0 ;
14163 PyObject
* obj2
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14171 arg2
= wxString_in_helper(obj1
);
14172 if (arg2
== NULL
) SWIG_fail
;
14176 arg3
= wxString_in_helper(obj2
);
14177 if (arg3
== NULL
) SWIG_fail
;
14181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14182 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= PyInt_FromLong((long)result
);
14210 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14213 wxString
*arg2
= 0 ;
14214 bool arg3
= (bool) True
;
14216 bool temp2
= False
;
14217 PyObject
* obj0
= 0 ;
14218 PyObject
* obj1
= 0 ;
14219 PyObject
* obj2
= 0 ;
14220 char *kwnames
[] = {
14221 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14227 arg2
= wxString_in_helper(obj1
);
14228 if (arg2
== NULL
) SWIG_fail
;
14232 arg3
= PyInt_AsLong(obj2
) ? true : false;
14233 if (PyErr_Occurred()) SWIG_fail
;
14236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14237 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14239 wxPyEndAllowThreads(__tstate
);
14240 if (PyErr_Occurred()) SWIG_fail
;
14242 resultobj
= PyInt_FromLong((long)result
);
14257 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14260 wxString
*arg2
= 0 ;
14262 bool temp2
= False
;
14263 PyObject
* obj0
= 0 ;
14264 PyObject
* obj1
= 0 ;
14265 char *kwnames
[] = {
14266 (char *) "self",(char *) "key", NULL
14269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14272 arg2
= wxString_in_helper(obj1
);
14273 if (arg2
== NULL
) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= PyInt_FromLong((long)result
);
14298 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14302 PyObject
* obj0
= 0 ;
14303 char *kwnames
[] = {
14304 (char *) "self", NULL
14307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (bool)(arg1
)->DeleteAll();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= PyInt_FromLong((long)result
);
14323 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14327 PyObject
* obj0
= 0 ;
14328 char *kwnames
[] = {
14329 (char *) "self", NULL
14332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14336 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14338 wxPyEndAllowThreads(__tstate
);
14339 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= PyInt_FromLong((long)result
);
14348 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14349 PyObject
*resultobj
;
14350 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14351 bool arg2
= (bool) True
;
14352 PyObject
* obj0
= 0 ;
14353 PyObject
* obj1
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self",(char *) "bDoIt", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14361 arg2
= PyInt_AsLong(obj1
) ? true : false;
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14366 (arg1
)->SetExpandEnvVars(arg2
);
14368 wxPyEndAllowThreads(__tstate
);
14369 if (PyErr_Occurred()) SWIG_fail
;
14371 Py_INCREF(Py_None
); resultobj
= Py_None
;
14378 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14381 bool arg2
= (bool) True
;
14382 PyObject
* obj0
= 0 ;
14383 PyObject
* obj1
= 0 ;
14384 char *kwnames
[] = {
14385 (char *) "self",(char *) "bDoIt", NULL
14388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14391 arg2
= PyInt_AsLong(obj1
) ? true : false;
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14396 (arg1
)->SetRecordDefaults(arg2
);
14398 wxPyEndAllowThreads(__tstate
);
14399 if (PyErr_Occurred()) SWIG_fail
;
14401 Py_INCREF(Py_None
); resultobj
= Py_None
;
14408 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14409 PyObject
*resultobj
;
14410 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14412 PyObject
* obj0
= 0 ;
14413 char *kwnames
[] = {
14414 (char *) "self", NULL
14417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 resultobj
= PyInt_FromLong((long)result
);
14433 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14436 wxString
*arg2
= 0 ;
14438 bool temp2
= False
;
14439 PyObject
* obj0
= 0 ;
14440 PyObject
* obj1
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self",(char *) "str", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14448 arg2
= wxString_in_helper(obj1
);
14449 if (arg2
== NULL
) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14461 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14463 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14480 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14481 PyObject
*resultobj
;
14482 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14484 PyObject
* obj0
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14495 wxPyEndAllowThreads(__tstate
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14502 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14511 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14542 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14543 PyObject
*resultobj
;
14544 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14545 wxString
*arg2
= 0 ;
14546 bool temp2
= False
;
14547 PyObject
* obj0
= 0 ;
14548 PyObject
* obj1
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self",(char *) "appName", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14556 arg2
= wxString_in_helper(obj1
);
14557 if (arg2
== NULL
) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetAppName((wxString
const &)*arg2
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14585 wxString
*arg2
= 0 ;
14586 bool temp2
= False
;
14587 PyObject
* obj0
= 0 ;
14588 PyObject
* obj1
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "vendorName", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14596 arg2
= wxString_in_helper(obj1
);
14597 if (arg2
== NULL
) SWIG_fail
;
14601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14602 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14604 wxPyEndAllowThreads(__tstate
);
14605 if (PyErr_Occurred()) SWIG_fail
;
14607 Py_INCREF(Py_None
); resultobj
= Py_None
;
14622 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14623 PyObject
*resultobj
;
14624 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 char *kwnames
[] = {
14628 (char *) "self",(char *) "style", NULL
14631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 (arg1
)->SetStyle(arg2
);
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 Py_INCREF(Py_None
); resultobj
= Py_None
;
14647 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14662 wxPyEndAllowThreads(__tstate
);
14663 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= PyInt_FromLong((long)result
);
14672 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14675 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14677 return Py_BuildValue((char *)"");
14679 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14682 wxString
*arg2
= 0 ;
14683 wxConfigPathChanger
*result
;
14684 bool temp2
= False
;
14685 PyObject
* obj0
= 0 ;
14686 PyObject
* obj1
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "pContainer",(char *) "strEntry", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14694 arg2
= wxString_in_helper(obj1
);
14695 if (arg2
== NULL
) SWIG_fail
;
14699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14700 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14705 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14720 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 char *kwnames
[] = {
14725 (char *) "self", NULL
14728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 wxPyEndAllowThreads(__tstate
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14737 Py_INCREF(Py_None
); resultobj
= Py_None
;
14744 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 char *kwnames
[] = {
14750 (char *) "self", NULL
14753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14759 result
= (wxString
*) &_result_ref
;
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14765 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14772 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14775 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14777 return Py_BuildValue((char *)"");
14779 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14782 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14783 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14784 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14787 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14788 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14789 long arg5
= (long) 0 ;
14791 bool temp1
= False
;
14792 bool temp2
= False
;
14793 bool temp3
= False
;
14794 bool temp4
= False
;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 PyObject
* obj2
= 0 ;
14798 PyObject
* obj3
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14806 arg1
= wxString_in_helper(obj0
);
14807 if (arg1
== NULL
) SWIG_fail
;
14813 arg2
= wxString_in_helper(obj1
);
14814 if (arg2
== NULL
) SWIG_fail
;
14820 arg3
= wxString_in_helper(obj2
);
14821 if (arg3
== NULL
) SWIG_fail
;
14827 arg4
= wxString_in_helper(obj3
);
14828 if (arg4
== NULL
) SWIG_fail
;
14833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14834 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14836 wxPyEndAllowThreads(__tstate
);
14837 if (PyErr_Occurred()) SWIG_fail
;
14839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
14878 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14879 PyObject
*resultobj
;
14880 wxConfig
*arg1
= (wxConfig
*) 0 ;
14881 PyObject
* obj0
= 0 ;
14882 char *kwnames
[] = {
14883 (char *) "self", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
14887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 Py_INCREF(Py_None
); resultobj
= Py_None
;
14902 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
14904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14905 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
14907 return Py_BuildValue((char *)"");
14909 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14912 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14913 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14914 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14915 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14917 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14918 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14919 long arg5
= (long) 0 ;
14920 wxFileConfig
*result
;
14921 bool temp1
= False
;
14922 bool temp2
= False
;
14923 bool temp3
= False
;
14924 bool temp4
= False
;
14925 PyObject
* obj0
= 0 ;
14926 PyObject
* obj1
= 0 ;
14927 PyObject
* obj2
= 0 ;
14928 PyObject
* obj3
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14936 arg1
= wxString_in_helper(obj0
);
14937 if (arg1
== NULL
) SWIG_fail
;
14943 arg2
= wxString_in_helper(obj1
);
14944 if (arg2
== NULL
) SWIG_fail
;
14950 arg3
= wxString_in_helper(obj2
);
14951 if (arg3
== NULL
) SWIG_fail
;
14957 arg4
= wxString_in_helper(obj3
);
14958 if (arg4
== NULL
) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
15008 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 Py_INCREF(Py_None
); resultobj
= Py_None
;
15032 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
15034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15035 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
15037 return Py_BuildValue((char *)"");
15039 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15040 PyObject
*resultobj
;
15041 wxString
*arg1
= 0 ;
15043 bool temp1
= False
;
15044 PyObject
* obj0
= 0 ;
15045 char *kwnames
[] = {
15046 (char *) "sz", NULL
15049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15051 arg1
= wxString_in_helper(obj0
);
15052 if (arg1
== NULL
) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15083 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15086 char *kwnames
[] = {
15087 (char *) "country", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15093 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15095 wxPyEndAllowThreads(__tstate
);
15096 if (PyErr_Occurred()) SWIG_fail
;
15098 Py_INCREF(Py_None
); resultobj
= Py_None
;
15105 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15106 PyObject
*resultobj
;
15108 char *kwnames
[] = {
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15115 result
= (int)wxDateTime::GetCountry();
15117 wxPyEndAllowThreads(__tstate
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15120 resultobj
= PyInt_FromLong((long)result
);
15127 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15128 PyObject
*resultobj
;
15129 int arg1
= (int) wxDateTime::Country_Default
;
15131 char *kwnames
[] = {
15132 (char *) "country", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15138 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15140 wxPyEndAllowThreads(__tstate
);
15141 if (PyErr_Occurred()) SWIG_fail
;
15143 resultobj
= PyInt_FromLong((long)result
);
15150 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15151 PyObject
*resultobj
;
15152 int arg1
= (int) wxDateTime::Gregorian
;
15154 char *kwnames
[] = {
15155 (char *) "cal", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15166 resultobj
= PyInt_FromLong((long)result
);
15173 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15174 PyObject
*resultobj
;
15177 char *kwnames
[] = {
15178 (char *) "year", NULL
15181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15184 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= PyInt_FromLong((long)result
);
15196 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15197 PyObject
*resultobj
;
15198 int arg1
= (int) wxDateTime::Gregorian
;
15200 char *kwnames
[] = {
15201 (char *) "cal", NULL
15204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15212 resultobj
= PyInt_FromLong((long)result
);
15219 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 int arg1
= (int) wxDateTime::Inv_Year
;
15222 int arg2
= (int) wxDateTime::Gregorian
;
15224 char *kwnames
[] = {
15225 (char *) "year",(char *) "cal", NULL
15228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= PyInt_FromLong((long)result
);
15243 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 int arg1
= (int) wxDateTime::Inv_Year
;
15247 char *kwnames
[] = {
15248 (char *) "year", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (int)wxDateTime::GetCentury(arg1
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= PyInt_FromLong((long)result
);
15266 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15269 int arg2
= (int) wxDateTime::Gregorian
;
15271 char *kwnames
[] = {
15272 (char *) "year",(char *) "cal", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= PyInt_FromLong((long)result
);
15290 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
;
15293 int arg2
= (int) wxDateTime::Inv_Year
;
15294 int arg3
= (int) wxDateTime::Gregorian
;
15296 char *kwnames
[] = {
15297 (char *) "month",(char *) "year",(char *) "cal", NULL
15300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= PyInt_FromLong((long)result
);
15315 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15316 PyObject
*resultobj
;
15318 int arg2
= (int) wxDateTime::Name_Full
;
15320 char *kwnames
[] = {
15321 (char *) "month",(char *) "flags", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15327 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15329 wxPyEndAllowThreads(__tstate
);
15330 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15345 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15346 PyObject
*resultobj
;
15348 int arg2
= (int) wxDateTime::Name_Full
;
15350 char *kwnames
[] = {
15351 (char *) "weekday",(char *) "flags", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15375 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15376 PyObject
*resultobj
;
15377 wxString
*arg1
= (wxString
*) 0 ;
15378 wxString
*arg2
= (wxString
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char *kwnames
[] = {
15382 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15390 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15392 wxPyEndAllowThreads(__tstate
);
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 Py_INCREF(Py_None
); resultobj
= Py_None
;
15402 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15403 PyObject
*resultobj
;
15404 int arg1
= (int) wxDateTime::Inv_Year
;
15405 int arg2
= (int) wxDateTime::Country_Default
;
15407 char *kwnames
[] = {
15408 (char *) "year",(char *) "country", NULL
15411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15414 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15416 wxPyEndAllowThreads(__tstate
);
15417 if (PyErr_Occurred()) SWIG_fail
;
15419 resultobj
= PyInt_FromLong((long)result
);
15426 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 int arg1
= (int) wxDateTime::Inv_Year
;
15429 int arg2
= (int) wxDateTime::Country_Default
;
15431 char *kwnames
[] = {
15432 (char *) "year",(char *) "country", NULL
15435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15444 wxDateTime
* resultptr
;
15445 resultptr
= new wxDateTime((wxDateTime
&) result
);
15446 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15454 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15455 PyObject
*resultobj
;
15456 int arg1
= (int) wxDateTime::Inv_Year
;
15457 int arg2
= (int) wxDateTime::Country_Default
;
15459 char *kwnames
[] = {
15460 (char *) "year",(char *) "country", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15468 wxPyEndAllowThreads(__tstate
);
15469 if (PyErr_Occurred()) SWIG_fail
;
15472 wxDateTime
* resultptr
;
15473 resultptr
= new wxDateTime((wxDateTime
&) result
);
15474 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15482 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15483 PyObject
*resultobj
;
15485 char *kwnames
[] = {
15489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15492 result
= wxDateTime::Now();
15494 wxPyEndAllowThreads(__tstate
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 wxDateTime
* resultptr
;
15499 resultptr
= new wxDateTime((wxDateTime
&) result
);
15500 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15508 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15509 PyObject
*resultobj
;
15511 char *kwnames
[] = {
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15518 result
= wxDateTime::UNow();
15520 wxPyEndAllowThreads(__tstate
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15524 wxDateTime
* resultptr
;
15525 resultptr
= new wxDateTime((wxDateTime
&) result
);
15526 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15534 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15537 char *kwnames
[] = {
15541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15544 result
= wxDateTime::Today();
15546 wxPyEndAllowThreads(__tstate
);
15547 if (PyErr_Occurred()) SWIG_fail
;
15550 wxDateTime
* resultptr
;
15551 resultptr
= new wxDateTime((wxDateTime
&) result
);
15552 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15560 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
;
15562 wxDateTime
*result
;
15563 char *kwnames
[] = {
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (wxDateTime
*)new wxDateTime();
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15582 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15585 wxDateTime
*result
;
15586 PyObject
* obj0
= 0 ;
15587 char *kwnames
[] = {
15588 (char *) "timet", NULL
15591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15592 arg1
= (time_t) PyInt_AsLong(obj0
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (wxDateTime
*)new wxDateTime(arg1
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15608 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15611 wxDateTime
*result
;
15612 char *kwnames
[] = {
15613 (char *) "jdn", NULL
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (wxDateTime
*)new wxDateTime(arg1
);
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15631 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15634 int arg2
= (int) 0 ;
15635 int arg3
= (int) 0 ;
15636 int arg4
= (int) 0 ;
15637 wxDateTime
*result
;
15638 char *kwnames
[] = {
15639 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15647 wxPyEndAllowThreads(__tstate
);
15648 if (PyErr_Occurred()) SWIG_fail
;
15650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15657 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15658 PyObject
*resultobj
;
15660 int arg2
= (int) wxDateTime::Inv_Month
;
15661 int arg3
= (int) wxDateTime::Inv_Year
;
15662 int arg4
= (int) 0 ;
15663 int arg5
= (int) 0 ;
15664 int arg6
= (int) 0 ;
15665 int arg7
= (int) 0 ;
15666 wxDateTime
*result
;
15667 char *kwnames
[] = {
15668 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15674 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15686 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15689 PyObject
* obj0
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 Py_INCREF(Py_None
); resultobj
= Py_None
;
15710 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15713 wxDateTime
*result
;
15714 PyObject
* obj0
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15725 result
= (wxDateTime
*) &_result_ref
;
15728 wxPyEndAllowThreads(__tstate
);
15729 if (PyErr_Occurred()) SWIG_fail
;
15731 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15738 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15739 PyObject
*resultobj
;
15740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15742 wxDateTime
*result
;
15743 PyObject
* obj0
= 0 ;
15744 PyObject
* obj1
= 0 ;
15745 char *kwnames
[] = {
15746 (char *) "self",(char *) "timet", NULL
15749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15751 arg2
= (time_t) PyInt_AsLong(obj1
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15757 result
= (wxDateTime
*) &_result_ref
;
15760 wxPyEndAllowThreads(__tstate
);
15761 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15770 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15774 wxDateTime
*result
;
15775 PyObject
* obj0
= 0 ;
15776 char *kwnames
[] = {
15777 (char *) "self",(char *) "jdn", NULL
15780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15786 result
= (wxDateTime
*) &_result_ref
;
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15799 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15803 int arg3
= (int) 0 ;
15804 int arg4
= (int) 0 ;
15805 int arg5
= (int) 0 ;
15806 wxDateTime
*result
;
15807 PyObject
* obj0
= 0 ;
15808 char *kwnames
[] = {
15809 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
15818 result
= (wxDateTime
*) &_result_ref
;
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15831 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15835 int arg3
= (int) wxDateTime::Inv_Month
;
15836 int arg4
= (int) wxDateTime::Inv_Year
;
15837 int arg5
= (int) 0 ;
15838 int arg6
= (int) 0 ;
15839 int arg7
= (int) 0 ;
15840 int arg8
= (int) 0 ;
15841 wxDateTime
*result
;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15852 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
15853 result
= (wxDateTime
*) &_result_ref
;
15856 wxPyEndAllowThreads(__tstate
);
15857 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15866 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15867 PyObject
*resultobj
;
15868 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15869 wxDateTime
*result
;
15870 PyObject
* obj0
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15880 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
15881 result
= (wxDateTime
*) &_result_ref
;
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15894 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15898 wxDateTime
*result
;
15899 PyObject
* obj0
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "year", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
15910 result
= (wxDateTime
*) &_result_ref
;
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15916 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15923 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15924 PyObject
*resultobj
;
15925 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15927 wxDateTime
*result
;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self",(char *) "month", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
15939 result
= (wxDateTime
*) &_result_ref
;
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15952 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15956 wxDateTime
*result
;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "day", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
15968 result
= (wxDateTime
*) &_result_ref
;
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15981 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15983 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15985 wxDateTime
*result
;
15986 PyObject
* obj0
= 0 ;
15987 char *kwnames
[] = {
15988 (char *) "self",(char *) "hour", NULL
15991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
15992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15996 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
15997 result
= (wxDateTime
*) &_result_ref
;
16000 wxPyEndAllowThreads(__tstate
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16010 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16014 wxDateTime
*result
;
16015 PyObject
* obj0
= 0 ;
16016 char *kwnames
[] = {
16017 (char *) "self",(char *) "minute", NULL
16020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
16021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16025 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
16026 result
= (wxDateTime
*) &_result_ref
;
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16039 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16043 wxDateTime
*result
;
16044 PyObject
* obj0
= 0 ;
16045 char *kwnames
[] = {
16046 (char *) "self",(char *) "second", NULL
16049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16054 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16055 result
= (wxDateTime
*) &_result_ref
;
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16061 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16068 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16069 PyObject
*resultobj
;
16070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16072 wxDateTime
*result
;
16073 PyObject
* obj0
= 0 ;
16074 char *kwnames
[] = {
16075 (char *) "self",(char *) "millisecond", NULL
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16084 result
= (wxDateTime
*) &_result_ref
;
16087 wxPyEndAllowThreads(__tstate
);
16088 if (PyErr_Occurred()) SWIG_fail
;
16090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16097 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16098 PyObject
*resultobj
;
16099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16101 int arg3
= (int) wxDateTime::Monday_First
;
16102 wxDateTime
*result
;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16114 result
= (wxDateTime
*) &_result_ref
;
16117 wxPyEndAllowThreads(__tstate
);
16118 if (PyErr_Occurred()) SWIG_fail
;
16120 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16127 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16131 int arg3
= (int) wxDateTime::Monday_First
;
16133 PyObject
* obj0
= 0 ;
16134 char *kwnames
[] = {
16135 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16142 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16148 wxDateTime
* resultptr
;
16149 resultptr
= new wxDateTime((wxDateTime
&) result
);
16150 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16158 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16162 wxDateTime
*result
;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "weekday", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16173 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16174 result
= (wxDateTime
*) &_result_ref
;
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16187 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16192 PyObject
* obj0
= 0 ;
16193 char *kwnames
[] = {
16194 (char *) "self",(char *) "weekday", NULL
16197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16207 wxDateTime
* resultptr
;
16208 resultptr
= new wxDateTime((wxDateTime
&) result
);
16209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16217 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16221 wxDateTime
*result
;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self",(char *) "weekday", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16233 result
= (wxDateTime
*) &_result_ref
;
16236 wxPyEndAllowThreads(__tstate
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16239 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16246 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16247 PyObject
*resultobj
;
16248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self",(char *) "weekday", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16266 wxDateTime
* resultptr
;
16267 resultptr
= new wxDateTime((wxDateTime
&) result
);
16268 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16276 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16277 PyObject
*resultobj
;
16278 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16280 int arg3
= (int) 1 ;
16281 int arg4
= (int) wxDateTime::Inv_Month
;
16282 int arg5
= (int) wxDateTime::Inv_Year
;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= PyInt_FromLong((long)result
);
16305 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16309 int arg3
= (int) wxDateTime::Inv_Month
;
16310 int arg4
= (int) wxDateTime::Inv_Year
;
16312 PyObject
* obj0
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16323 wxPyEndAllowThreads(__tstate
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= PyInt_FromLong((long)result
);
16333 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16337 int arg3
= (int) wxDateTime::Inv_Month
;
16338 int arg4
= (int) wxDateTime::Inv_Year
;
16340 PyObject
* obj0
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16351 wxPyEndAllowThreads(__tstate
);
16352 if (PyErr_Occurred()) SWIG_fail
;
16355 wxDateTime
* resultptr
;
16356 resultptr
= new wxDateTime((wxDateTime
&) result
);
16357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16365 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16366 PyObject
*resultobj
;
16367 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16369 int arg3
= (int) wxDateTime::Mon
;
16370 int arg4
= (int) wxDateTime::Monday_First
;
16372 PyObject
* obj0
= 0 ;
16373 char *kwnames
[] = {
16374 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= PyInt_FromLong((long)result
);
16393 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16394 PyObject
*resultobj
;
16395 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16397 int arg3
= (int) wxDateTime::Mon
;
16398 int arg4
= (int) wxDateTime::Monday_First
;
16400 PyObject
* obj0
= 0 ;
16401 char *kwnames
[] = {
16402 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 wxDateTime
* resultptr
;
16416 resultptr
= new wxDateTime((wxDateTime
&) result
);
16417 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16425 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16426 PyObject
*resultobj
;
16427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16428 int arg2
= (int) wxDateTime::Inv_Month
;
16429 int arg3
= (int) wxDateTime::Inv_Year
;
16430 wxDateTime
*result
;
16431 PyObject
* obj0
= 0 ;
16432 char *kwnames
[] = {
16433 (char *) "self",(char *) "month",(char *) "year", NULL
16436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16442 result
= (wxDateTime
*) &_result_ref
;
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16448 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16455 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16458 int arg2
= (int) wxDateTime::Inv_Month
;
16459 int arg3
= (int) wxDateTime::Inv_Year
;
16461 PyObject
* obj0
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "self",(char *) "month",(char *) "year", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16470 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16472 wxPyEndAllowThreads(__tstate
);
16473 if (PyErr_Occurred()) SWIG_fail
;
16476 wxDateTime
* resultptr
;
16477 resultptr
= new wxDateTime((wxDateTime
&) result
);
16478 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16486 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16490 wxDateTime
*result
;
16491 PyObject
* obj0
= 0 ;
16492 char *kwnames
[] = {
16493 (char *) "self",(char *) "yday", NULL
16496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16502 result
= (wxDateTime
*) &_result_ref
;
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16515 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16520 PyObject
* obj0
= 0 ;
16521 char *kwnames
[] = {
16522 (char *) "self",(char *) "yday", NULL
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (arg1
)->GetYearDay(arg2
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16535 wxDateTime
* resultptr
;
16536 resultptr
= new wxDateTime((wxDateTime
&) result
);
16537 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16545 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16558 result
= (double)(arg1
)->GetJulianDayNumber();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16563 resultobj
= PyFloat_FromDouble(result
);
16570 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16571 PyObject
*resultobj
;
16572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16574 PyObject
* obj0
= 0 ;
16575 char *kwnames
[] = {
16576 (char *) "self", NULL
16579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16583 result
= (double)(arg1
)->GetJDN();
16585 wxPyEndAllowThreads(__tstate
);
16586 if (PyErr_Occurred()) SWIG_fail
;
16588 resultobj
= PyFloat_FromDouble(result
);
16595 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16608 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16610 wxPyEndAllowThreads(__tstate
);
16611 if (PyErr_Occurred()) SWIG_fail
;
16613 resultobj
= PyFloat_FromDouble(result
);
16620 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16624 PyObject
* obj0
= 0 ;
16625 char *kwnames
[] = {
16626 (char *) "self", NULL
16629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 result
= (double)(arg1
)->GetMJD();
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= PyFloat_FromDouble(result
);
16645 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (double)(arg1
)->GetRataDie();
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16663 resultobj
= PyFloat_FromDouble(result
);
16670 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16671 PyObject
*resultobj
;
16672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16673 wxDateTime::TimeZone
*arg2
= 0 ;
16674 bool arg3
= (bool) False
;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 PyObject
* obj2
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16686 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16689 arg3
= PyInt_AsLong(obj2
) ? true : false;
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16694 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16696 wxPyEndAllowThreads(__tstate
);
16697 if (PyErr_Occurred()) SWIG_fail
;
16700 wxDateTime
* resultptr
;
16701 resultptr
= new wxDateTime((wxDateTime
&) result
);
16702 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16705 if (arg2
) delete arg2
;
16710 if (arg2
) delete arg2
;
16716 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16719 wxDateTime::TimeZone
*arg2
= 0 ;
16720 bool arg3
= (bool) False
;
16721 wxDateTime
*result
;
16722 PyObject
* obj0
= 0 ;
16723 PyObject
* obj1
= 0 ;
16724 PyObject
* obj2
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16732 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16735 arg3
= PyInt_AsLong(obj2
) ? true : false;
16736 if (PyErr_Occurred()) SWIG_fail
;
16739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16742 result
= (wxDateTime
*) &_result_ref
;
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16750 if (arg2
) delete arg2
;
16755 if (arg2
) delete arg2
;
16761 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16764 bool arg2
= (bool) False
;
16766 PyObject
* obj0
= 0 ;
16767 PyObject
* obj1
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self",(char *) "noDST", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16775 arg2
= PyInt_AsLong(obj1
) ? true : false;
16776 if (PyErr_Occurred()) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (arg1
)->ToGMT(arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 wxDateTime
* resultptr
;
16787 resultptr
= new wxDateTime((wxDateTime
&) result
);
16788 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16796 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16799 bool arg2
= (bool) False
;
16800 wxDateTime
*result
;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "noDST", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16810 arg2
= PyInt_AsLong(obj1
) ? true : false;
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16816 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
16817 result
= (wxDateTime
*) &_result_ref
;
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16830 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16833 int arg2
= (int) wxDateTime::Country_Default
;
16835 PyObject
* obj0
= 0 ;
16836 char *kwnames
[] = {
16837 (char *) "self",(char *) "country", NULL
16840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
16841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 resultobj
= PyInt_FromLong((long)result
);
16856 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16874 resultobj
= PyInt_FromLong((long)result
);
16881 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
16891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
16896 wxPyEndAllowThreads(__tstate
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16899 resultobj
= PyInt_FromLong((long)result
);
16906 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16907 PyObject
*resultobj
;
16908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16909 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16910 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "self",(char *) "tz", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16922 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 resultobj
= PyInt_FromLong((long)result
);
16934 if (arg2
) delete arg2
;
16939 if (arg2
) delete arg2
;
16945 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16948 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16949 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
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_GetMonth",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
));
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= PyInt_FromLong((long)result
);
16973 if (arg2
) delete arg2
;
16978 if (arg2
) delete arg2
;
16984 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16985 PyObject
*resultobj
;
16986 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16987 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16988 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16990 PyObject
* obj0
= 0 ;
16991 PyObject
* obj1
= 0 ;
16992 char *kwnames
[] = {
16993 (char *) "self",(char *) "tz", NULL
16996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17000 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17010 resultobj
= PyInt_FromLong((long)result
);
17012 if (arg2
) delete arg2
;
17017 if (arg2
) delete arg2
;
17023 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17026 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17027 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17029 PyObject
* obj0
= 0 ;
17030 PyObject
* obj1
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self",(char *) "tz", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17039 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17044 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= PyInt_FromLong((long)result
);
17051 if (arg2
) delete arg2
;
17056 if (arg2
) delete arg2
;
17062 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17063 PyObject
*resultobj
;
17064 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17065 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17066 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17068 PyObject
* obj0
= 0 ;
17069 PyObject
* obj1
= 0 ;
17070 char *kwnames
[] = {
17071 (char *) "self",(char *) "tz", NULL
17074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17078 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= PyInt_FromLong((long)result
);
17090 if (arg2
) delete arg2
;
17095 if (arg2
) delete arg2
;
17101 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17102 PyObject
*resultobj
;
17103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17104 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17105 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17107 PyObject
* obj0
= 0 ;
17108 PyObject
* obj1
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self",(char *) "tz", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17117 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17122 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17127 resultobj
= PyInt_FromLong((long)result
);
17129 if (arg2
) delete arg2
;
17134 if (arg2
) delete arg2
;
17140 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17143 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17144 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17146 PyObject
* obj0
= 0 ;
17147 PyObject
* obj1
= 0 ;
17148 char *kwnames
[] = {
17149 (char *) "self",(char *) "tz", NULL
17152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17156 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17163 wxPyEndAllowThreads(__tstate
);
17164 if (PyErr_Occurred()) SWIG_fail
;
17166 resultobj
= PyInt_FromLong((long)result
);
17168 if (arg2
) delete arg2
;
17173 if (arg2
) delete arg2
;
17179 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17182 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17183 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17185 PyObject
* obj0
= 0 ;
17186 PyObject
* obj1
= 0 ;
17187 char *kwnames
[] = {
17188 (char *) "self",(char *) "tz", NULL
17191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17195 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= PyInt_FromLong((long)result
);
17207 if (arg2
) delete arg2
;
17212 if (arg2
) delete arg2
;
17218 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17221 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17222 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17224 PyObject
* obj0
= 0 ;
17225 PyObject
* obj1
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self",(char *) "tz", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17234 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 resultobj
= PyInt_FromLong((long)result
);
17246 if (arg2
) delete arg2
;
17251 if (arg2
) delete arg2
;
17257 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17260 int arg2
= (int) wxDateTime::Monday_First
;
17261 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17262 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj2
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "self",(char *) "flags",(char *) "tz", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17274 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17281 wxPyEndAllowThreads(__tstate
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= PyInt_FromLong((long)result
);
17286 if (arg3
) delete arg3
;
17291 if (arg3
) delete arg3
;
17297 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17300 int arg2
= (int) wxDateTime::Monday_First
;
17301 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17302 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17304 PyObject
* obj0
= 0 ;
17305 PyObject
* obj2
= 0 ;
17306 char *kwnames
[] = {
17307 (char *) "self",(char *) "flags",(char *) "tz", NULL
17310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17314 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17319 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17321 wxPyEndAllowThreads(__tstate
);
17322 if (PyErr_Occurred()) SWIG_fail
;
17324 resultobj
= PyInt_FromLong((long)result
);
17326 if (arg3
) delete arg3
;
17331 if (arg3
) delete arg3
;
17337 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17338 PyObject
*resultobj
;
17339 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17340 int arg2
= (int) wxDateTime::Country_Default
;
17342 PyObject
* obj0
= 0 ;
17343 char *kwnames
[] = {
17344 (char *) "self",(char *) "country", NULL
17347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17353 wxPyEndAllowThreads(__tstate
);
17354 if (PyErr_Occurred()) SWIG_fail
;
17356 resultobj
= PyInt_FromLong((long)result
);
17363 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17364 PyObject
*resultobj
;
17365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17366 wxDateTime
*arg2
= 0 ;
17368 PyObject
* obj0
= 0 ;
17369 PyObject
* obj1
= 0 ;
17370 char *kwnames
[] = {
17371 (char *) "self",(char *) "datetime", NULL
17374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17376 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17377 if (arg2
== NULL
) {
17378 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17387 resultobj
= PyInt_FromLong((long)result
);
17394 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17395 PyObject
*resultobj
;
17396 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17397 wxDateTime
*arg2
= 0 ;
17399 PyObject
* obj0
= 0 ;
17400 PyObject
* obj1
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self",(char *) "datetime", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17408 if (arg2
== NULL
) {
17409 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= PyInt_FromLong((long)result
);
17425 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17426 PyObject
*resultobj
;
17427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17428 wxDateTime
*arg2
= 0 ;
17430 PyObject
* obj0
= 0 ;
17431 PyObject
* obj1
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "self",(char *) "datetime", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17439 if (arg2
== NULL
) {
17440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17444 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17446 wxPyEndAllowThreads(__tstate
);
17447 if (PyErr_Occurred()) SWIG_fail
;
17449 resultobj
= PyInt_FromLong((long)result
);
17456 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17457 PyObject
*resultobj
;
17458 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17459 wxDateTime
*arg2
= 0 ;
17460 wxDateTime
*arg3
= 0 ;
17462 PyObject
* obj0
= 0 ;
17463 PyObject
* obj1
= 0 ;
17464 PyObject
* obj2
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self",(char *) "t1",(char *) "t2", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17472 if (arg2
== NULL
) {
17473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17475 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17476 if (arg3
== NULL
) {
17477 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17483 wxPyEndAllowThreads(__tstate
);
17484 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= PyInt_FromLong((long)result
);
17493 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
;
17495 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17496 wxDateTime
*arg2
= 0 ;
17497 wxDateTime
*arg3
= 0 ;
17499 PyObject
* obj0
= 0 ;
17500 PyObject
* obj1
= 0 ;
17501 PyObject
* obj2
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self",(char *) "t1",(char *) "t2", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17509 if (arg2
== NULL
) {
17510 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17512 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17513 if (arg3
== NULL
) {
17514 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= PyInt_FromLong((long)result
);
17530 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17531 PyObject
*resultobj
;
17532 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17533 wxDateTime
*arg2
= 0 ;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self",(char *) "dt", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17543 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17544 if (arg2
== NULL
) {
17545 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= PyInt_FromLong((long)result
);
17561 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
;
17563 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17564 wxDateTime
*arg2
= 0 ;
17566 PyObject
* obj0
= 0 ;
17567 PyObject
* obj1
= 0 ;
17568 char *kwnames
[] = {
17569 (char *) "self",(char *) "dt", NULL
17572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17574 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17575 if (arg2
== NULL
) {
17576 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17582 wxPyEndAllowThreads(__tstate
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= PyInt_FromLong((long)result
);
17592 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17593 PyObject
*resultobj
;
17594 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17595 wxDateTime
*arg2
= 0 ;
17596 wxTimeSpan
*arg3
= 0 ;
17598 PyObject
* obj0
= 0 ;
17599 PyObject
* obj1
= 0 ;
17600 PyObject
* obj2
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self",(char *) "dt",(char *) "ts", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17608 if (arg2
== NULL
) {
17609 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17611 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17612 if (arg3
== NULL
) {
17613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= PyInt_FromLong((long)result
);
17629 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17632 wxTimeSpan
*arg2
= 0 ;
17633 wxDateTime
*result
;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self",(char *) "diff", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17642 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17643 if (arg2
== NULL
) {
17644 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17650 result
= (wxDateTime
*) &_result_ref
;
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17663 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17666 wxDateSpan
*arg2
= 0 ;
17667 wxDateTime
*result
;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "diff", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17677 if (arg2
== NULL
) {
17678 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17684 result
= (wxDateTime
*) &_result_ref
;
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17697 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17700 wxTimeSpan
*arg2
= 0 ;
17701 wxDateTime
*result
;
17702 PyObject
* obj0
= 0 ;
17703 PyObject
* obj1
= 0 ;
17704 char *kwnames
[] = {
17705 (char *) "self",(char *) "diff", NULL
17708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17711 if (arg2
== NULL
) {
17712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17718 result
= (wxDateTime
*) &_result_ref
;
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17731 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17733 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17734 wxDateSpan
*arg2
= 0 ;
17735 wxDateTime
*result
;
17736 PyObject
* obj0
= 0 ;
17737 PyObject
* obj1
= 0 ;
17738 char *kwnames
[] = {
17739 (char *) "self",(char *) "diff", NULL
17742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17745 if (arg2
== NULL
) {
17746 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17752 result
= (wxDateTime
*) &_result_ref
;
17755 wxPyEndAllowThreads(__tstate
);
17756 if (PyErr_Occurred()) SWIG_fail
;
17758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17765 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17766 PyObject
*resultobj
;
17767 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17768 wxDateTime
*arg2
= 0 ;
17770 PyObject
* obj0
= 0 ;
17771 PyObject
* obj1
= 0 ;
17772 char *kwnames
[] = {
17773 (char *) "self",(char *) "dt", NULL
17776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
17777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17778 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17779 if (arg2
== NULL
) {
17780 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17790 wxTimeSpan
* resultptr
;
17791 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
17792 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
17800 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
17801 PyObject
*resultobj
;
17802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17803 wxTimeSpan
*arg2
= 0 ;
17804 wxDateTime
*result
;
17805 PyObject
* obj0
= 0 ;
17806 PyObject
* obj1
= 0 ;
17808 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17811 if (arg2
== NULL
) {
17812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17817 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
17818 result
= (wxDateTime
*) &_result_ref
;
17821 wxPyEndAllowThreads(__tstate
);
17822 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17831 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
17832 PyObject
*resultobj
;
17833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17834 wxDateSpan
*arg2
= 0 ;
17835 wxDateTime
*result
;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17839 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17842 if (arg2
== NULL
) {
17843 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
17849 result
= (wxDateTime
*) &_result_ref
;
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17862 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
17867 argc
= PyObject_Length(args
);
17868 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17869 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17875 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17885 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
17893 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
17901 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17911 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
17919 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
17924 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
17929 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
17930 PyObject
*resultobj
;
17931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17932 wxTimeSpan
*arg2
= 0 ;
17933 wxDateTime
*result
;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17937 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
17938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17940 if (arg2
== NULL
) {
17941 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
17947 result
= (wxDateTime
*) &_result_ref
;
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17960 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
17961 PyObject
*resultobj
;
17962 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17963 wxDateSpan
*arg2
= 0 ;
17964 wxDateTime
*result
;
17965 PyObject
* obj0
= 0 ;
17966 PyObject
* obj1
= 0 ;
17968 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
17969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17971 if (arg2
== NULL
) {
17972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
17978 result
= (wxDateTime
*) &_result_ref
;
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17991 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
17996 argc
= PyObject_Length(args
);
17997 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17998 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18004 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18014 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18022 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18030 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18040 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18048 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18053 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18058 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18059 PyObject
*resultobj
;
18060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18061 wxTimeSpan
*arg2
= 0 ;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18066 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18069 if (arg2
== NULL
) {
18070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18076 wxPyEndAllowThreads(__tstate
);
18077 if (PyErr_Occurred()) SWIG_fail
;
18080 wxDateTime
* resultptr
;
18081 resultptr
= new wxDateTime((wxDateTime
&) result
);
18082 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18090 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18091 PyObject
*resultobj
;
18092 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18093 wxDateSpan
*arg2
= 0 ;
18095 PyObject
* obj0
= 0 ;
18096 PyObject
* obj1
= 0 ;
18098 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18100 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18101 if (arg2
== NULL
) {
18102 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18108 wxPyEndAllowThreads(__tstate
);
18109 if (PyErr_Occurred()) SWIG_fail
;
18112 wxDateTime
* resultptr
;
18113 resultptr
= new wxDateTime((wxDateTime
&) result
);
18114 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18122 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18127 argc
= PyObject_Length(args
);
18128 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18129 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18135 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18145 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18153 return _wrap_DateTime___add____SWIG_0(self
,args
);
18161 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18171 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18179 return _wrap_DateTime___add____SWIG_1(self
,args
);
18184 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18189 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18190 PyObject
*resultobj
;
18191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18192 wxDateTime
*arg2
= 0 ;
18194 PyObject
* obj0
= 0 ;
18195 PyObject
* obj1
= 0 ;
18197 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18199 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18200 if (arg2
== NULL
) {
18201 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 wxTimeSpan
* resultptr
;
18212 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18213 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18221 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18222 PyObject
*resultobj
;
18223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18224 wxTimeSpan
*arg2
= 0 ;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18229 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18232 if (arg2
== NULL
) {
18233 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18237 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18239 wxPyEndAllowThreads(__tstate
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18243 wxDateTime
* resultptr
;
18244 resultptr
= new wxDateTime((wxDateTime
&) result
);
18245 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18253 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18254 PyObject
*resultobj
;
18255 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18256 wxDateSpan
*arg2
= 0 ;
18258 PyObject
* obj0
= 0 ;
18259 PyObject
* obj1
= 0 ;
18261 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18263 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18264 if (arg2
== NULL
) {
18265 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 wxDateTime
* resultptr
;
18276 resultptr
= new wxDateTime((wxDateTime
&) result
);
18277 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18285 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18290 argc
= PyObject_Length(args
);
18291 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18292 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18298 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18308 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18316 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18324 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18334 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18342 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18350 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18360 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18368 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18373 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18378 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18379 PyObject
*resultobj
;
18380 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18381 wxDateTime
*arg2
= 0 ;
18383 PyObject
* obj0
= 0 ;
18384 PyObject
* obj1
= 0 ;
18386 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18388 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18389 if (arg2
== NULL
) {
18390 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18394 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18396 wxPyEndAllowThreads(__tstate
);
18397 if (PyErr_Occurred()) SWIG_fail
;
18399 resultobj
= PyInt_FromLong((long)result
);
18406 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18407 PyObject
*resultobj
;
18408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18409 wxDateTime
*arg2
= 0 ;
18411 PyObject
* obj0
= 0 ;
18412 PyObject
* obj1
= 0 ;
18414 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18417 if (arg2
== NULL
) {
18418 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18427 resultobj
= PyInt_FromLong((long)result
);
18434 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18435 PyObject
*resultobj
;
18436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18437 wxDateTime
*arg2
= 0 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18442 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18445 if (arg2
== NULL
) {
18446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= PyInt_FromLong((long)result
);
18462 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18463 PyObject
*resultobj
;
18464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18465 wxDateTime
*arg2
= 0 ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18470 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18473 if (arg2
== NULL
) {
18474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= PyInt_FromLong((long)result
);
18490 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18491 PyObject
*resultobj
;
18492 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18493 wxDateTime
*arg2
= 0 ;
18495 PyObject
* obj0
= 0 ;
18496 PyObject
* obj1
= 0 ;
18498 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18501 if (arg2
== NULL
) {
18502 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18508 wxPyEndAllowThreads(__tstate
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= PyInt_FromLong((long)result
);
18518 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18519 PyObject
*resultobj
;
18520 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18521 wxDateTime
*arg2
= 0 ;
18523 PyObject
* obj0
= 0 ;
18524 PyObject
* obj1
= 0 ;
18526 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18528 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18529 if (arg2
== NULL
) {
18530 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= PyInt_FromLong((long)result
);
18546 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18547 PyObject
*resultobj
;
18548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18549 wxString
*arg2
= 0 ;
18551 bool temp2
= False
;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "date", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18561 arg2
= wxString_in_helper(obj1
);
18562 if (arg2
== NULL
) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= PyInt_FromLong((long)result
);
18587 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18590 wxString
*arg2
= 0 ;
18591 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18592 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18593 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18594 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18596 bool temp2
= False
;
18597 bool temp3
= False
;
18598 PyObject
* obj0
= 0 ;
18599 PyObject
* obj1
= 0 ;
18600 PyObject
* obj2
= 0 ;
18601 PyObject
* obj3
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18609 arg2
= wxString_in_helper(obj1
);
18610 if (arg2
== NULL
) SWIG_fail
;
18615 arg3
= wxString_in_helper(obj2
);
18616 if (arg3
== NULL
) SWIG_fail
;
18621 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18622 if (arg4
== NULL
) {
18623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18628 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18630 wxPyEndAllowThreads(__tstate
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= PyInt_FromLong((long)result
);
18656 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18657 PyObject
*resultobj
;
18658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18659 wxString
*arg2
= 0 ;
18661 bool temp2
= False
;
18662 PyObject
* obj0
= 0 ;
18663 PyObject
* obj1
= 0 ;
18664 char *kwnames
[] = {
18665 (char *) "self",(char *) "datetime", NULL
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18671 arg2
= wxString_in_helper(obj1
);
18672 if (arg2
== NULL
) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= PyInt_FromLong((long)result
);
18697 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18700 wxString
*arg2
= 0 ;
18702 bool temp2
= False
;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 char *kwnames
[] = {
18706 (char *) "self",(char *) "date", NULL
18709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18712 arg2
= wxString_in_helper(obj1
);
18713 if (arg2
== NULL
) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= PyInt_FromLong((long)result
);
18738 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18741 wxString
*arg2
= 0 ;
18743 bool temp2
= False
;
18744 PyObject
* obj0
= 0 ;
18745 PyObject
* obj1
= 0 ;
18746 char *kwnames
[] = {
18747 (char *) "self",(char *) "time", NULL
18750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18753 arg2
= wxString_in_helper(obj1
);
18754 if (arg2
== NULL
) SWIG_fail
;
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18761 wxPyEndAllowThreads(__tstate
);
18762 if (PyErr_Occurred()) SWIG_fail
;
18764 resultobj
= PyInt_FromLong((long)result
);
18779 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18782 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
18783 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18784 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18785 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18787 bool temp2
= False
;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 PyObject
* obj2
= 0 ;
18791 char *kwnames
[] = {
18792 (char *) "self",(char *) "format",(char *) "tz", NULL
18795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18799 arg2
= wxString_in_helper(obj1
);
18800 if (arg2
== NULL
) SWIG_fail
;
18806 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18828 if (arg3
) delete arg3
;
18837 if (arg3
) delete arg3
;
18843 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= ((wxDateTime
const *)arg1
)->FormatDate();
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18874 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= ((wxDateTime
const *)arg1
)->FormatTime();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18905 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18909 PyObject
* obj0
= 0 ;
18910 char *kwnames
[] = {
18911 (char *) "self", NULL
18914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
18915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18918 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
18920 wxPyEndAllowThreads(__tstate
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18936 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18967 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
18969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18970 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
18972 return Py_BuildValue((char *)"");
18974 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
;
18978 char *kwnames
[] = {
18979 (char *) "sec", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 result
= wxTimeSpan::Seconds(arg1
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18991 wxTimeSpan
* resultptr
;
18992 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18993 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19001 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19004 char *kwnames
[] = {
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= wxTimeSpan::Second();
19013 wxPyEndAllowThreads(__tstate
);
19014 if (PyErr_Occurred()) SWIG_fail
;
19017 wxTimeSpan
* resultptr
;
19018 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19019 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19027 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19031 char *kwnames
[] = {
19032 (char *) "min", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19038 result
= wxTimeSpan::Minutes(arg1
);
19040 wxPyEndAllowThreads(__tstate
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19044 wxTimeSpan
* resultptr
;
19045 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19046 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19054 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19057 char *kwnames
[] = {
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= wxTimeSpan::Minute();
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19070 wxTimeSpan
* resultptr
;
19071 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19072 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19080 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19084 char *kwnames
[] = {
19085 (char *) "hours", NULL
19088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19091 result
= wxTimeSpan::Hours(arg1
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 wxTimeSpan
* resultptr
;
19098 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19107 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19110 char *kwnames
[] = {
19114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19117 result
= wxTimeSpan::Hour();
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 wxTimeSpan
* resultptr
;
19124 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19125 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19133 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19137 char *kwnames
[] = {
19138 (char *) "days", NULL
19141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 result
= wxTimeSpan::Days(arg1
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19150 wxTimeSpan
* resultptr
;
19151 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19152 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19160 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19163 char *kwnames
[] = {
19167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 result
= wxTimeSpan::Day();
19172 wxPyEndAllowThreads(__tstate
);
19173 if (PyErr_Occurred()) SWIG_fail
;
19176 wxTimeSpan
* resultptr
;
19177 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19178 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19186 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19190 char *kwnames
[] = {
19191 (char *) "days", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= wxTimeSpan::Weeks(arg1
);
19199 wxPyEndAllowThreads(__tstate
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 wxTimeSpan
* resultptr
;
19204 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19205 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19213 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19216 char *kwnames
[] = {
19220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19223 result
= wxTimeSpan::Week();
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19229 wxTimeSpan
* resultptr
;
19230 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19231 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19239 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 long arg1
= (long) 0 ;
19242 long arg2
= (long) 0 ;
19243 long arg3
= (long) 0 ;
19244 long arg4
= (long) 0 ;
19245 wxTimeSpan
*result
;
19246 char *kwnames
[] = {
19247 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19265 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 Py_INCREF(Py_None
); resultobj
= Py_None
;
19289 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19292 wxTimeSpan
*arg2
= 0 ;
19293 wxTimeSpan
*result
;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "diff", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19302 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19303 if (arg2
== NULL
) {
19304 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19310 result
= (wxTimeSpan
*) &_result_ref
;
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19323 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19324 PyObject
*resultobj
;
19325 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19326 wxTimeSpan
*arg2
= 0 ;
19327 wxTimeSpan
*result
;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "diff", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19336 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19337 if (arg2
== NULL
) {
19338 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19343 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19344 result
= (wxTimeSpan
*) &_result_ref
;
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19357 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19358 PyObject
*resultobj
;
19359 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19361 wxTimeSpan
*result
;
19362 PyObject
* obj0
= 0 ;
19363 char *kwnames
[] = {
19364 (char *) "self",(char *) "n", NULL
19367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19372 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19373 result
= (wxTimeSpan
*) &_result_ref
;
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19386 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19389 wxTimeSpan
*result
;
19390 PyObject
* obj0
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19401 result
= (wxTimeSpan
*) &_result_ref
;
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19414 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 char *kwnames
[] = {
19420 (char *) "self", NULL
19423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19433 wxTimeSpan
* resultptr
;
19434 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19443 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19446 wxTimeSpan
*arg2
= 0 ;
19447 wxTimeSpan
*result
;
19448 PyObject
* obj0
= 0 ;
19449 PyObject
* obj1
= 0 ;
19450 char *kwnames
[] = {
19451 (char *) "self",(char *) "diff", NULL
19454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19456 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19457 if (arg2
== NULL
) {
19458 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19464 result
= (wxTimeSpan
*) &_result_ref
;
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19477 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19478 PyObject
*resultobj
;
19479 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19480 wxTimeSpan
*arg2
= 0 ;
19481 wxTimeSpan
*result
;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self",(char *) "diff", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19490 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19491 if (arg2
== NULL
) {
19492 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19498 result
= (wxTimeSpan
*) &_result_ref
;
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19511 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19515 wxTimeSpan
*result
;
19516 PyObject
* obj0
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self",(char *) "n", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19527 result
= (wxTimeSpan
*) &_result_ref
;
19530 wxPyEndAllowThreads(__tstate
);
19531 if (PyErr_Occurred()) SWIG_fail
;
19533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19540 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19541 PyObject
*resultobj
;
19542 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19543 wxTimeSpan
*result
;
19544 PyObject
* obj0
= 0 ;
19545 char *kwnames
[] = {
19546 (char *) "self", NULL
19549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19555 result
= (wxTimeSpan
*) &_result_ref
;
19558 wxPyEndAllowThreads(__tstate
);
19559 if (PyErr_Occurred()) SWIG_fail
;
19561 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19568 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19569 PyObject
*resultobj
;
19570 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19571 wxTimeSpan
*arg2
= 0 ;
19573 PyObject
* obj0
= 0 ;
19574 PyObject
* obj1
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self",(char *) "other", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19582 if (arg2
== NULL
) {
19583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19593 wxTimeSpan
* resultptr
;
19594 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19603 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
;
19605 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19606 wxTimeSpan
*arg2
= 0 ;
19608 PyObject
* obj0
= 0 ;
19609 PyObject
* obj1
= 0 ;
19610 char *kwnames
[] = {
19611 (char *) "self",(char *) "other", NULL
19614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19617 if (arg2
== NULL
) {
19618 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19628 wxTimeSpan
* resultptr
;
19629 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19638 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "n", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19652 result
= wxTimeSpan___mul__(arg1
,arg2
);
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19658 wxTimeSpan
* resultptr
;
19659 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19660 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19668 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
;
19670 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19673 PyObject
* obj0
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self",(char *) "n", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 wxTimeSpan
* resultptr
;
19689 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19690 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19698 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19701 wxTimeSpan
*arg2
= 0 ;
19703 PyObject
* obj0
= 0 ;
19704 PyObject
* obj1
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self",(char *) "other", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19711 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19712 if (arg2
== NULL
) {
19713 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= PyInt_FromLong((long)result
);
19729 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19732 wxTimeSpan
*arg2
= 0 ;
19734 PyObject
* obj0
= 0 ;
19735 PyObject
* obj1
= 0 ;
19736 char *kwnames
[] = {
19737 (char *) "self",(char *) "other", NULL
19740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19743 if (arg2
== NULL
) {
19744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 resultobj
= PyInt_FromLong((long)result
);
19760 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19763 wxTimeSpan
*arg2
= 0 ;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "other", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19773 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19774 if (arg2
== NULL
) {
19775 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= PyInt_FromLong((long)result
);
19791 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19792 PyObject
*resultobj
;
19793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19794 wxTimeSpan
*arg2
= 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "other", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19805 if (arg2
== NULL
) {
19806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19810 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
19812 wxPyEndAllowThreads(__tstate
);
19813 if (PyErr_Occurred()) SWIG_fail
;
19815 resultobj
= PyInt_FromLong((long)result
);
19822 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19825 wxTimeSpan
*arg2
= 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "other", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19836 if (arg2
== NULL
) {
19837 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= PyInt_FromLong((long)result
);
19853 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19854 PyObject
*resultobj
;
19855 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19856 wxTimeSpan
*arg2
= 0 ;
19858 PyObject
* obj0
= 0 ;
19859 PyObject
* obj1
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "other", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19866 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19867 if (arg2
== NULL
) {
19868 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19872 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
19874 wxPyEndAllowThreads(__tstate
);
19875 if (PyErr_Occurred()) SWIG_fail
;
19877 resultobj
= PyInt_FromLong((long)result
);
19884 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
;
19886 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19888 PyObject
* obj0
= 0 ;
19889 char *kwnames
[] = {
19890 (char *) "self", NULL
19893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
19894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= PyInt_FromLong((long)result
);
19909 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= PyInt_FromLong((long)result
);
19934 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19938 PyObject
* obj0
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= PyInt_FromLong((long)result
);
19959 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19962 wxTimeSpan
*arg2
= 0 ;
19964 PyObject
* obj0
= 0 ;
19965 PyObject
* obj1
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self",(char *) "ts", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19972 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19973 if (arg2
== NULL
) {
19974 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= PyInt_FromLong((long)result
);
19990 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19993 wxTimeSpan
*arg2
= 0 ;
19995 PyObject
* obj0
= 0 ;
19996 PyObject
* obj1
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self",(char *) "ts", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20004 if (arg2
== NULL
) {
20005 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= PyInt_FromLong((long)result
);
20021 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20024 wxTimeSpan
*arg2
= 0 ;
20026 PyObject
* obj0
= 0 ;
20027 PyObject
* obj1
= 0 ;
20028 char *kwnames
[] = {
20029 (char *) "self",(char *) "t", NULL
20032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20035 if (arg2
== NULL
) {
20036 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= PyInt_FromLong((long)result
);
20052 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20053 PyObject
*resultobj
;
20054 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20056 PyObject
* obj0
= 0 ;
20057 char *kwnames
[] = {
20058 (char *) "self", NULL
20061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 resultobj
= PyInt_FromLong((long)result
);
20077 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20078 PyObject
*resultobj
;
20079 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20081 PyObject
* obj0
= 0 ;
20082 char *kwnames
[] = {
20083 (char *) "self", NULL
20086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= PyInt_FromLong((long)result
);
20102 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 char *kwnames
[] = {
20108 (char *) "self", NULL
20111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= PyInt_FromLong((long)result
);
20127 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= PyInt_FromLong((long)result
);
20152 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20172 hi
= PyLong_FromLong( (&result
)->GetHi() );
20173 lo
= PyLong_FromLong( (&result
)->GetLo() );
20174 shifter
= PyLong_FromLong(32);
20175 shifted
= PyNumber_Lshift(hi
, shifter
);
20176 resultobj
= PyNumber_Or(shifted
, lo
);
20179 Py_DECREF(shifter
);
20180 Py_DECREF(shifted
);
20188 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 char *kwnames
[] = {
20194 (char *) "self", NULL
20197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20203 wxPyEndAllowThreads(__tstate
);
20204 if (PyErr_Occurred()) SWIG_fail
;
20207 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20208 hi
= PyLong_FromLong( (&result
)->GetHi() );
20209 lo
= PyLong_FromLong( (&result
)->GetLo() );
20210 shifter
= PyLong_FromLong(32);
20211 shifted
= PyNumber_Lshift(hi
, shifter
);
20212 resultobj
= PyNumber_Or(shifted
, lo
);
20215 Py_DECREF(shifter
);
20216 Py_DECREF(shifted
);
20224 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20227 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20228 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20230 bool temp2
= False
;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self",(char *) "format", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20241 arg2
= wxString_in_helper(obj1
);
20242 if (arg2
== NULL
) SWIG_fail
;
20247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20248 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20250 wxPyEndAllowThreads(__tstate
);
20251 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20274 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20276 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20277 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20279 return Py_BuildValue((char *)"");
20281 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 int arg1
= (int) 0 ;
20284 int arg2
= (int) 0 ;
20285 int arg3
= (int) 0 ;
20286 int arg4
= (int) 0 ;
20287 wxDateSpan
*result
;
20288 char *kwnames
[] = {
20289 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20295 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20297 wxPyEndAllowThreads(__tstate
);
20298 if (PyErr_Occurred()) SWIG_fail
;
20300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20307 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20335 char *kwnames
[] = {
20336 (char *) "days", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= wxDateSpan::Days(arg1
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20348 wxDateSpan
* resultptr
;
20349 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20350 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20358 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20361 char *kwnames
[] = {
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= wxDateSpan::Day();
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20374 wxDateSpan
* resultptr
;
20375 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20376 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20384 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20388 char *kwnames
[] = {
20389 (char *) "weeks", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 result
= wxDateSpan::Weeks(arg1
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20401 wxDateSpan
* resultptr
;
20402 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20403 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20411 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
;
20414 char *kwnames
[] = {
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 result
= wxDateSpan::Week();
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 wxDateSpan
* resultptr
;
20428 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20429 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20437 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20441 char *kwnames
[] = {
20442 (char *) "mon", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20448 result
= wxDateSpan::Months(arg1
);
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20454 wxDateSpan
* resultptr
;
20455 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20456 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20464 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20467 char *kwnames
[] = {
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= wxDateSpan::Month();
20476 wxPyEndAllowThreads(__tstate
);
20477 if (PyErr_Occurred()) SWIG_fail
;
20480 wxDateSpan
* resultptr
;
20481 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20482 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20490 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20494 char *kwnames
[] = {
20495 (char *) "years", NULL
20498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 result
= wxDateSpan::Years(arg1
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20507 wxDateSpan
* resultptr
;
20508 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20509 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20517 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20520 char *kwnames
[] = {
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= wxDateSpan::Year();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20533 wxDateSpan
* resultptr
;
20534 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20535 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20543 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
;
20545 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20547 wxDateSpan
*result
;
20548 PyObject
* obj0
= 0 ;
20549 char *kwnames
[] = {
20550 (char *) "self",(char *) "n", NULL
20553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20558 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20559 result
= (wxDateSpan
*) &_result_ref
;
20562 wxPyEndAllowThreads(__tstate
);
20563 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20572 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20573 PyObject
*resultobj
;
20574 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20576 wxDateSpan
*result
;
20577 PyObject
* obj0
= 0 ;
20578 char *kwnames
[] = {
20579 (char *) "self",(char *) "n", NULL
20582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20588 result
= (wxDateSpan
*) &_result_ref
;
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20601 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20605 wxDateSpan
*result
;
20606 PyObject
* obj0
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self",(char *) "n", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20616 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20617 result
= (wxDateSpan
*) &_result_ref
;
20620 wxPyEndAllowThreads(__tstate
);
20621 if (PyErr_Occurred()) SWIG_fail
;
20623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20630 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20634 wxDateSpan
*result
;
20635 PyObject
* obj0
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self",(char *) "n", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20646 result
= (wxDateSpan
*) &_result_ref
;
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20659 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20663 PyObject
* obj0
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20672 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20674 wxPyEndAllowThreads(__tstate
);
20675 if (PyErr_Occurred()) SWIG_fail
;
20677 resultobj
= PyInt_FromLong((long)result
);
20684 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20685 PyObject
*resultobj
;
20686 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20688 PyObject
* obj0
= 0 ;
20689 char *kwnames
[] = {
20690 (char *) "self", NULL
20693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= PyInt_FromLong((long)result
);
20709 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20710 PyObject
*resultobj
;
20711 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20713 PyObject
* obj0
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20722 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20724 wxPyEndAllowThreads(__tstate
);
20725 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= PyInt_FromLong((long)result
);
20734 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20738 PyObject
* obj0
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20747 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20749 wxPyEndAllowThreads(__tstate
);
20750 if (PyErr_Occurred()) SWIG_fail
;
20752 resultobj
= PyInt_FromLong((long)result
);
20759 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20760 PyObject
*resultobj
;
20761 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20763 PyObject
* obj0
= 0 ;
20764 char *kwnames
[] = {
20765 (char *) "self", NULL
20768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
20769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= PyInt_FromLong((long)result
);
20784 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20787 wxDateSpan
*arg2
= 0 ;
20788 wxDateSpan
*result
;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "other", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20797 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20798 if (arg2
== NULL
) {
20799 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20804 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20805 result
= (wxDateSpan
*) &_result_ref
;
20808 wxPyEndAllowThreads(__tstate
);
20809 if (PyErr_Occurred()) SWIG_fail
;
20811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20818 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20819 PyObject
*resultobj
;
20820 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20821 wxDateSpan
*arg2
= 0 ;
20822 wxDateSpan
*result
;
20823 PyObject
* obj0
= 0 ;
20824 PyObject
* obj1
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self",(char *) "other", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20831 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20832 if (arg2
== NULL
) {
20833 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20839 result
= (wxDateSpan
*) &_result_ref
;
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20852 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20855 wxDateSpan
*result
;
20856 PyObject
* obj0
= 0 ;
20857 char *kwnames
[] = {
20858 (char *) "self", NULL
20861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
20862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20866 wxDateSpan
&_result_ref
= (arg1
)->Neg();
20867 result
= (wxDateSpan
*) &_result_ref
;
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20880 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20884 wxDateSpan
*result
;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "factor", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
20896 result
= (wxDateSpan
*) &_result_ref
;
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20909 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20912 wxDateSpan
*arg2
= 0 ;
20913 wxDateSpan
*result
;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 char *kwnames
[] = {
20917 (char *) "self",(char *) "other", NULL
20920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
20921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20923 if (arg2
== NULL
) {
20924 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20930 result
= (wxDateSpan
*) &_result_ref
;
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20943 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20946 wxDateSpan
*arg2
= 0 ;
20947 wxDateSpan
*result
;
20948 PyObject
* obj0
= 0 ;
20949 PyObject
* obj1
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self",(char *) "other", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 if (arg2
== NULL
) {
20958 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20964 result
= (wxDateSpan
*) &_result_ref
;
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20977 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20980 wxDateSpan
*result
;
20981 PyObject
* obj0
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 wxDateSpan
&_result_ref
= (arg1
)->operator -();
20992 result
= (wxDateSpan
*) &_result_ref
;
20995 wxPyEndAllowThreads(__tstate
);
20996 if (PyErr_Occurred()) SWIG_fail
;
20998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21005 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21009 wxDateSpan
*result
;
21010 PyObject
* obj0
= 0 ;
21011 char *kwnames
[] = {
21012 (char *) "self",(char *) "factor", NULL
21015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21021 result
= (wxDateSpan
*) &_result_ref
;
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21034 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21037 wxDateSpan
*arg2
= 0 ;
21039 PyObject
* obj0
= 0 ;
21040 PyObject
* obj1
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "self",(char *) "other", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21048 if (arg2
== NULL
) {
21049 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21059 wxDateSpan
* resultptr
;
21060 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21061 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21069 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21072 wxDateSpan
*arg2
= 0 ;
21074 PyObject
* obj0
= 0 ;
21075 PyObject
* obj1
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self",(char *) "other", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21082 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21083 if (arg2
== NULL
) {
21084 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 wxDateSpan
* resultptr
;
21095 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21096 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21104 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self",(char *) "n", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= wxDateSpan___mul__(arg1
,arg2
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 wxDateSpan
* resultptr
;
21125 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21134 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21139 PyObject
* obj0
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "n", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= wxDateSpan___rmul__(arg1
,arg2
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 wxDateSpan
* resultptr
;
21155 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21156 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21164 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
;
21166 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21167 wxDateSpan
*arg2
= 0 ;
21169 PyObject
* obj0
= 0 ;
21170 PyObject
* obj1
= 0 ;
21171 char *kwnames
[] = {
21172 (char *) "self",(char *) "other", NULL
21175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21177 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21178 if (arg2
== NULL
) {
21179 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= PyInt_FromLong((long)result
);
21195 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21197 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21198 wxDateSpan
*arg2
= 0 ;
21200 PyObject
* obj0
= 0 ;
21201 PyObject
* obj1
= 0 ;
21202 char *kwnames
[] = {
21203 (char *) "self",(char *) "other", NULL
21206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21209 if (arg2
== NULL
) {
21210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 resultobj
= PyInt_FromLong((long)result
);
21226 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21229 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21231 return Py_BuildValue((char *)"");
21233 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21236 char *kwnames
[] = {
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (long)wxGetLocalTime();
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= PyInt_FromLong((long)result
);
21255 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21256 PyObject
*resultobj
;
21258 char *kwnames
[] = {
21262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (long)wxGetUTCTime();
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= PyInt_FromLong((long)result
);
21277 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21280 char *kwnames
[] = {
21284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 result
= (long)wxGetCurrentTime();
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= PyInt_FromLong((long)result
);
21299 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21302 char *kwnames
[] = {
21306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= wxGetLocalTimeMillis();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21315 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21316 hi
= PyLong_FromLong( (&result
)->GetHi() );
21317 lo
= PyLong_FromLong( (&result
)->GetLo() );
21318 shifter
= PyLong_FromLong(32);
21319 shifted
= PyNumber_Lshift(hi
, shifter
);
21320 resultobj
= PyNumber_Or(shifted
, lo
);
21323 Py_DECREF(shifter
);
21324 Py_DECREF(shifted
);
21332 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21333 PyObject
*resultobj
;
21335 wxDataFormat
*result
;
21336 char *kwnames
[] = {
21337 (char *) "type", NULL
21340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21343 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21345 wxPyEndAllowThreads(__tstate
);
21346 if (PyErr_Occurred()) SWIG_fail
;
21348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21355 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21356 PyObject
*resultobj
;
21357 wxString
*arg1
= 0 ;
21358 wxDataFormat
*result
;
21359 bool temp1
= False
;
21360 PyObject
* obj0
= 0 ;
21361 char *kwnames
[] = {
21362 (char *) "format", NULL
21365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21367 arg1
= wxString_in_helper(obj0
);
21368 if (arg1
== NULL
) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21393 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 Py_INCREF(Py_None
); resultobj
= Py_None
;
21417 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21418 PyObject
*resultobj
;
21419 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21422 PyObject
* obj0
= 0 ;
21424 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= PyInt_FromLong((long)result
);
21440 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21441 PyObject
*resultobj
;
21442 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21447 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= PyInt_FromLong((long)result
);
21463 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21464 PyObject
*resultobj
;
21465 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21466 wxDataFormat
*arg2
= 0 ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21471 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21473 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21474 if (arg2
== NULL
) {
21475 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21479 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21481 wxPyEndAllowThreads(__tstate
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 resultobj
= PyInt_FromLong((long)result
);
21491 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21496 argc
= PyObject_Length(args
);
21497 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21498 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21504 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21514 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21522 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21530 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21539 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21542 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21547 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21552 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21553 PyObject
*resultobj
;
21554 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21555 wxDataFormat
*arg2
= 0 ;
21557 PyObject
* obj0
= 0 ;
21558 PyObject
* obj1
= 0 ;
21560 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21562 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 if (arg2
== NULL
) {
21564 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 resultobj
= PyInt_FromLong((long)result
);
21580 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21585 argc
= PyObject_Length(args
);
21586 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21587 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21593 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21603 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21611 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21619 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21628 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21631 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21636 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21641 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "format", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21654 (arg1
)->SetType((wxDataFormatId
)arg2
);
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 Py_INCREF(Py_None
); resultobj
= Py_None
;
21666 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21667 PyObject
*resultobj
;
21668 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21670 PyObject
* obj0
= 0 ;
21671 char *kwnames
[] = {
21672 (char *) "self", NULL
21675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 resultobj
= PyInt_FromLong((long)result
);
21691 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 char *kwnames
[] = {
21697 (char *) "self", NULL
21700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21704 result
= ((wxDataFormat
const *)arg1
)->GetId();
21706 wxPyEndAllowThreads(__tstate
);
21707 if (PyErr_Occurred()) SWIG_fail
;
21711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21722 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21724 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21725 wxString
*arg2
= 0 ;
21726 bool temp2
= False
;
21727 PyObject
* obj0
= 0 ;
21728 PyObject
* obj1
= 0 ;
21729 char *kwnames
[] = {
21730 (char *) "self",(char *) "format", NULL
21733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21736 arg2
= wxString_in_helper(obj1
);
21737 if (arg2
== NULL
) SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 (arg1
)->SetId((wxString
const &)*arg2
);
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21747 Py_INCREF(Py_None
); resultobj
= Py_None
;
21762 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
21764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21765 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
21767 return Py_BuildValue((char *)"");
21769 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
21770 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
21775 static PyObject
*_wrap_FormatInvalid_get() {
21778 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
21783 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21786 PyObject
* obj0
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
21792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21800 Py_INCREF(Py_None
); resultobj
= Py_None
;
21807 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21810 int arg2
= (int) wxDataObject::Get
;
21811 SwigValueWrapper
< wxDataFormat
> result
;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self",(char *) "dir", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 wxDataFormat
* resultptr
;
21828 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
21829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
21837 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21838 PyObject
*resultobj
;
21839 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21840 int arg2
= (int) wxDataObject::Get
;
21842 PyObject
* obj0
= 0 ;
21843 char *kwnames
[] = {
21844 (char *) "self",(char *) "dir", NULL
21847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
21848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21851 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= PyInt_FromLong((long)result
);
21863 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21866 wxDataFormat
*arg2
= 0 ;
21867 int arg3
= (int) wxDataObject::Get
;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "format",(char *) "dir", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21877 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21878 if (arg2
== NULL
) {
21879 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
21885 wxPyEndAllowThreads(__tstate
);
21886 if (PyErr_Occurred()) SWIG_fail
;
21888 resultobj
= PyInt_FromLong((long)result
);
21895 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21896 PyObject
*resultobj
;
21897 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21898 wxDataFormat
*arg2
= 0 ;
21900 PyObject
* obj0
= 0 ;
21901 PyObject
* obj1
= 0 ;
21902 char *kwnames
[] = {
21903 (char *) "self",(char *) "format", NULL
21906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21908 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21909 if (arg2
== NULL
) {
21910 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21919 resultobj
= PyInt_FromLong((long)result
);
21926 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21929 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
21930 int arg3
= (int) wxDataObject::Get
;
21931 PyObject
* obj0
= 0 ;
21932 PyObject
* obj1
= 0 ;
21933 char *kwnames
[] = {
21934 (char *) "self",(char *) "formats",(char *) "dir", NULL
21937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21939 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 Py_INCREF(Py_None
); resultobj
= Py_None
;
21954 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21957 wxDataFormat
*arg2
= 0 ;
21958 void *arg3
= (void *) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 PyObject
* obj2
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "format",(char *) "buf", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 if (arg2
== NULL
) {
21971 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21973 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 resultobj
= PyInt_FromLong((long)result
);
21988 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21991 wxDataFormat
*arg2
= 0 ;
21993 void *arg4
= (void *) 0 ;
21995 PyObject
* obj0
= 0 ;
21996 PyObject
* obj1
= 0 ;
21997 PyObject
* obj2
= 0 ;
21998 PyObject
* obj3
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22005 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22006 if (arg2
== NULL
) {
22007 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22009 arg3
= (size_t) PyInt_AsLong(obj2
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22011 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22014 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= PyInt_FromLong((long)result
);
22026 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22029 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22031 return Py_BuildValue((char *)"");
22033 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22034 PyObject
*resultobj
;
22035 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22036 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22037 wxDataObjectSimple
*result
;
22038 PyObject
* obj0
= 0 ;
22039 char *kwnames
[] = {
22040 (char *) "format", NULL
22043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22046 if (arg1
== NULL
) {
22047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22052 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22064 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22065 PyObject
*resultobj
;
22066 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22067 wxDataFormat
*result
;
22068 PyObject
* obj0
= 0 ;
22069 char *kwnames
[] = {
22070 (char *) "self", NULL
22073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22079 result
= (wxDataFormat
*) &_result_ref
;
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22092 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
;
22094 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22095 wxDataFormat
*arg2
= 0 ;
22096 PyObject
* obj0
= 0 ;
22097 PyObject
* obj1
= 0 ;
22098 char *kwnames
[] = {
22099 (char *) "self",(char *) "format", NULL
22102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22104 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22105 if (arg2
== NULL
) {
22106 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22110 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22112 wxPyEndAllowThreads(__tstate
);
22113 if (PyErr_Occurred()) SWIG_fail
;
22115 Py_INCREF(Py_None
); resultobj
= Py_None
;
22122 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22125 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22127 return Py_BuildValue((char *)"");
22129 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22132 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22133 wxPyDataObjectSimple
*result
;
22134 PyObject
* obj0
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "format", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22142 if (arg1
== NULL
) {
22143 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22160 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22163 PyObject
*arg2
= (PyObject
*) 0 ;
22164 PyObject
*arg3
= (PyObject
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 PyObject
* obj2
= 0 ;
22168 char *kwnames
[] = {
22169 (char *) "self",(char *) "self",(char *) "_class", NULL
22172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 Py_INCREF(Py_None
); resultobj
= Py_None
;
22190 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22193 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22195 return Py_BuildValue((char *)"");
22197 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22198 PyObject
*resultobj
;
22199 wxDataObjectComposite
*result
;
22200 char *kwnames
[] = {
22204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22219 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22220 PyObject
*resultobj
;
22221 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22222 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22223 int arg3
= (int) False
;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 char *kwnames
[] = {
22227 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22232 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22235 (arg1
)->Add(arg2
,arg3
);
22237 wxPyEndAllowThreads(__tstate
);
22238 if (PyErr_Occurred()) SWIG_fail
;
22240 Py_INCREF(Py_None
); resultobj
= Py_None
;
22247 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22250 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22252 return Py_BuildValue((char *)"");
22254 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22257 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22258 wxTextDataObject
*result
;
22259 bool temp1
= False
;
22260 PyObject
* obj0
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "text", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22268 arg1
= wxString_in_helper(obj0
);
22269 if (arg1
== NULL
) SWIG_fail
;
22274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22275 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22277 wxPyEndAllowThreads(__tstate
);
22278 if (PyErr_Occurred()) SWIG_fail
;
22280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22295 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22299 PyObject
* obj0
= 0 ;
22300 char *kwnames
[] = {
22301 (char *) "self", NULL
22304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (size_t)(arg1
)->GetTextLength();
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 resultobj
= PyInt_FromLong((long)result
);
22320 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22324 PyObject
* obj0
= 0 ;
22325 char *kwnames
[] = {
22326 (char *) "self", NULL
22329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (arg1
)->GetText();
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22351 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22354 wxString
*arg2
= 0 ;
22355 bool temp2
= False
;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self",(char *) "text", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22365 arg2
= wxString_in_helper(obj1
);
22366 if (arg2
== NULL
) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetText((wxString
const &)*arg2
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 Py_INCREF(Py_None
); resultobj
= Py_None
;
22391 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22394 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22396 return Py_BuildValue((char *)"");
22398 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22401 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22402 wxPyTextDataObject
*result
;
22403 bool temp1
= False
;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "text", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22412 arg1
= wxString_in_helper(obj0
);
22413 if (arg1
== NULL
) SWIG_fail
;
22418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22419 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22439 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22442 PyObject
*arg2
= (PyObject
*) 0 ;
22443 PyObject
*arg3
= (PyObject
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 PyObject
* obj2
= 0 ;
22447 char *kwnames
[] = {
22448 (char *) "self",(char *) "self",(char *) "_class", NULL
22451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 Py_INCREF(Py_None
); resultobj
= Py_None
;
22469 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22472 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22474 return Py_BuildValue((char *)"");
22476 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22479 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22480 wxBitmapDataObject
*result
;
22481 PyObject
* obj0
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "bitmap", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22489 if (arg1
== NULL
) {
22490 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22507 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22511 PyObject
* obj0
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22520 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22522 wxPyEndAllowThreads(__tstate
);
22523 if (PyErr_Occurred()) SWIG_fail
;
22526 wxBitmap
* resultptr
;
22527 resultptr
= new wxBitmap((wxBitmap
&) result
);
22528 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22536 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22539 wxBitmap
*arg2
= 0 ;
22540 PyObject
* obj0
= 0 ;
22541 PyObject
* obj1
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self",(char *) "bitmap", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22548 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22549 if (arg2
== NULL
) {
22550 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 Py_INCREF(Py_None
); resultobj
= Py_None
;
22566 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22569 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22571 return Py_BuildValue((char *)"");
22573 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22574 PyObject
*resultobj
;
22575 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22576 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22577 wxPyBitmapDataObject
*result
;
22578 PyObject
* obj0
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "bitmap", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22586 if (arg1
== NULL
) {
22587 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22592 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22604 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
;
22606 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22607 PyObject
*arg2
= (PyObject
*) 0 ;
22608 PyObject
*arg3
= (PyObject
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 char *kwnames
[] = {
22613 (char *) "self",(char *) "self",(char *) "_class", NULL
22616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22622 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22624 wxPyEndAllowThreads(__tstate
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 Py_INCREF(Py_None
); resultobj
= Py_None
;
22634 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22637 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22639 return Py_BuildValue((char *)"");
22641 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxFileDataObject
*result
;
22644 char *kwnames
[] = {
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (wxFileDataObject
*)new wxFileDataObject();
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22663 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22666 wxArrayString
*result
;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22677 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22678 result
= (wxArrayString
*) &_result_ref
;
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 resultobj
= wxArrayString2PyList_helper(*result
);
22693 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22696 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22698 return Py_BuildValue((char *)"");
22700 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22701 PyObject
*resultobj
;
22702 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22703 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22704 wxCustomDataObject
*result
;
22705 PyObject
* obj0
= 0 ;
22706 char *kwnames
[] = {
22707 (char *) "format", NULL
22710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22713 if (arg1
== NULL
) {
22714 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22731 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22732 PyObject
*resultobj
;
22733 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22734 PyObject
*arg2
= (PyObject
*) 0 ;
22735 PyObject
* obj0
= 0 ;
22736 PyObject
* obj1
= 0 ;
22737 char *kwnames
[] = {
22738 (char *) "self",(char *) "data", NULL
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22746 wxCustomDataObject_TakeData(arg1
,arg2
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 Py_INCREF(Py_None
); resultobj
= Py_None
;
22758 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
;
22760 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22761 PyObject
*arg2
= (PyObject
*) 0 ;
22763 PyObject
* obj0
= 0 ;
22764 PyObject
* obj1
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "self",(char *) "data", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22779 resultobj
= PyInt_FromLong((long)result
);
22786 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22787 PyObject
*resultobj
;
22788 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22790 PyObject
* obj0
= 0 ;
22791 char *kwnames
[] = {
22792 (char *) "self", NULL
22795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
22796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (size_t)(arg1
)->GetSize();
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= PyInt_FromLong((long)result
);
22811 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= result
;
22836 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22839 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
22841 return Py_BuildValue((char *)"");
22843 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxURLDataObject
*result
;
22846 char *kwnames
[] = {
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (wxURLDataObject
*)new wxURLDataObject();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
22865 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 result
= (arg1
)->GetURL();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22887 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22896 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22899 wxString
*arg2
= 0 ;
22900 bool temp2
= False
;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "url", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22910 arg2
= wxString_in_helper(obj1
);
22911 if (arg2
== NULL
) SWIG_fail
;
22915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22916 (arg1
)->SetURL((wxString
const &)*arg2
);
22918 wxPyEndAllowThreads(__tstate
);
22919 if (PyErr_Occurred()) SWIG_fail
;
22921 Py_INCREF(Py_None
); resultobj
= Py_None
;
22936 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22939 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
22941 return Py_BuildValue((char *)"");
22943 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22944 PyObject
*resultobj
;
22945 wxMetafileDataObject
*result
;
22946 char *kwnames
[] = {
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
22965 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22968 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
22970 return Py_BuildValue((char *)"");
22972 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22976 char *kwnames
[] = {
22977 (char *) "res", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= PyInt_FromLong((long)result
);
22995 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) NULL
;
22998 wxIcon
const &arg2_defvalue
= wxNullIcon
;
22999 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
23000 wxIcon
const &arg3_defvalue
= wxNullIcon
;
23001 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
23002 wxIcon
const &arg4_defvalue
= wxNullIcon
;
23003 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
23004 wxPyDropSource
*result
;
23005 PyObject
* obj0
= 0 ;
23006 PyObject
* obj1
= 0 ;
23007 PyObject
* obj2
= 0 ;
23008 PyObject
* obj3
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23019 if (arg2
== NULL
) {
23020 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23024 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23025 if (arg3
== NULL
) {
23026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23030 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23031 if (arg4
== NULL
) {
23032 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23037 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
23039 wxPyEndAllowThreads(__tstate
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23049 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23052 PyObject
*arg2
= (PyObject
*) 0 ;
23053 PyObject
*arg3
= (PyObject
*) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 PyObject
* obj1
= 0 ;
23057 PyObject
* obj2
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 Py_INCREF(Py_None
); resultobj
= Py_None
;
23080 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 Py_INCREF(Py_None
); resultobj
= Py_None
;
23104 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23107 wxDataObject
*arg2
= 0 ;
23108 PyObject
* obj0
= 0 ;
23109 PyObject
* obj1
= 0 ;
23110 char *kwnames
[] = {
23111 (char *) "self",(char *) "data", NULL
23114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23116 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23117 if (arg2
== NULL
) {
23118 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 (arg1
)->SetData(*arg2
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23137 wxDataObject
*result
;
23138 PyObject
* obj0
= 0 ;
23139 char *kwnames
[] = {
23140 (char *) "self", NULL
23143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23159 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23163 wxCursor
*arg3
= 0 ;
23164 PyObject
* obj0
= 0 ;
23165 PyObject
* obj2
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "res",(char *) "cursor", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23172 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23173 if (arg3
== NULL
) {
23174 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 Py_INCREF(Py_None
); resultobj
= Py_None
;
23190 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23193 int arg2
= (int) wxDrag_CopyOnly
;
23195 PyObject
* obj0
= 0 ;
23196 char *kwnames
[] = {
23197 (char *) "self",(char *) "flags", NULL
23200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 result
= (int)(arg1
)->DoDragDrop(arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 resultobj
= PyInt_FromLong((long)result
);
23216 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23221 PyObject
* obj0
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self",(char *) "effect", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23230 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23232 wxPyEndAllowThreads(__tstate
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23235 resultobj
= PyInt_FromLong((long)result
);
23242 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23245 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23247 return Py_BuildValue((char *)"");
23249 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23251 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23252 wxPyDropTarget
*result
;
23253 PyObject
* obj0
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "dataObject", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23276 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23279 PyObject
*arg2
= (PyObject
*) 0 ;
23280 PyObject
*arg3
= (PyObject
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 PyObject
* obj1
= 0 ;
23283 PyObject
* obj2
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "self",(char *) "_class", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23296 wxPyEndAllowThreads(__tstate
);
23297 if (PyErr_Occurred()) SWIG_fail
;
23299 Py_INCREF(Py_None
); resultobj
= Py_None
;
23306 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23307 PyObject
*resultobj
;
23308 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23309 PyObject
* obj0
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 Py_INCREF(Py_None
); resultobj
= Py_None
;
23330 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23331 PyObject
*resultobj
;
23332 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23333 wxDataObject
*result
;
23334 PyObject
* obj0
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23355 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23358 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self",(char *) "dataObject", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 (arg1
)->SetDataObject(arg2
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 Py_INCREF(Py_None
); resultobj
= Py_None
;
23382 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23403 resultobj
= PyInt_FromLong((long)result
);
23410 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23411 PyObject
*resultobj
;
23412 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23417 PyObject
* obj0
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= PyInt_FromLong((long)result
);
23438 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 (arg1
)->base_OnLeave();
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 Py_INCREF(Py_None
); resultobj
= Py_None
;
23462 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23464 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23468 PyObject
* obj0
= 0 ;
23469 char *kwnames
[] = {
23470 (char *) "self",(char *) "x",(char *) "y", NULL
23473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23482 resultobj
= PyInt_FromLong((long)result
);
23489 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23490 PyObject
*resultobj
;
23491 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23493 PyObject
* obj0
= 0 ;
23494 char *kwnames
[] = {
23495 (char *) "self", NULL
23498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23502 result
= (bool)(arg1
)->GetData();
23504 wxPyEndAllowThreads(__tstate
);
23505 if (PyErr_Occurred()) SWIG_fail
;
23507 resultobj
= PyInt_FromLong((long)result
);
23514 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23516 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23517 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23519 return Py_BuildValue((char *)"");
23521 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxPyTextDropTarget
*result
;
23524 char *kwnames
[] = {
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23543 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23544 PyObject
*resultobj
;
23545 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23546 PyObject
*arg2
= (PyObject
*) 0 ;
23547 PyObject
*arg3
= (PyObject
*) 0 ;
23548 PyObject
* obj0
= 0 ;
23549 PyObject
* obj1
= 0 ;
23550 PyObject
* obj2
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "self",(char *) "_class", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23563 wxPyEndAllowThreads(__tstate
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 Py_INCREF(Py_None
); resultobj
= Py_None
;
23573 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23580 PyObject
* obj0
= 0 ;
23581 char *kwnames
[] = {
23582 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23589 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23591 wxPyEndAllowThreads(__tstate
);
23592 if (PyErr_Occurred()) SWIG_fail
;
23594 resultobj
= PyInt_FromLong((long)result
);
23601 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23602 PyObject
*resultobj
;
23603 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23608 PyObject
* obj0
= 0 ;
23609 char *kwnames
[] = {
23610 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23617 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23619 wxPyEndAllowThreads(__tstate
);
23620 if (PyErr_Occurred()) SWIG_fail
;
23622 resultobj
= PyInt_FromLong((long)result
);
23629 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23632 PyObject
* obj0
= 0 ;
23633 char *kwnames
[] = {
23634 (char *) "self", NULL
23637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 (arg1
)->base_OnLeave();
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 Py_INCREF(Py_None
); resultobj
= Py_None
;
23653 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23659 PyObject
* obj0
= 0 ;
23660 char *kwnames
[] = {
23661 (char *) "self",(char *) "x",(char *) "y", NULL
23664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= PyInt_FromLong((long)result
);
23680 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 char *kwnames
[] = {
23689 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23696 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23698 wxPyEndAllowThreads(__tstate
);
23699 if (PyErr_Occurred()) SWIG_fail
;
23701 resultobj
= PyInt_FromLong((long)result
);
23708 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23711 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23713 return Py_BuildValue((char *)"");
23715 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxPyFileDropTarget
*result
;
23718 char *kwnames
[] = {
23722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23737 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23740 PyObject
*arg2
= (PyObject
*) 0 ;
23741 PyObject
*arg3
= (PyObject
*) 0 ;
23742 PyObject
* obj0
= 0 ;
23743 PyObject
* obj1
= 0 ;
23744 PyObject
* obj2
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "self",(char *) "_class", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23755 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23757 wxPyEndAllowThreads(__tstate
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 Py_INCREF(Py_None
); resultobj
= Py_None
;
23767 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23768 PyObject
*resultobj
;
23769 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 char *kwnames
[] = {
23776 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23783 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23785 wxPyEndAllowThreads(__tstate
);
23786 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= PyInt_FromLong((long)result
);
23795 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23802 PyObject
* obj0
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23813 wxPyEndAllowThreads(__tstate
);
23814 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= PyInt_FromLong((long)result
);
23823 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 (arg1
)->base_OnLeave();
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23840 Py_INCREF(Py_None
); resultobj
= Py_None
;
23847 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23848 PyObject
*resultobj
;
23849 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 char *kwnames
[] = {
23855 (char *) "self",(char *) "x",(char *) "y", NULL
23858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23867 resultobj
= PyInt_FromLong((long)result
);
23874 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23895 resultobj
= PyInt_FromLong((long)result
);
23902 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23905 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
23907 return Py_BuildValue((char *)"");
23909 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxClipboard
*result
;
23912 char *kwnames
[] = {
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
23918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23919 result
= (wxClipboard
*)new wxClipboard();
23921 wxPyEndAllowThreads(__tstate
);
23922 if (PyErr_Occurred()) SWIG_fail
;
23924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
23931 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23932 PyObject
*resultobj
;
23933 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23934 PyObject
* obj0
= 0 ;
23935 char *kwnames
[] = {
23936 (char *) "self", NULL
23939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
23940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 wxPyEndAllowThreads(__tstate
);
23946 if (PyErr_Occurred()) SWIG_fail
;
23948 Py_INCREF(Py_None
); resultobj
= Py_None
;
23955 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23956 PyObject
*resultobj
;
23957 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23959 PyObject
* obj0
= 0 ;
23960 char *kwnames
[] = {
23961 (char *) "self", NULL
23964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
23965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 result
= (bool)(arg1
)->Open();
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= PyInt_FromLong((long)result
);
23980 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
;
23982 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23983 PyObject
* obj0
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
23989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 Py_INCREF(Py_None
); resultobj
= Py_None
;
24004 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24008 PyObject
* obj0
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= PyInt_FromLong((long)result
);
24029 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24032 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "data", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 result
= (bool)(arg1
)->AddData(arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 resultobj
= PyInt_FromLong((long)result
);
24057 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24060 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24062 PyObject
* obj0
= 0 ;
24063 PyObject
* obj1
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "data", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24070 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24073 result
= (bool)(arg1
)->SetData(arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= PyInt_FromLong((long)result
);
24085 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24086 PyObject
*resultobj
;
24087 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24088 wxDataFormat
*arg2
= 0 ;
24090 PyObject
* obj0
= 0 ;
24091 PyObject
* obj1
= 0 ;
24092 char *kwnames
[] = {
24093 (char *) "self",(char *) "format", NULL
24096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24098 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24099 if (arg2
== NULL
) {
24100 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 resultobj
= PyInt_FromLong((long)result
);
24116 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24117 PyObject
*resultobj
;
24118 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24119 wxDataObject
*arg2
= 0 ;
24121 PyObject
* obj0
= 0 ;
24122 PyObject
* obj1
= 0 ;
24123 char *kwnames
[] = {
24124 (char *) "self",(char *) "data", NULL
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24129 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24130 if (arg2
== NULL
) {
24131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 result
= (bool)(arg1
)->GetData(*arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= PyInt_FromLong((long)result
);
24147 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24150 PyObject
* obj0
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "self", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 wxPyEndAllowThreads(__tstate
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24164 Py_INCREF(Py_None
); resultobj
= Py_None
;
24171 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 char *kwnames
[] = {
24177 (char *) "self", NULL
24180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (bool)(arg1
)->Flush();
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= PyInt_FromLong((long)result
);
24196 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24199 bool arg2
= (bool) False
;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "primary", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24209 arg2
= PyInt_AsLong(obj1
) ? true : false;
24210 if (PyErr_Occurred()) SWIG_fail
;
24213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24214 (arg1
)->UsePrimarySelection(arg2
);
24216 wxPyEndAllowThreads(__tstate
);
24217 if (PyErr_Occurred()) SWIG_fail
;
24219 Py_INCREF(Py_None
); resultobj
= Py_None
;
24226 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24229 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24231 return Py_BuildValue((char *)"");
24233 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24234 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24239 static PyObject
*_wrap_TheClipboard_get() {
24242 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24247 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24248 PyObject
*resultobj
;
24249 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24250 wxClipboardLocker
*result
;
24251 PyObject
* obj0
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "clipboard", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24274 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24277 PyObject
* obj0
= 0 ;
24278 char *kwnames
[] = {
24279 (char *) "self", NULL
24282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 Py_INCREF(Py_None
); resultobj
= Py_None
;
24298 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24313 wxPyEndAllowThreads(__tstate
);
24314 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= PyInt_FromLong((long)result
);
24323 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24326 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24328 return Py_BuildValue((char *)"");
24330 static PyMethodDef SwigMethods
[] = {
24331 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24338 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24345 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24383 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24391 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24404 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24407 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24412 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24415 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24418 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24424 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24428 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24433 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24436 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24438 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24439 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24444 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24445 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24450 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24453 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24459 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24465 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24468 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24469 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24471 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24472 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24474 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"Timer_Notify", (PyCFunction
) _wrap_Timer_Notify
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24486 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24489 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24490 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24493 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24499 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24501 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24503 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24505 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24512 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24518 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24520 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24522 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24524 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24526 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24533 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24537 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24539 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24540 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"LogTrace", (PyCFunction
) _wrap_LogTrace
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"LogTraceMask", (PyCFunction
) _wrap_LogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24557 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24558 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24561 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24565 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24578 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24586 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24611 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24632 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24639 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24645 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24660 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24661 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24666 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24677 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24682 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24691 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24698 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24700 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24712 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24721 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24743 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24747 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24750 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24753 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24764 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
24768 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
24771 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
24774 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
24845 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24846 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24847 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24848 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24849 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24850 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
24851 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
24852 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24853 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
24854 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24865 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
24866 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
24867 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
24868 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
24869 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
24870 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
24871 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
24872 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
24873 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
24874 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
24875 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
24886 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
24910 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
24931 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24944 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24952 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
24953 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
24958 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
24965 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
24967 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24971 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
24973 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
24974 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24977 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
24979 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
24982 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
24985 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
24988 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
24989 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
24992 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
24995 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
24998 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
25001 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
25003 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25005 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
25006 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25007 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
25010 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
25013 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
25016 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25017 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25022 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25026 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25028 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25036 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25038 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25044 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25049 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25057 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25061 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25062 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25063 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25064 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25065 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25066 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25067 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25068 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25069 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25070 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25071 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25072 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25073 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25074 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25075 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25076 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25077 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25078 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25079 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25080 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25081 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25086 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25088 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25089 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25091 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25092 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25094 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25095 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25097 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25098 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25100 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25101 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25103 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25104 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25106 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25107 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25109 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25110 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25112 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25113 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25115 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25116 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25118 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25119 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25121 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25122 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25124 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25125 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25127 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25130 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25131 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25133 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25134 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25136 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25137 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25139 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25140 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25142 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25143 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25145 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25146 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25148 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25149 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25151 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25152 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25154 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25157 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25158 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25160 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25161 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25163 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25164 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25166 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25167 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25169 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25170 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25172 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25173 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25175 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25176 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25178 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25179 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25181 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25182 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25184 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25185 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25187 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25190 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25193 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25194 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25196 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25197 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25199 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25200 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25202 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25203 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25205 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25206 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25208 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25209 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25211 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25212 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25214 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25215 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25217 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25218 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25220 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25221 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25223 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25224 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25226 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25227 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25229 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25230 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25232 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25233 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25235 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25236 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25238 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25239 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25241 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25242 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25244 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25245 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25247 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25248 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25250 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25251 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25253 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25254 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25256 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25257 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25259 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25260 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25262 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25263 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25265 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25266 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25268 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25269 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25271 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25272 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25274 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25275 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25277 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25278 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25280 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25281 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25283 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25284 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25286 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25287 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25289 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25290 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25292 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25293 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25295 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25296 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25298 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25299 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25301 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25302 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25304 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25305 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25307 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25310 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25313 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25316 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25319 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25322 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25325 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25328 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) ((wxSizer
*) x
));
25331 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25334 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25337 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25340 static void *_p_wxEventTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) ((wxEvent
*) x
));
25343 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25346 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25349 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25350 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25352 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25353 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25355 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25356 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25358 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25359 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25361 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25362 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25364 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25365 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25367 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25368 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25370 static void *_p_wxControlTo_p_wxObject(void *x
) {
25371 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25373 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25374 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25376 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25377 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25379 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25380 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25382 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25383 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25385 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25386 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25388 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25389 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25391 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25392 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25394 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25395 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25397 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25398 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25400 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25401 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25403 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25404 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25406 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25409 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25410 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25412 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25413 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25415 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25416 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25418 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25419 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25421 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25422 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25424 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25425 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25427 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25428 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25430 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25431 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25433 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25436 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25439 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25442 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25445 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25448 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25451 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25452 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25454 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25457 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25458 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25460 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25461 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25463 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25464 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25466 static void *_p_wxImageTo_p_wxObject(void *x
) {
25467 return (void *)((wxObject
*) ((wxImage
*) x
));
25469 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25470 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25472 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25473 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25475 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25476 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25478 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25479 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25481 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25482 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25484 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25485 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25487 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25488 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25490 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25491 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25493 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25496 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25497 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25499 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25500 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25502 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25505 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25506 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25508 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25509 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25511 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25512 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25514 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25517 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25520 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25523 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25526 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25529 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25532 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25533 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25535 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25536 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25538 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25539 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25541 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25542 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25544 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25545 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25547 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25548 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25550 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25551 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25553 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25554 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25556 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25557 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25559 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25560 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25562 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25563 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25565 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25566 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25568 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25569 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25571 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25572 return (void *)((wxWindow
*) ((wxControl
*) x
));
25574 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25575 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25577 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25578 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25580 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25581 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25583 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25584 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25586 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25587 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25588 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25589 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}};
25590 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25591 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25592 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}};
25593 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}};
25594 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25595 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25596 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25597 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25598 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25599 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25600 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25601 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25602 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25603 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25604 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25605 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25606 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25607 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25608 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25609 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25610 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25611 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25612 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25613 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25614 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25615 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25616 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25617 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}};
25618 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25619 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25620 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25621 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25622 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25623 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25624 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25625 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25626 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25627 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25628 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25629 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25630 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25631 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}};
25632 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}};
25633 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25634 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25635 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25636 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25637 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25638 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25639 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25640 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25641 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25642 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25643 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25644 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25645 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25646 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25647 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_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}};
25648 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25649 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25650 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25651 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}};
25652 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25653 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25654 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25655 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25656 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25657 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25658 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}};
25659 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25660 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25661 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25662 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25663 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25664 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25665 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25666 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25667 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25669 static swig_type_info
*swig_types_initial
[] = {
25670 _swigt__p_wxLogChain
,
25671 _swigt__p_wxMutexGuiLocker
,
25672 _swigt__p_wxFileHistory
,
25674 _swigt__p_wxDateTime__TimeZone
,
25677 _swigt__p_wxConfigBase
,
25679 _swigt__p_wxFileType
,
25680 _swigt__p_wxLogGui
,
25682 _swigt__p_wxDataFormat
,
25683 _swigt__p_wxTimerEvent
,
25687 _swigt__p_wxClipboard
,
25688 _swigt__p_wxStopWatch
,
25690 _swigt__p_wxClipboardLocker
,
25692 _swigt__p_wxLogStderr
,
25693 _swigt__p_wxLogTextCtrl
,
25694 _swigt__p_wxTextCtrl
,
25695 _swigt__p_wxBusyCursor
,
25696 _swigt__p_wxFileDataObject
,
25697 _swigt__p_wxPyBitmapDataObject
,
25698 _swigt__p_wxPyTextDataObject
,
25699 _swigt__p_wxBitmapDataObject
,
25700 _swigt__p_wxTextDataObject
,
25701 _swigt__p_wxDataObject
,
25702 _swigt__p_wxCustomDataObject
,
25703 _swigt__p_wxURLDataObject
,
25704 _swigt__p_wxMetafileDataObject
,
25705 _swigt__p_wxTimerRunner
,
25706 _swigt__p_wxLogWindow
,
25707 _swigt__p_wxTimeSpan
,
25708 _swigt__p_wxArrayString
,
25709 _swigt__p_wxWindowDisabler
,
25710 _swigt__p_wxToolTip
,
25711 _swigt__p_wxDataObjectComposite
,
25712 _swigt__p_wxFileConfig
,
25713 _swigt__p_wxSystemSettings
,
25714 _swigt__p_wxPyDataObjectSimple
,
25715 _swigt__p_wxDataObjectSimple
,
25716 _swigt__p_wxEvtHandler
,
25718 _swigt__p_wxSingleInstanceChecker
,
25719 _swigt__p_wxFileTypeInfo
,
25722 _swigt__p_wxMimeTypesManager
,
25723 _swigt__p_wxPyArtProvider
,
25724 _swigt__p_wxPyTipProvider
,
25725 _swigt__p_wxTipProvider
,
25726 _swigt__p_wxJoystick
,
25727 _swigt__p_wxSystemOptions
,
25729 _swigt__p_wxJoystickEvent
,
25730 _swigt__p_wxCursor
,
25731 _swigt__p_wxObject
,
25732 _swigt__p_wxOutputStream
,
25733 _swigt__p_wxDateTime
,
25734 _swigt__p_wxPyDropSource
,
25735 _swigt__p_wxWindow
,
25736 _swigt__p_wxString
,
25737 _swigt__p_wxPyProcess
,
25738 _swigt__p_wxBitmap
,
25739 _swigt__p_wxConfig
,
25741 _swigt__p_wxBusyInfo
,
25742 _swigt__p_wxPyDropTarget
,
25743 _swigt__p_wxPyTextDropTarget
,
25744 _swigt__p_wxPyFileDropTarget
,
25745 _swigt__p_wxProcessEvent
,
25747 _swigt__p_wxLogNull
,
25748 _swigt__p_wxColour
,
25749 _swigt__p_wxConfigPathChanger
,
25750 _swigt__p_wxPyTimer
,
25751 _swigt__p_wxDateSpan
,
25756 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25758 static swig_const_info swig_const_table
[] = {
25759 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25760 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25761 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25762 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25763 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
25764 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
25765 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
25766 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
25767 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
25768 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
25769 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
25770 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
25771 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
25772 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
25773 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
25774 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
25775 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
25776 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
25777 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
25778 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
25779 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
25780 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
25781 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
25782 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
25783 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
25784 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
25785 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
25786 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
25787 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
25788 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
25789 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
25790 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
25791 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
25792 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
25793 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
25794 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
25795 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
25796 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
25797 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
25798 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
25799 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
25800 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
25801 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
25802 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
25803 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
25804 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
25805 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
25806 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
25807 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
25808 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
25809 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
25810 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
25811 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
25812 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
25813 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
25814 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
25815 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
25816 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
25817 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
25818 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
25819 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
25820 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
25821 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
25822 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
25823 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
25824 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
25825 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
25826 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
25827 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
25828 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
25829 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
25830 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
25831 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
25832 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
25833 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
25834 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
25835 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
25836 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
25837 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
25838 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
25839 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
25840 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
25841 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
25842 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
25843 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
25844 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
25845 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
25846 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
25847 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
25848 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
25849 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
25850 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
25851 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
25852 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
25853 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
25854 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
25855 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
25856 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
25857 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
25858 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
25859 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
25860 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
25861 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
25862 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
25863 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
25864 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
25865 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
25866 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25867 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25868 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25869 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25870 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25871 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25872 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25873 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25874 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25875 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25876 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
25877 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
25878 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
25879 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
25880 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
25881 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
25882 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
25883 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
25884 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
25885 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
25886 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
25887 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
25888 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
25889 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
25890 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
25891 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
25892 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
25893 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
25894 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
25895 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
25896 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
25897 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
25898 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
25899 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
25900 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
25901 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
25902 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
25903 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
25904 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
25905 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
25906 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
25907 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
25908 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
25909 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
25910 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
25911 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
25912 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
25913 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
25914 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
25915 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
25916 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
25917 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
25918 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
25919 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
25920 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
25921 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
25922 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
25923 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
25924 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
25925 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
25926 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
25927 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
25928 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
25929 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
25930 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
25931 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
25932 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
25933 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
25934 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
25935 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
25936 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
25937 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
25938 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
25939 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
25940 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
25941 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
25942 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
25943 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
25944 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
25945 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
25946 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
25947 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
25948 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
25949 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
25950 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
25951 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
25952 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
25953 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
25954 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
25955 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
25956 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
25957 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
25958 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
25959 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
25960 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
25961 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
25962 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
25963 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
25964 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
25965 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
25966 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
25967 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
25968 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
25969 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
25970 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
25971 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
25972 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
25973 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
25974 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
25975 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
25976 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
25977 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
25978 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
25979 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
25980 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
25981 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
25982 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
25983 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
25984 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
25985 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
25986 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
25987 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
25988 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
25989 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
25990 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
25991 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
25992 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
25993 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
25994 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
25995 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26096 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26097 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26098 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26099 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26100 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26101 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26102 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26103 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26104 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26105 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26106 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26107 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26108 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26109 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26110 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26111 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26112 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26113 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26114 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26115 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26116 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26126 SWIGEXPORT(void) SWIG_init(void) {
26127 static PyObject
*SWIG_globals
= 0;
26128 static int typeinit
= 0;
26131 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26132 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26133 d
= PyModule_GetDict(m
);
26136 for (i
= 0; swig_types_initial
[i
]; i
++) {
26137 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26141 SWIG_InstallConstants(d
,swig_const_table
);
26143 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26144 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26146 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26148 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26149 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26150 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26151 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26152 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26153 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26154 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26155 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26156 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26157 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26158 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26159 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26160 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26161 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26162 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26163 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26164 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26165 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26166 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26167 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26168 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26169 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26170 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26171 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26172 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26173 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26174 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26175 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26176 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26177 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26178 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26179 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26180 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26181 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26182 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26183 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26184 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26185 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26186 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26187 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26188 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26189 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26190 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26191 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26193 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26195 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26197 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26198 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26199 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26200 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26202 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);