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
); }
1063 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1066 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1067 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1068 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1069 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1070 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1073 class wxPyTextDropTarget
: public wxTextDropTarget
{
1075 wxPyTextDropTarget() {}
1077 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1079 DEC_PYCALLBACK__(OnLeave
);
1080 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1081 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1082 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1083 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1088 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1089 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1090 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1091 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1092 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1093 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1097 class wxPyFileDropTarget
: public wxFileDropTarget
{
1099 wxPyFileDropTarget() {}
1101 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1103 DEC_PYCALLBACK__(OnLeave
);
1104 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1105 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1106 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1107 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1112 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1113 const wxArrayString
& filenames
) {
1115 wxPyBeginBlockThreads();
1116 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1117 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1118 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1121 wxPyEndBlockThreads();
1127 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1128 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1129 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1130 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1131 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1136 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1140 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1141 PyObject
*resultobj
;
1145 (char *) "index", NULL
1148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetColour",kwnames
,&arg1
)) goto fail
;
1150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1151 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1153 wxPyEndAllowThreads(__tstate
);
1154 if (PyErr_Occurred()) SWIG_fail
;
1157 wxColour
* resultptr
;
1158 resultptr
= new wxColour((wxColour
&) result
);
1159 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
1167 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1168 PyObject
*resultobj
;
1172 (char *) "index", NULL
1175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetFont",kwnames
,&arg1
)) goto fail
;
1177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1178 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1180 wxPyEndAllowThreads(__tstate
);
1181 if (PyErr_Occurred()) SWIG_fail
;
1185 resultptr
= new wxFont((wxFont
&) result
);
1186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
1194 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1195 PyObject
*resultobj
;
1199 (char *) "index", NULL
1202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_GetMetric",kwnames
,&arg1
)) goto fail
;
1204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1205 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1207 wxPyEndAllowThreads(__tstate
);
1208 if (PyErr_Occurred()) SWIG_fail
;
1210 resultobj
= PyInt_FromLong((long)result
);
1217 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1218 PyObject
*resultobj
;
1222 (char *) "index", NULL
1225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_HasFeature",kwnames
,&arg1
)) goto fail
;
1227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1228 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1230 wxPyEndAllowThreads(__tstate
);
1231 if (PyErr_Occurred()) SWIG_fail
;
1233 resultobj
= PyInt_FromLong((long)result
);
1240 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1241 PyObject
*resultobj
;
1247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1250 result
= (int)wxSystemSettings::GetScreenType();
1252 wxPyEndAllowThreads(__tstate
);
1253 if (PyErr_Occurred()) SWIG_fail
;
1255 resultobj
= PyInt_FromLong((long)result
);
1262 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1263 PyObject
*resultobj
;
1266 (char *) "screen", NULL
1269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:SystemSettings_SetScreenType",kwnames
,&arg1
)) goto fail
;
1271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1272 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1274 wxPyEndAllowThreads(__tstate
);
1275 if (PyErr_Occurred()) SWIG_fail
;
1277 Py_INCREF(Py_None
); resultobj
= Py_None
;
1284 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1287 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1289 return Py_BuildValue((char *)"");
1291 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1292 PyObject
*resultobj
;
1293 wxSystemOptions
*result
;
1298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= (wxSystemOptions
*)new wxSystemOptions();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSystemOptions
, 1);
1313 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1315 wxString
*arg1
= 0 ;
1316 wxString
*arg2
= 0 ;
1317 bool temp1
= False
;
1318 bool temp2
= False
;
1319 PyObject
* obj0
= 0 ;
1320 PyObject
* obj1
= 0 ;
1322 (char *) "name",(char *) "value", NULL
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1327 arg1
= wxString_in_helper(obj0
);
1328 if (arg1
== NULL
) SWIG_fail
;
1332 arg2
= wxString_in_helper(obj1
);
1333 if (arg2
== NULL
) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1343 Py_INCREF(Py_None
); resultobj
= Py_None
;
1366 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1367 PyObject
*resultobj
;
1368 wxString
*arg1
= 0 ;
1370 bool temp1
= False
;
1371 PyObject
* obj0
= 0 ;
1373 (char *) "name",(char *) "value", NULL
1376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SystemOptions_SetOptionInt",kwnames
,&obj0
,&arg2
)) goto fail
;
1378 arg1
= wxString_in_helper(obj0
);
1379 if (arg1
== NULL
) SWIG_fail
;
1383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1384 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1386 wxPyEndAllowThreads(__tstate
);
1387 if (PyErr_Occurred()) SWIG_fail
;
1389 Py_INCREF(Py_None
); resultobj
= Py_None
;
1404 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxString
*arg1
= 0 ;
1408 bool temp1
= False
;
1409 PyObject
* obj0
= 0 ;
1411 (char *) "name", NULL
1414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1416 arg1
= wxString_in_helper(obj0
);
1417 if (arg1
== NULL
) SWIG_fail
;
1421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1422 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1424 wxPyEndAllowThreads(__tstate
);
1425 if (PyErr_Occurred()) SWIG_fail
;
1429 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1431 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1448 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxString
*arg1
= 0 ;
1452 bool temp1
= False
;
1453 PyObject
* obj0
= 0 ;
1455 (char *) "name", NULL
1458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1460 arg1
= wxString_in_helper(obj0
);
1461 if (arg1
== NULL
) SWIG_fail
;
1465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1466 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1468 wxPyEndAllowThreads(__tstate
);
1469 if (PyErr_Occurred()) SWIG_fail
;
1471 resultobj
= PyInt_FromLong((long)result
);
1486 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1487 PyObject
*resultobj
;
1488 wxString
*arg1
= 0 ;
1490 bool temp1
= False
;
1491 PyObject
* obj0
= 0 ;
1493 (char *) "name", NULL
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1498 arg1
= wxString_in_helper(obj0
);
1499 if (arg1
== NULL
) SWIG_fail
;
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1509 resultobj
= PyInt_FromLong((long)result
);
1524 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1527 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1529 return Py_BuildValue((char *)"");
1531 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1532 PyObject
*resultobj
;
1538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1541 result
= (long)wxNewId();
1543 wxPyEndAllowThreads(__tstate
);
1544 if (PyErr_Occurred()) SWIG_fail
;
1546 resultobj
= PyInt_FromLong((long)result
);
1553 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:RegisterId",kwnames
,&arg1
)) goto fail
;
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1568 Py_INCREF(Py_None
); resultobj
= Py_None
;
1575 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1585 result
= (long)wxGetCurrentId();
1587 wxPyEndAllowThreads(__tstate
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 resultobj
= PyInt_FromLong((long)result
);
1597 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1598 PyObject
*resultobj
;
1603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1608 wxPyEndAllowThreads(__tstate
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1611 Py_INCREF(Py_None
); resultobj
= Py_None
;
1618 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
*resultobj
;
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1632 Py_INCREF(Py_None
); resultobj
= Py_None
;
1639 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1640 PyObject
*resultobj
;
1641 bool arg1
= (bool) True
;
1643 PyObject
* obj0
= 0 ;
1645 (char *) "resetTimer", NULL
1648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
1650 arg1
= PyInt_AsLong(obj0
) ? true : false;
1651 if (PyErr_Occurred()) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 result
= (long)wxGetElapsedTime(arg1
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 resultobj
= PyInt_FromLong((long)result
);
1667 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1668 PyObject
*resultobj
;
1669 int *arg1
= (int *) 0 ;
1670 int *arg2
= (int *) 0 ;
1679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
1681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1682 wxGetMousePosition(arg1
,arg2
);
1684 wxPyEndAllowThreads(__tstate
);
1685 if (PyErr_Occurred()) SWIG_fail
;
1687 Py_INCREF(Py_None
); resultobj
= Py_None
;
1689 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1690 resultobj
= t_output_helper(resultobj
,o
);
1693 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1694 resultobj
= t_output_helper(resultobj
,o
);
1702 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
1711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1712 result
= (bool)wxIsBusy();
1714 wxPyEndAllowThreads(__tstate
);
1715 if (PyErr_Occurred()) SWIG_fail
;
1717 resultobj
= PyInt_FromLong((long)result
);
1724 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
*resultobj
;
1731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
1733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1736 wxPyEndAllowThreads(__tstate
);
1737 if (PyErr_Occurred()) SWIG_fail
;
1741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1752 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
*resultobj
;
1754 wxString
const &arg1_defvalue
= wxPyEmptyString
;
1755 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
1757 bool temp1
= False
;
1758 PyObject
* obj0
= 0 ;
1760 (char *) "command", NULL
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
1766 arg1
= wxString_in_helper(obj0
);
1767 if (arg1
== NULL
) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 result
= (bool)wxShell((wxString
const &)*arg1
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 resultobj
= PyInt_FromLong((long)result
);
1793 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1794 PyObject
*resultobj
;
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 Py_INCREF(Py_None
); resultobj
= Py_None
;
1814 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 int *arg1
= (int *) 0 ;
1817 int *arg2
= (int *) 0 ;
1827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
1829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1830 result
= (int)wxGetOsVersion(arg1
,arg2
);
1832 wxPyEndAllowThreads(__tstate
);
1833 if (PyErr_Occurred()) SWIG_fail
;
1835 resultobj
= PyInt_FromLong((long)result
);
1837 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
1838 resultobj
= t_output_helper(resultobj
,o
);
1841 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
1842 resultobj
= t_output_helper(resultobj
,o
);
1850 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1851 PyObject
*resultobj
;
1857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
1859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1860 result
= wxGetOsDescription();
1862 wxPyEndAllowThreads(__tstate
);
1863 if (PyErr_Occurred()) SWIG_fail
;
1867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1878 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 result
= (long)wxGetFreeMemory();
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 resultobj
= PyInt_FromLong((long)result
);
1900 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1901 PyObject
*resultobj
;
1905 (char *) "wFlags", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Shutdown",kwnames
,&arg1
)) goto fail
;
1910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1911 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
1913 wxPyEndAllowThreads(__tstate
);
1914 if (PyErr_Occurred()) SWIG_fail
;
1916 resultobj
= PyInt_FromLong((long)result
);
1923 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1927 (char *) "secs", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Sleep",kwnames
,&arg1
)) goto fail
;
1932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1935 wxPyEndAllowThreads(__tstate
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1938 Py_INCREF(Py_None
); resultobj
= Py_None
;
1945 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1946 PyObject
*resultobj
;
1947 unsigned long arg1
;
1948 PyObject
* obj0
= 0 ;
1950 (char *) "milliseconds", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
1954 arg1
= (unsigned long) PyInt_AsLong(obj0
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 wxPyEndAllowThreads(__tstate
);
1961 if (PyErr_Occurred()) SWIG_fail
;
1963 Py_INCREF(Py_None
); resultobj
= Py_None
;
1970 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1971 PyObject
*resultobj
;
1973 PyObject
* obj0
= 0 ;
1975 (char *) "enable", NULL
1978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
1979 arg1
= PyInt_AsLong(obj0
) ? true : false;
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1983 wxEnableTopLevelWindows(arg1
);
1985 wxPyEndAllowThreads(__tstate
);
1986 if (PyErr_Occurred()) SWIG_fail
;
1988 Py_INCREF(Py_None
); resultobj
= Py_None
;
1995 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
*resultobj
;
1997 wxString
*arg1
= 0 ;
1999 bool temp1
= False
;
2000 PyObject
* obj0
= 0 ;
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2007 arg1
= wxString_in_helper(obj0
);
2008 if (arg1
== NULL
) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2039 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2049 result
= wxGetEmailAddress();
2051 wxPyEndAllowThreads(__tstate
);
2052 if (PyErr_Occurred()) SWIG_fail
;
2056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2067 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2068 PyObject
*resultobj
;
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2077 result
= wxGetHostName();
2079 wxPyEndAllowThreads(__tstate
);
2080 if (PyErr_Occurred()) SWIG_fail
;
2084 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2086 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2095 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2096 PyObject
*resultobj
;
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= wxGetFullHostName();
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2123 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2124 PyObject
*resultobj
;
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2133 result
= wxGetUserId();
2135 wxPyEndAllowThreads(__tstate
);
2136 if (PyErr_Occurred()) SWIG_fail
;
2140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2151 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2161 result
= wxGetUserName();
2163 wxPyEndAllowThreads(__tstate
);
2164 if (PyErr_Occurred()) SWIG_fail
;
2168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2179 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2180 PyObject
*resultobj
;
2186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2189 result
= wxGetHomeDir();
2191 wxPyEndAllowThreads(__tstate
);
2192 if (PyErr_Occurred()) SWIG_fail
;
2196 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2198 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2207 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2208 PyObject
*resultobj
;
2209 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2210 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2212 bool temp1
= False
;
2213 PyObject
* obj0
= 0 ;
2215 (char *) "user", NULL
2218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2221 arg1
= wxString_in_helper(obj0
);
2222 if (arg1
== NULL
) SWIG_fail
;
2227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2228 result
= wxGetUserHome((wxString
const &)*arg1
);
2230 wxPyEndAllowThreads(__tstate
);
2231 if (PyErr_Occurred()) SWIG_fail
;
2235 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2237 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2254 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 unsigned long result
;
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2264 result
= (unsigned long)wxGetProcessId();
2266 wxPyEndAllowThreads(__tstate
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 resultobj
= PyInt_FromLong((long)result
);
2276 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2287 wxPyEndAllowThreads(__tstate
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2290 Py_INCREF(Py_None
); resultobj
= Py_None
;
2297 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2298 PyObject
*resultobj
;
2299 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2300 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2301 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2302 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2303 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2304 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2305 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2306 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2307 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2308 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2309 int arg6
= (int) 0 ;
2310 wxWindow
*arg7
= (wxWindow
*) NULL
;
2311 int arg8
= (int) -1 ;
2312 int arg9
= (int) -1 ;
2314 bool temp1
= False
;
2315 bool temp2
= False
;
2316 bool temp3
= False
;
2317 bool temp4
= False
;
2318 bool temp5
= False
;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2321 PyObject
* obj2
= 0 ;
2322 PyObject
* obj3
= 0 ;
2323 PyObject
* obj4
= 0 ;
2324 PyObject
* obj6
= 0 ;
2326 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOiOii:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&arg6
,&obj6
,&arg8
,&arg9
)) goto fail
;
2332 arg1
= wxString_in_helper(obj0
);
2333 if (arg1
== NULL
) SWIG_fail
;
2339 arg2
= wxString_in_helper(obj1
);
2340 if (arg2
== NULL
) SWIG_fail
;
2346 arg3
= wxString_in_helper(obj2
);
2347 if (arg3
== NULL
) SWIG_fail
;
2353 arg4
= wxString_in_helper(obj3
);
2354 if (arg4
== NULL
) SWIG_fail
;
2360 arg5
= wxString_in_helper(obj4
);
2361 if (arg5
== NULL
) SWIG_fail
;
2366 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2428 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxString
*arg1
= 0 ;
2431 wxString
*arg2
= 0 ;
2432 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2433 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2434 wxWindow
*arg4
= (wxWindow
*) NULL
;
2436 bool temp1
= False
;
2437 bool temp2
= False
;
2438 bool temp3
= False
;
2439 PyObject
* obj0
= 0 ;
2440 PyObject
* obj1
= 0 ;
2441 PyObject
* obj2
= 0 ;
2442 PyObject
* obj3
= 0 ;
2444 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2449 arg1
= wxString_in_helper(obj0
);
2450 if (arg1
== NULL
) SWIG_fail
;
2454 arg2
= wxString_in_helper(obj1
);
2455 if (arg2
== NULL
) SWIG_fail
;
2460 arg3
= wxString_in_helper(obj2
);
2461 if (arg3
== NULL
) SWIG_fail
;
2466 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2472 wxPyEndAllowThreads(__tstate
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2512 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2514 wxString
*arg1
= 0 ;
2515 wxString
*arg2
= 0 ;
2516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2518 wxWindow
*arg4
= (wxWindow
*) NULL
;
2520 bool temp1
= False
;
2521 bool temp2
= False
;
2522 bool temp3
= False
;
2523 PyObject
* obj0
= 0 ;
2524 PyObject
* obj1
= 0 ;
2525 PyObject
* obj2
= 0 ;
2526 PyObject
* obj3
= 0 ;
2528 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2533 arg1
= wxString_in_helper(obj0
);
2534 if (arg1
== NULL
) SWIG_fail
;
2538 arg2
= wxString_in_helper(obj1
);
2539 if (arg2
== NULL
) SWIG_fail
;
2544 arg3
= wxString_in_helper(obj2
);
2545 if (arg3
== NULL
) SWIG_fail
;
2550 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2554 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2556 wxPyEndAllowThreads(__tstate
);
2557 if (PyErr_Occurred()) SWIG_fail
;
2561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2596 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
2599 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2600 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2601 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2602 long arg3
= (long) wxDD_DEFAULT_STYLE
;
2603 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2604 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2605 wxWindow
*arg5
= (wxWindow
*) NULL
;
2607 bool temp1
= False
;
2608 bool temp2
= False
;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2612 PyObject
* obj3
= 0 ;
2613 PyObject
* obj4
= 0 ;
2615 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
2618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOlOO:DirSelector",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
2621 arg1
= wxString_in_helper(obj0
);
2622 if (arg1
== NULL
) SWIG_fail
;
2628 arg2
= wxString_in_helper(obj1
);
2629 if (arg2
== NULL
) SWIG_fail
;
2636 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2640 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2678 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2679 PyObject
*resultobj
;
2680 wxString
*arg1
= 0 ;
2681 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2682 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2683 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2684 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2685 wxWindow
*arg4
= (wxWindow
*) NULL
;
2686 int arg5
= (int) -1 ;
2687 int arg6
= (int) -1 ;
2688 bool arg7
= (bool) True
;
2690 bool temp1
= False
;
2691 bool temp2
= False
;
2692 bool temp3
= False
;
2693 PyObject
* obj0
= 0 ;
2694 PyObject
* obj1
= 0 ;
2695 PyObject
* obj2
= 0 ;
2696 PyObject
* obj3
= 0 ;
2697 PyObject
* obj6
= 0 ;
2699 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOiiO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
2704 arg1
= wxString_in_helper(obj0
);
2705 if (arg1
== NULL
) SWIG_fail
;
2710 arg2
= wxString_in_helper(obj1
);
2711 if (arg2
== NULL
) SWIG_fail
;
2717 arg3
= wxString_in_helper(obj2
);
2718 if (arg3
== NULL
) SWIG_fail
;
2723 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2726 arg7
= PyInt_AsLong(obj6
) ? true : false;
2727 if (PyErr_Occurred()) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2773 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 wxString
*arg1
= 0 ;
2776 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2777 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2778 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2779 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2780 wxWindow
*arg4
= (wxWindow
*) NULL
;
2782 bool temp1
= False
;
2783 bool temp2
= False
;
2784 bool temp3
= False
;
2785 PyObject
* obj0
= 0 ;
2786 PyObject
* obj1
= 0 ;
2787 PyObject
* obj2
= 0 ;
2788 PyObject
* obj3
= 0 ;
2790 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
2793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2795 arg1
= wxString_in_helper(obj0
);
2796 if (arg1
== NULL
) SWIG_fail
;
2801 arg2
= wxString_in_helper(obj1
);
2802 if (arg2
== NULL
) SWIG_fail
;
2808 arg3
= wxString_in_helper(obj2
);
2809 if (arg3
== NULL
) SWIG_fail
;
2814 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2860 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2861 PyObject
*resultobj
;
2862 wxString
*arg1
= 0 ;
2863 wxString
*arg2
= 0 ;
2865 wxString
*arg4
= (wxString
*) 0 ;
2866 wxWindow
*arg5
= (wxWindow
*) NULL
;
2867 int arg6
= (int) -1 ;
2868 int arg7
= (int) -1 ;
2869 bool arg8
= (bool) True
;
2870 int arg9
= (int) 150 ;
2871 int arg10
= (int) 200 ;
2873 bool temp1
= False
;
2874 bool temp2
= False
;
2875 PyObject
* obj0
= 0 ;
2876 PyObject
* obj1
= 0 ;
2877 PyObject
* obj2
= 0 ;
2878 PyObject
* obj3
= 0 ;
2879 PyObject
* obj6
= 0 ;
2881 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2886 arg1
= wxString_in_helper(obj0
);
2887 if (arg1
== NULL
) SWIG_fail
;
2891 arg2
= wxString_in_helper(obj1
);
2892 if (arg2
== NULL
) SWIG_fail
;
2896 arg3
= PyList_Size(obj2
);
2897 arg4
= wxString_LIST_helper(obj2
);
2898 if (arg4
== NULL
) SWIG_fail
;
2901 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2904 arg8
= PyInt_AsLong(obj6
) ? true : false;
2905 if (PyErr_Occurred()) SWIG_fail
;
2908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2909 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
2911 wxPyEndAllowThreads(__tstate
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2916 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2918 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2930 if (arg4
) delete [] arg4
;
2943 if (arg4
) delete [] arg4
;
2949 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2950 PyObject
*resultobj
;
2951 wxString
*arg1
= 0 ;
2952 wxString
*arg2
= 0 ;
2954 wxString
*arg4
= (wxString
*) 0 ;
2955 wxWindow
*arg5
= (wxWindow
*) NULL
;
2956 int arg6
= (int) -1 ;
2957 int arg7
= (int) -1 ;
2958 bool arg8
= (bool) True
;
2959 int arg9
= (int) 150 ;
2960 int arg10
= (int) 200 ;
2962 bool temp1
= False
;
2963 bool temp2
= False
;
2964 PyObject
* obj0
= 0 ;
2965 PyObject
* obj1
= 0 ;
2966 PyObject
* obj2
= 0 ;
2967 PyObject
* obj3
= 0 ;
2968 PyObject
* obj6
= 0 ;
2970 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiOii:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg6
,&arg7
,&obj6
,&arg9
,&arg10
)) goto fail
;
2975 arg1
= wxString_in_helper(obj0
);
2976 if (arg1
== NULL
) SWIG_fail
;
2980 arg2
= wxString_in_helper(obj1
);
2981 if (arg2
== NULL
) SWIG_fail
;
2985 arg3
= PyList_Size(obj2
);
2986 arg4
= wxString_LIST_helper(obj2
);
2987 if (arg4
== NULL
) SWIG_fail
;
2990 if ((SWIG_ConvertPtr(obj3
,(void **) &arg5
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2993 arg8
= PyInt_AsLong(obj6
) ? true : false;
2994 if (PyErr_Occurred()) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3003 resultobj
= PyInt_FromLong((long)result
);
3013 if (arg4
) delete [] arg4
;
3026 if (arg4
) delete [] arg4
;
3032 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxString
*arg1
= 0 ;
3035 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3036 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3037 int arg3
= (int) wxOK
|wxCENTRE
;
3038 wxWindow
*arg4
= (wxWindow
*) NULL
;
3039 int arg5
= (int) -1 ;
3040 int arg6
= (int) -1 ;
3042 bool temp1
= False
;
3043 bool temp2
= False
;
3044 PyObject
* obj0
= 0 ;
3045 PyObject
* obj1
= 0 ;
3046 PyObject
* obj3
= 0 ;
3048 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OiOii:MessageBox",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&arg5
,&arg6
)) goto fail
;
3053 arg1
= wxString_in_helper(obj0
);
3054 if (arg1
== NULL
) SWIG_fail
;
3059 arg2
= wxString_in_helper(obj1
);
3060 if (arg2
== NULL
) SWIG_fail
;
3065 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3069 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3071 wxPyEndAllowThreads(__tstate
);
3072 if (PyErr_Occurred()) SWIG_fail
;
3074 resultobj
= PyInt_FromLong((long)result
);
3097 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxString
*arg1
= 0 ;
3100 wxString
*arg2
= 0 ;
3101 wxString
*arg3
= 0 ;
3103 long arg5
= (long) 0 ;
3104 long arg6
= (long) 100 ;
3105 wxWindow
*arg7
= (wxWindow
*) NULL
;
3106 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3107 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3109 bool temp1
= False
;
3110 bool temp2
= False
;
3111 bool temp3
= False
;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3116 PyObject
* obj6
= 0 ;
3117 PyObject
* obj7
= 0 ;
3119 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOl|llOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
,&obj7
)) goto fail
;
3124 arg1
= wxString_in_helper(obj0
);
3125 if (arg1
== NULL
) SWIG_fail
;
3129 arg2
= wxString_in_helper(obj1
);
3130 if (arg2
== NULL
) SWIG_fail
;
3134 arg3
= wxString_in_helper(obj2
);
3135 if (arg3
== NULL
) SWIG_fail
;
3139 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3144 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3149 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3151 wxPyEndAllowThreads(__tstate
);
3152 if (PyErr_Occurred()) SWIG_fail
;
3154 resultobj
= PyInt_FromLong((long)result
);
3185 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3195 result
= (bool)wxColourDisplay();
3197 wxPyEndAllowThreads(__tstate
);
3198 if (PyErr_Occurred()) SWIG_fail
;
3200 resultobj
= PyInt_FromLong((long)result
);
3207 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3208 PyObject
*resultobj
;
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3217 result
= (int)wxDisplayDepth();
3219 wxPyEndAllowThreads(__tstate
);
3220 if (PyErr_Occurred()) SWIG_fail
;
3222 resultobj
= PyInt_FromLong((long)result
);
3229 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3230 PyObject
*resultobj
;
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 result
= (int)wxGetDisplayDepth();
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 resultobj
= PyInt_FromLong((long)result
);
3251 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 int *arg1
= (int *) 0 ;
3254 int *arg2
= (int *) 0 ;
3263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3266 wxDisplaySize(arg1
,arg2
);
3268 wxPyEndAllowThreads(__tstate
);
3269 if (PyErr_Occurred()) SWIG_fail
;
3271 Py_INCREF(Py_None
); resultobj
= Py_None
;
3273 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3274 resultobj
= t_output_helper(resultobj
,o
);
3277 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3278 resultobj
= t_output_helper(resultobj
,o
);
3286 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= wxGetDisplaySize();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3303 resultptr
= new wxSize((wxSize
&) result
);
3304 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3312 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 int *arg1
= (int *) 0 ;
3315 int *arg2
= (int *) 0 ;
3324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 wxDisplaySizeMM(arg1
,arg2
);
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3332 Py_INCREF(Py_None
); resultobj
= Py_None
;
3334 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3335 resultobj
= t_output_helper(resultobj
,o
);
3338 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3339 resultobj
= t_output_helper(resultobj
,o
);
3347 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3348 PyObject
*resultobj
;
3354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 result
= wxGetDisplaySizeMM();
3359 wxPyEndAllowThreads(__tstate
);
3360 if (PyErr_Occurred()) SWIG_fail
;
3364 resultptr
= new wxSize((wxSize
&) result
);
3365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3373 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3374 PyObject
*resultobj
;
3375 int *arg1
= (int *) 0 ;
3376 int *arg2
= (int *) 0 ;
3377 int *arg3
= (int *) 0 ;
3378 int *arg4
= (int *) 0 ;
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 Py_INCREF(Py_None
); resultobj
= Py_None
;
3401 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3402 resultobj
= t_output_helper(resultobj
,o
);
3405 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3406 resultobj
= t_output_helper(resultobj
,o
);
3409 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3410 resultobj
= t_output_helper(resultobj
,o
);
3413 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3414 resultobj
= t_output_helper(resultobj
,o
);
3422 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 result
= wxGetClientDisplayRect();
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3439 resultptr
= new wxRect((wxRect
&) result
);
3440 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3448 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxCursor
*arg1
= 0 ;
3451 PyObject
* obj0
= 0 ;
3453 (char *) "cursor", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3459 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 Py_INCREF(Py_None
); resultobj
= Py_None
;
3475 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3478 PyObject
* obj0
= 0 ;
3480 (char *) "cursor", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3489 wxBeginBusyCursor(arg1
);
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
3510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3511 result
= (wxWindow
*)wxGetActiveWindow();
3513 wxPyEndAllowThreads(__tstate
);
3514 if (PyErr_Occurred()) SWIG_fail
;
3517 resultobj
= wxPyMake_wxObject(result
);
3525 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3526 PyObject
*resultobj
;
3530 PyObject
* obj0
= 0 ;
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3538 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3548 resultobj
= wxPyMake_wxObject(result
);
3556 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3561 PyObject
* obj0
= 0 ;
3566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
3569 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3573 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
3575 wxPyEndAllowThreads(__tstate
);
3576 if (PyErr_Occurred()) SWIG_fail
;
3579 resultobj
= wxPyMake_wxObject(result
);
3587 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxWindow
*arg1
= (wxWindow
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "win", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3600 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
3602 wxPyEndAllowThreads(__tstate
);
3603 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= wxPyMake_wxObject(result
);
3614 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 wxWakeUpMainThread();
3625 wxPyEndAllowThreads(__tstate
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3628 Py_INCREF(Py_None
); resultobj
= Py_None
;
3635 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3636 PyObject
*resultobj
;
3641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
3643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 wxPyEndAllowThreads(__tstate
);
3647 if (PyErr_Occurred()) SWIG_fail
;
3649 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxMutexGuiLocker
*result
;
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
3686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3687 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
3689 wxPyEndAllowThreads(__tstate
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMutexGuiLocker
, 1);
3699 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
;
3701 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
3702 PyObject
* obj0
= 0 ;
3704 (char *) "self", NULL
3707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
3708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMutexGuiLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3713 wxPyEndAllowThreads(__tstate
);
3714 if (PyErr_Occurred()) SWIG_fail
;
3716 Py_INCREF(Py_None
); resultobj
= Py_None
;
3723 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
3725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3726 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
3728 return Py_BuildValue((char *)"");
3730 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3731 PyObject
*resultobj
;
3737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (bool)wxThread_IsMain();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 resultobj
= PyInt_FromLong((long)result
);
3752 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxString
*arg1
= 0 ;
3756 bool temp1
= False
;
3757 PyObject
* obj0
= 0 ;
3759 (char *) "tip", NULL
3762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
3764 arg1
= wxString_in_helper(obj0
);
3765 if (arg1
== NULL
) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
3772 wxPyEndAllowThreads(__tstate
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= wxPyMake_wxObject(result
);
3792 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3795 wxString
*arg2
= 0 ;
3796 bool temp2
= False
;
3797 PyObject
* obj0
= 0 ;
3798 PyObject
* obj1
= 0 ;
3800 (char *) "self",(char *) "tip", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3806 arg2
= wxString_in_helper(obj1
);
3807 if (arg2
== NULL
) SWIG_fail
;
3811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3812 (arg1
)->SetTip((wxString
const &)*arg2
);
3814 wxPyEndAllowThreads(__tstate
);
3815 if (PyErr_Occurred()) SWIG_fail
;
3817 Py_INCREF(Py_None
); resultobj
= Py_None
;
3832 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3833 PyObject
*resultobj
;
3834 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3836 PyObject
* obj0
= 0 ;
3838 (char *) "self", NULL
3841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
3842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 result
= (arg1
)->GetTip();
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3863 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3876 result
= (wxWindow
*)(arg1
)->GetWindow();
3878 wxPyEndAllowThreads(__tstate
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= wxPyMake_wxObject(result
);
3890 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3891 PyObject
*resultobj
;
3893 PyObject
* obj0
= 0 ;
3895 (char *) "flag", NULL
3898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
3899 arg1
= PyInt_AsLong(obj0
) ? true : false;
3900 if (PyErr_Occurred()) SWIG_fail
;
3902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3903 wxToolTip::Enable(arg1
);
3905 wxPyEndAllowThreads(__tstate
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3908 Py_INCREF(Py_None
); resultobj
= Py_None
;
3915 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3916 PyObject
*resultobj
;
3919 (char *) "milliseconds", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:ToolTip_SetDelay",kwnames
,&arg1
)) goto fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 wxToolTip::SetDelay(arg1
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
3939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3940 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
3942 return Py_BuildValue((char *)"");
3944 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxWindow
*arg1
= (wxWindow
*) 0 ;
3950 PyObject
* obj0
= 0 ;
3951 PyObject
* obj1
= 0 ;
3953 (char *) "window",(char *) "size", NULL
3956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
3957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3960 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3964 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
3966 wxPyEndAllowThreads(__tstate
);
3967 if (PyErr_Occurred()) SWIG_fail
;
3969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 1);
3976 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3977 PyObject
*resultobj
;
3978 wxCaret
*arg1
= (wxCaret
*) 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "self", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 Py_INCREF(Py_None
); resultobj
= Py_None
;
4000 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
;
4002 wxCaret
*arg1
= (wxCaret
*) 0 ;
4004 PyObject
* obj0
= 0 ;
4006 (char *) "self", NULL
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4013 result
= (bool)(arg1
)->IsOk();
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= PyInt_FromLong((long)result
);
4025 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxCaret
*arg1
= (wxCaret
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4031 (char *) "self", NULL
4034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 result
= (bool)(arg1
)->IsVisible();
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 resultobj
= PyInt_FromLong((long)result
);
4050 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4052 wxCaret
*arg1
= (wxCaret
*) 0 ;
4054 PyObject
* obj0
= 0 ;
4056 (char *) "self", NULL
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 result
= (arg1
)->GetPosition();
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4069 wxPoint
* resultptr
;
4070 resultptr
= new wxPoint((wxPoint
&) result
);
4071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
4079 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxCaret
*arg1
= (wxCaret
*) 0 ;
4082 int *arg2
= (int *) 0 ;
4083 int *arg3
= (int *) 0 ;
4086 PyObject
* obj0
= 0 ;
4088 (char *) "self", NULL
4093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 (arg1
)->GetPosition(arg2
,arg3
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 Py_INCREF(Py_None
); resultobj
= Py_None
;
4104 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4105 resultobj
= t_output_helper(resultobj
,o
);
4108 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4109 resultobj
= t_output_helper(resultobj
,o
);
4117 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4118 PyObject
*resultobj
;
4119 wxCaret
*arg1
= (wxCaret
*) 0 ;
4121 PyObject
* obj0
= 0 ;
4123 (char *) "self", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (arg1
)->GetSize();
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4137 resultptr
= new wxSize((wxSize
&) result
);
4138 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
4146 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4147 PyObject
*resultobj
;
4148 wxCaret
*arg1
= (wxCaret
*) 0 ;
4149 int *arg2
= (int *) 0 ;
4150 int *arg3
= (int *) 0 ;
4153 PyObject
* obj0
= 0 ;
4155 (char *) "self", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 (arg1
)->GetSize(arg2
,arg3
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 Py_INCREF(Py_None
); resultobj
= Py_None
;
4171 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4172 resultobj
= t_output_helper(resultobj
,o
);
4175 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4176 resultobj
= t_output_helper(resultobj
,o
);
4184 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxCaret
*arg1
= (wxCaret
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4190 (char *) "self", NULL
4193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 result
= (wxWindow
*)(arg1
)->GetWindow();
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= wxPyMake_wxObject(result
);
4211 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4212 PyObject
*resultobj
;
4213 wxCaret
*arg1
= (wxCaret
*) 0 ;
4216 PyObject
* obj0
= 0 ;
4218 (char *) "self",(char *) "x",(char *) "y", NULL
4221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 (arg1
)->Move(arg2
,arg3
);
4227 wxPyEndAllowThreads(__tstate
);
4228 if (PyErr_Occurred()) SWIG_fail
;
4230 Py_INCREF(Py_None
); resultobj
= Py_None
;
4237 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4238 PyObject
*resultobj
;
4239 wxCaret
*arg1
= (wxCaret
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4245 (char *) "self",(char *) "pt", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 (arg1
)->Move((wxPoint
const &)*arg2
);
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4270 wxCaret
*arg1
= (wxCaret
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4275 (char *) "self",(char *) "width",(char *) "height", NULL
4278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Caret_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4282 (arg1
)->SetSize(arg2
,arg3
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 Py_INCREF(Py_None
); resultobj
= Py_None
;
4294 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxCaret
*arg1
= (wxCaret
*) 0 ;
4299 PyObject
* obj0
= 0 ;
4300 PyObject
* obj1
= 0 ;
4302 (char *) "self",(char *) "size", NULL
4305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4309 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4313 (arg1
)->SetSize((wxSize
const &)*arg2
);
4315 wxPyEndAllowThreads(__tstate
);
4316 if (PyErr_Occurred()) SWIG_fail
;
4318 Py_INCREF(Py_None
); resultobj
= Py_None
;
4325 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4326 PyObject
*resultobj
;
4327 wxCaret
*arg1
= (wxCaret
*) 0 ;
4328 int arg2
= (int) True
;
4329 PyObject
* obj0
= 0 ;
4331 (char *) "self",(char *) "show", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Caret_Show",kwnames
,&obj0
,&arg2
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 Py_INCREF(Py_None
); resultobj
= Py_None
;
4350 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxCaret
*arg1
= (wxCaret
*) 0 ;
4353 PyObject
* obj0
= 0 ;
4355 (char *) "self", NULL
4358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 Py_INCREF(Py_None
); resultobj
= Py_None
;
4374 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4376 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4377 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4379 return Py_BuildValue((char *)"");
4381 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4382 PyObject
*resultobj
;
4388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 result
= (int)wxCaret_GetBlinkTime();
4393 wxPyEndAllowThreads(__tstate
);
4394 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= PyInt_FromLong((long)result
);
4403 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4404 PyObject
*resultobj
;
4407 (char *) "milliseconds", NULL
4410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Caret_SetBlinkTime",kwnames
,&arg1
)) goto fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 wxCaret_SetBlinkTime(arg1
);
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 Py_INCREF(Py_None
); resultobj
= Py_None
;
4425 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4428 wxBusyCursor
*result
;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "cursor", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
4436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyCursor
, 1);
4452 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
4455 PyObject
* obj0
= 0 ;
4457 (char *) "self", NULL
4460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
4461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 Py_INCREF(Py_None
); resultobj
= Py_None
;
4476 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
4478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4479 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
4481 return Py_BuildValue((char *)"");
4483 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4484 PyObject
*resultobj
;
4485 wxWindow
*arg1
= (wxWindow
*) NULL
;
4486 wxWindowDisabler
*result
;
4487 PyObject
* obj0
= 0 ;
4489 (char *) "winToSkip", NULL
4492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
4500 wxPyEndAllowThreads(__tstate
);
4501 if (PyErr_Occurred()) SWIG_fail
;
4503 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDisabler
, 1);
4510 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4511 PyObject
*resultobj
;
4512 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4515 (char *) "self", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4527 Py_INCREF(Py_None
); resultobj
= Py_None
;
4534 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
4536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4537 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
4539 return Py_BuildValue((char *)"");
4541 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4542 PyObject
*resultobj
;
4543 wxString
*arg1
= 0 ;
4545 bool temp1
= False
;
4546 PyObject
* obj0
= 0 ;
4548 (char *) "message", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
4553 arg1
= wxString_in_helper(obj0
);
4554 if (arg1
== NULL
) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBusyInfo
, 1);
4579 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "self", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
4588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBusyInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
4605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4606 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
4608 return Py_BuildValue((char *)"");
4610 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4611 PyObject
*resultobj
;
4612 wxStopWatch
*result
;
4617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (wxStopWatch
*)new wxStopWatch();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStopWatch
, 1);
4632 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4633 PyObject
*resultobj
;
4634 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4635 long arg2
= (long) 0 ;
4636 PyObject
* obj0
= 0 ;
4638 (char *) "self",(char *) "t0", NULL
4641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:StopWatch_Start",kwnames
,&obj0
,&arg2
)) goto fail
;
4642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 (arg1
)->Start(arg2
);
4647 wxPyEndAllowThreads(__tstate
);
4648 if (PyErr_Occurred()) SWIG_fail
;
4650 Py_INCREF(Py_None
); resultobj
= Py_None
;
4657 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4660 PyObject
* obj0
= 0 ;
4662 (char *) "self", NULL
4665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
4666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 wxPyEndAllowThreads(__tstate
);
4672 if (PyErr_Occurred()) SWIG_fail
;
4674 Py_INCREF(Py_None
); resultobj
= Py_None
;
4681 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
;
4683 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4684 PyObject
* obj0
= 0 ;
4686 (char *) "self", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
4690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
4709 PyObject
* obj0
= 0 ;
4711 (char *) "self", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStopWatch
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 result
= (long)((wxStopWatch
const *)arg1
)->Time();
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= PyInt_FromLong((long)result
);
4730 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
4732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
4735 return Py_BuildValue((char *)"");
4737 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 int arg1
= (int) 9 ;
4740 wxFileHistory
*result
;
4742 (char *) "maxFiles", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_FileHistory",kwnames
,&arg1
)) goto fail
;
4747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4748 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileHistory
, 1);
4760 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4761 PyObject
*resultobj
;
4762 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
4769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 Py_INCREF(Py_None
); resultobj
= Py_None
;
4784 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4787 wxString
*arg2
= 0 ;
4788 bool temp2
= False
;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4792 (char *) "self",(char *) "file", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4798 arg2
= wxString_in_helper(obj1
);
4799 if (arg2
== NULL
) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 Py_INCREF(Py_None
); resultobj
= Py_None
;
4824 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self",(char *) "i", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&arg2
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 (arg1
)->RemoveFileFromHistory(arg2
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 Py_INCREF(Py_None
); resultobj
= Py_None
;
4849 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4850 PyObject
*resultobj
;
4851 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4853 PyObject
* obj0
= 0 ;
4855 (char *) "self", NULL
4858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
4859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= PyInt_FromLong((long)result
);
4874 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4877 wxMenu
*arg2
= (wxMenu
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4879 PyObject
* obj1
= 0 ;
4881 (char *) "self",(char *) "menu", NULL
4884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 (arg1
)->UseMenu(arg2
);
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 Py_INCREF(Py_None
); resultobj
= Py_None
;
4901 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4902 PyObject
*resultobj
;
4903 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4904 wxMenu
*arg2
= (wxMenu
*) 0 ;
4905 PyObject
* obj0
= 0 ;
4906 PyObject
* obj1
= 0 ;
4908 (char *) "self",(char *) "menu", NULL
4911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
4912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4913 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 (arg1
)->RemoveMenu(arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4931 wxConfigBase
*arg2
= 0 ;
4932 PyObject
* obj0
= 0 ;
4933 PyObject
* obj1
= 0 ;
4935 (char *) "self",(char *) "config", NULL
4938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
4939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->Load(*arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4960 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4961 wxConfigBase
*arg2
= 0 ;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4965 (char *) "self",(char *) "config", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
4975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4976 (arg1
)->Save(*arg2
);
4978 wxPyEndAllowThreads(__tstate
);
4979 if (PyErr_Occurred()) SWIG_fail
;
4981 Py_INCREF(Py_None
); resultobj
= Py_None
;
4988 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4989 PyObject
*resultobj
;
4990 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
4991 PyObject
* obj0
= 0 ;
4993 (char *) "self", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 (arg1
)->AddFilesToMenu();
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 Py_INCREF(Py_None
); resultobj
= Py_None
;
5012 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5015 wxMenu
*arg2
= (wxMenu
*) 0 ;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5019 (char *) "self",(char *) "menu", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5024 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5027 (arg1
)->AddFilesToMenu(arg2
);
5029 wxPyEndAllowThreads(__tstate
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5032 Py_INCREF(Py_None
); resultobj
= Py_None
;
5039 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5041 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5046 (char *) "self",(char *) "i", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FileHistory_GetHistoryFile",kwnames
,&obj0
,&arg2
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5071 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5075 PyObject
* obj0
= 0 ;
5077 (char *) "self", NULL
5080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileHistory
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5084 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 resultobj
= PyInt_FromLong((long)result
);
5096 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5101 return Py_BuildValue((char *)"");
5103 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5105 wxString
*arg1
= 0 ;
5106 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5107 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5108 wxSingleInstanceChecker
*result
;
5109 bool temp1
= False
;
5110 bool temp2
= False
;
5111 PyObject
* obj0
= 0 ;
5112 PyObject
* obj1
= 0 ;
5114 (char *) "name",(char *) "path", NULL
5117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 arg1
= wxString_in_helper(obj0
);
5120 if (arg1
== NULL
) SWIG_fail
;
5125 arg2
= wxString_in_helper(obj1
);
5126 if (arg2
== NULL
) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5160 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5161 PyObject
*resultobj
;
5162 wxSingleInstanceChecker
*result
;
5167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5182 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5185 PyObject
* obj0
= 0 ;
5187 (char *) "self", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 wxPyEndAllowThreads(__tstate
);
5197 if (PyErr_Occurred()) SWIG_fail
;
5199 Py_INCREF(Py_None
); resultobj
= Py_None
;
5206 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5207 PyObject
*resultobj
;
5208 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5209 wxString
*arg2
= 0 ;
5210 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5211 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5213 bool temp2
= False
;
5214 bool temp3
= False
;
5215 PyObject
* obj0
= 0 ;
5216 PyObject
* obj1
= 0 ;
5217 PyObject
* obj2
= 0 ;
5219 (char *) "self",(char *) "name",(char *) "path", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5225 arg2
= wxString_in_helper(obj1
);
5226 if (arg2
== NULL
) SWIG_fail
;
5231 arg3
= wxString_in_helper(obj2
);
5232 if (arg3
== NULL
) SWIG_fail
;
5237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= PyInt_FromLong((long)result
);
5266 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5267 PyObject
*resultobj
;
5268 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5270 PyObject
* obj0
= 0 ;
5272 (char *) "self", NULL
5275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSingleInstanceChecker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5281 wxPyEndAllowThreads(__tstate
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5284 resultobj
= PyInt_FromLong((long)result
);
5291 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5294 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5296 return Py_BuildValue((char *)"");
5298 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
;
5300 wxWindow
*arg1
= (wxWindow
*) 0 ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5306 (char *) "window",(char *) "dc",(char *) "method", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5311 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5313 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5322 Py_INCREF(Py_None
); resultobj
= Py_None
;
5329 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5330 PyObject
*resultobj
;
5331 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5334 (char *) "self", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 Py_INCREF(Py_None
); resultobj
= Py_None
;
5353 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5357 PyObject
* obj0
= 0 ;
5359 (char *) "self", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (arg1
)->GetTip();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5384 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5397 result
= (size_t)(arg1
)->GetCurrentTip();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= PyInt_FromLong((long)result
);
5409 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5410 PyObject
*resultobj
;
5411 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5412 wxString
*arg2
= 0 ;
5414 bool temp2
= False
;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5418 (char *) "self",(char *) "tip", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
5422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5424 arg2
= wxString_in_helper(obj1
);
5425 if (arg2
== NULL
) SWIG_fail
;
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5430 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
5432 wxPyEndAllowThreads(__tstate
);
5433 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5456 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5459 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
5461 return Py_BuildValue((char *)"");
5463 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5464 PyObject
*resultobj
;
5466 wxPyTipProvider
*result
;
5467 PyObject
* obj0
= 0 ;
5469 (char *) "currentTip", NULL
5472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
5473 arg1
= (size_t) PyInt_AsLong(obj0
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5477 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTipProvider
, 1);
5489 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
5492 PyObject
*arg2
= (PyObject
*) 0 ;
5493 PyObject
*arg3
= (PyObject
*) 0 ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 PyObject
* obj2
= 0 ;
5498 (char *) "self",(char *) "self",(char *) "_class", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 Py_INCREF(Py_None
); resultobj
= Py_None
;
5519 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
5521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5522 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
5524 return Py_BuildValue((char *)"");
5526 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5527 PyObject
*resultobj
;
5528 wxWindow
*arg1
= (wxWindow
*) 0 ;
5529 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
5530 bool arg3
= (bool) True
;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5534 PyObject
* obj2
= 0 ;
5536 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTipProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5543 arg3
= PyInt_AsLong(obj2
) ? true : false;
5544 if (PyErr_Occurred()) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= PyInt_FromLong((long)result
);
5560 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxString
*arg1
= 0 ;
5564 wxTipProvider
*result
;
5565 bool temp1
= False
;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "filename",(char *) "currentTip", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
5574 arg1
= wxString_in_helper(obj0
);
5575 if (arg1
== NULL
) SWIG_fail
;
5578 arg2
= (size_t) PyInt_AsLong(obj1
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5582 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTipProvider
, 1);
5602 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5603 PyObject
*resultobj
;
5604 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
5605 int arg2
= (int) -1 ;
5607 PyObject
* obj0
= 0 ;
5609 (char *) "owner",(char *) "id", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Timer",kwnames
,&obj0
,&arg2
)) goto fail
;
5614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
5620 wxPyEndAllowThreads(__tstate
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5623 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTimer
, 1);
5630 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5631 PyObject
*resultobj
;
5632 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "self", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5657 PyObject
*arg2
= (PyObject
*) 0 ;
5658 PyObject
*arg3
= (PyObject
*) 0 ;
5659 PyObject
* obj0
= 0 ;
5660 PyObject
* obj1
= 0 ;
5661 PyObject
* obj2
= 0 ;
5663 (char *) "self",(char *) "self",(char *) "_class", NULL
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 Py_INCREF(Py_None
); resultobj
= Py_None
;
5684 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5685 PyObject
*resultobj
;
5686 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5687 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
5688 int arg3
= (int) -1 ;
5689 PyObject
* obj0
= 0 ;
5690 PyObject
* obj1
= 0 ;
5692 (char *) "self",(char *) "owner",(char *) "id", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 (arg1
)->SetOwner(arg2
,arg3
);
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 Py_INCREF(Py_None
); resultobj
= Py_None
;
5712 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5713 PyObject
*resultobj
;
5714 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5715 int arg2
= (int) -1 ;
5716 bool arg3
= (bool) False
;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj2
= 0 ;
5721 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Timer_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5727 arg3
= PyInt_AsLong(obj2
) ? true : false;
5728 if (PyErr_Occurred()) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (bool)(arg1
)->Start(arg2
,arg3
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= PyInt_FromLong((long)result
);
5744 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5745 PyObject
*resultobj
;
5746 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5747 PyObject
* obj0
= 0 ;
5749 (char *) "self", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 wxPyEndAllowThreads(__tstate
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5761 Py_INCREF(Py_None
); resultobj
= Py_None
;
5768 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5769 PyObject
*resultobj
;
5770 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5772 PyObject
* obj0
= 0 ;
5774 (char *) "self", NULL
5777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",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();
5781 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
5783 wxPyEndAllowThreads(__tstate
);
5784 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= PyInt_FromLong((long)result
);
5793 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5797 PyObject
* obj0
= 0 ;
5799 (char *) "self", NULL
5802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
5803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5806 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
5808 wxPyEndAllowThreads(__tstate
);
5809 if (PyErr_Occurred()) SWIG_fail
;
5811 resultobj
= PyInt_FromLong((long)result
);
5818 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
;
5820 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
5822 PyObject
* obj0
= 0 ;
5824 (char *) "self", NULL
5827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
5828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5836 resultobj
= PyInt_FromLong((long)result
);
5843 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
5845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5846 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
5848 return Py_BuildValue((char *)"");
5850 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
;
5852 int arg1
= (int) 0 ;
5853 int arg2
= (int) 0 ;
5854 wxTimerEvent
*result
;
5856 (char *) "timerid",(char *) "interval", NULL
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_TimerEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
5861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5862 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerEvent
, 1);
5874 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
5878 PyObject
* obj0
= 0 ;
5880 (char *) "self", NULL
5883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
5884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
5889 wxPyEndAllowThreads(__tstate
);
5890 if (PyErr_Occurred()) SWIG_fail
;
5892 resultobj
= PyInt_FromLong((long)result
);
5899 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
5901 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5902 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
5904 return Py_BuildValue((char *)"");
5906 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
5907 PyObject
*resultobj
;
5909 wxTimerRunner
*result
;
5910 PyObject
* obj0
= 0 ;
5912 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5915 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5931 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
5932 PyObject
*resultobj
;
5935 bool arg3
= (bool) False
;
5936 wxTimerRunner
*result
;
5937 PyObject
* obj0
= 0 ;
5938 PyObject
* obj2
= 0 ;
5940 if(!PyArg_ParseTuple(args
,(char *)"Oi|O:new_TimerRunner",&obj0
,&arg2
,&obj2
)) goto fail
;
5941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5946 arg3
= PyInt_AsLong(obj2
) ? true : false;
5947 if (PyErr_Occurred()) SWIG_fail
;
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
5953 wxPyEndAllowThreads(__tstate
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5956 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimerRunner
, 1);
5963 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
5968 argc
= PyObject_Length(args
);
5969 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
5970 argv
[ii
] = PyTuple_GetItem(args
,ii
);
5976 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
5984 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
5987 if ((argc
>= 2) && (argc
<= 3)) {
5991 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6000 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
6004 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6007 _v
= (PyInt_Check(argv
[2]) || PyLong_Check(argv
[2])) ? 1 : 0;
6010 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6016 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6021 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6022 PyObject
*resultobj
;
6023 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "self", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 Py_INCREF(Py_None
); resultobj
= Py_None
;
6045 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6046 PyObject
*resultobj
;
6047 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6049 bool arg3
= (bool) False
;
6050 PyObject
* obj0
= 0 ;
6051 PyObject
* obj2
= 0 ;
6053 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|O:TimerRunner_Start",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
6057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimerRunner
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6059 arg3
= PyInt_AsLong(obj2
) ? true : false;
6060 if (PyErr_Occurred()) SWIG_fail
;
6063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 (arg1
)->Start(arg2
,arg3
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 Py_INCREF(Py_None
); resultobj
= Py_None
;
6076 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6079 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6081 return Py_BuildValue((char *)"");
6083 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6084 PyObject
*resultobj
;
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (wxLog
*)new wxLog();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 1);
6105 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
;
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6115 result
= (bool)wxLog::IsEnabled();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= PyInt_FromLong((long)result
);
6127 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 bool arg1
= (bool) True
;
6131 PyObject
* obj0
= 0 ;
6133 (char *) "doIt", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6138 arg1
= PyInt_AsLong(obj0
) ? true : false;
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (bool)wxLog::EnableLogging(arg1
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= PyInt_FromLong((long)result
);
6155 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6158 wxChar
*arg2
= (wxChar
*) 0 ;
6160 PyObject
* obj0
= 0 ;
6161 PyObject
* obj1
= 0 ;
6162 PyObject
* obj2
= 0 ;
6164 (char *) "level",(char *) "szString",(char *) "t", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6168 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6169 if (PyErr_Occurred()) SWIG_fail
;
6170 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6171 arg3
= (time_t) PyInt_AsLong(obj2
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6175 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 Py_INCREF(Py_None
); resultobj
= Py_None
;
6187 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6189 wxLog
*arg1
= (wxLog
*) 0 ;
6190 PyObject
* obj0
= 0 ;
6192 (char *) "self", NULL
6195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 wxPyEndAllowThreads(__tstate
);
6202 if (PyErr_Occurred()) SWIG_fail
;
6204 Py_INCREF(Py_None
); resultobj
= Py_None
;
6211 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 wxLog::FlushActive();
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6225 Py_INCREF(Py_None
); resultobj
= Py_None
;
6232 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6233 PyObject
*resultobj
;
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 result
= (wxLog
*)wxLog::GetActiveTarget();
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6254 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6255 PyObject
*resultobj
;
6256 wxLog
*arg1
= (wxLog
*) 0 ;
6258 PyObject
* obj0
= 0 ;
6260 (char *) "pLogger", NULL
6263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6279 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6293 Py_INCREF(Py_None
); resultobj
= Py_None
;
6300 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6301 PyObject
*resultobj
;
6306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6314 Py_INCREF(Py_None
); resultobj
= Py_None
;
6321 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
;
6323 bool arg1
= (bool) True
;
6324 PyObject
* obj0
= 0 ;
6326 (char *) "bVerbose", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
6331 arg1
= PyInt_AsLong(obj0
) ? true : false;
6332 if (PyErr_Occurred()) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 wxLog::SetVerbose(arg1
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6341 Py_INCREF(Py_None
); resultobj
= Py_None
;
6348 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6349 PyObject
*resultobj
;
6351 PyObject
* obj0
= 0 ;
6353 (char *) "logLevel", NULL
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
6357 arg1
= (wxLogLevel
) PyInt_AsLong(obj0
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 wxLog::SetLogLevel(arg1
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 Py_INCREF(Py_None
); resultobj
= Py_None
;
6373 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
6381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6382 wxLog::DontCreateOnDemand();
6384 wxPyEndAllowThreads(__tstate
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 Py_INCREF(Py_None
); resultobj
= Py_None
;
6394 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6395 PyObject
*resultobj
;
6397 PyObject
* obj0
= 0 ;
6399 (char *) "ulMask", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
6403 arg1
= (wxTraceMask
) PyInt_AsLong(obj0
);
6404 if (PyErr_Occurred()) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 wxLog::SetTraceMask(arg1
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 Py_INCREF(Py_None
); resultobj
= Py_None
;
6419 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6420 PyObject
*resultobj
;
6421 wxString
*arg1
= 0 ;
6422 bool temp1
= False
;
6423 PyObject
* obj0
= 0 ;
6425 (char *) "str", NULL
6428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
6430 arg1
= wxString_in_helper(obj0
);
6431 if (arg1
== NULL
) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 wxLog::AddTraceMask((wxString
const &)*arg1
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxString
*arg1
= 0 ;
6459 bool temp1
= False
;
6460 PyObject
* obj0
= 0 ;
6462 (char *) "str", NULL
6465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
6467 arg1
= wxString_in_helper(obj0
);
6468 if (arg1
== NULL
) SWIG_fail
;
6472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6473 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
6475 wxPyEndAllowThreads(__tstate
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6478 Py_INCREF(Py_None
); resultobj
= Py_None
;
6493 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
6501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6502 wxLog::ClearTraceMasks();
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 Py_INCREF(Py_None
); resultobj
= Py_None
;
6514 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
;
6516 wxArrayString
*result
;
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
6526 result
= (wxArrayString
*) &_result_ref
;
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6533 resultobj
= wxArrayString2PyList_helper(*result
);
6541 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxChar
*arg1
= (wxChar
*) 0 ;
6544 PyObject
* obj0
= 0 ;
6549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
6550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 wxLog::SetTimestamp((wxChar
const *)arg1
);
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6558 Py_INCREF(Py_None
); resultobj
= Py_None
;
6565 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6566 PyObject
*resultobj
;
6572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (bool)wxLog::GetVerbose();
6577 wxPyEndAllowThreads(__tstate
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= PyInt_FromLong((long)result
);
6587 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6588 PyObject
*resultobj
;
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (wxTraceMask
)wxLog::GetTraceMask();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= PyInt_FromLong((long)result
);
6609 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxChar
*arg1
= (wxChar
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6615 (char *) "mask", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= PyInt_FromLong((long)result
);
6634 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
6643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6644 result
= (wxLogLevel
)wxLog::GetLogLevel();
6646 wxPyEndAllowThreads(__tstate
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6649 resultobj
= PyInt_FromLong((long)result
);
6656 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6657 PyObject
*resultobj
;
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (wxChar
*)wxLog::GetTimestamp();
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChar
, 0);
6678 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6679 PyObject
*resultobj
;
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= Log_TimeStamp();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6706 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6707 PyObject
*resultobj
;
6708 wxLog
*arg1
= (wxLog
*) 0 ;
6709 PyObject
* obj0
= 0 ;
6711 (char *) "self", NULL
6714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
6715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 wxLog_Destroy(arg1
);
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 Py_INCREF(Py_None
); resultobj
= Py_None
;
6730 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
6732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6733 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
6735 return Py_BuildValue((char *)"");
6737 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6738 PyObject
*resultobj
;
6739 wxLogStderr
*result
;
6744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
6746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6747 result
= (wxLogStderr
*)new wxLogStderr();
6749 wxPyEndAllowThreads(__tstate
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogStderr
, 1);
6759 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
6761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6762 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
6764 return Py_BuildValue((char *)"");
6766 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6767 PyObject
*resultobj
;
6768 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
6769 wxLogTextCtrl
*result
;
6770 PyObject
* obj0
= 0 ;
6772 (char *) "pTextCtrl", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextCtrl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6779 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogTextCtrl
, 1);
6791 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
6793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6794 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
6796 return Py_BuildValue((char *)"");
6798 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxLogGui
*)new wxLogGui();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogGui
, 1);
6820 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
6822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6823 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
6825 return Py_BuildValue((char *)"");
6827 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxFrame
*arg1
= (wxFrame
*) 0 ;
6830 wxString
*arg2
= 0 ;
6831 bool arg3
= (bool) True
;
6832 bool arg4
= (bool) True
;
6833 wxLogWindow
*result
;
6834 bool temp2
= False
;
6835 PyObject
* obj0
= 0 ;
6836 PyObject
* obj1
= 0 ;
6837 PyObject
* obj2
= 0 ;
6838 PyObject
* obj3
= 0 ;
6840 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6846 arg2
= wxString_in_helper(obj1
);
6847 if (arg2
== NULL
) SWIG_fail
;
6851 arg3
= PyInt_AsLong(obj2
) ? true : false;
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 arg4
= PyInt_AsLong(obj3
) ? true : false;
6856 if (PyErr_Occurred()) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogWindow
, 1);
6880 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6881 PyObject
*resultobj
;
6882 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6883 bool arg2
= (bool) True
;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "bShow", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 arg2
= PyInt_AsLong(obj1
) ? true : false;
6894 if (PyErr_Occurred()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6903 Py_INCREF(Py_None
); resultobj
= Py_None
;
6910 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6911 PyObject
*resultobj
;
6912 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6914 PyObject
* obj0
= 0 ;
6916 (char *) "self", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
6920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= wxPyMake_wxObject(result
);
6937 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6938 PyObject
*resultobj
;
6939 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6941 PyObject
* obj0
= 0 ;
6943 (char *) "self", NULL
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
6947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6950 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
6962 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
;
6964 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6975 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
6977 wxPyEndAllowThreads(__tstate
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6980 resultobj
= PyInt_FromLong((long)result
);
6987 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6988 PyObject
*resultobj
;
6989 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6994 (char *) "self",(char *) "bDoPass", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6999 arg2
= PyInt_AsLong(obj1
) ? true : false;
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 (arg1
)->PassMessages(arg2
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7018 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7020 return Py_BuildValue((char *)"");
7022 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxLog
*arg1
= (wxLog
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "logger", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (wxLogChain
*)new wxLogChain(arg1
);
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogChain
, 1);
7047 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7049 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7050 wxLog
*arg2
= (wxLog
*) 0 ;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7054 (char *) "self",(char *) "logger", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7062 (arg1
)->SetLog(arg2
);
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7081 (char *) "self",(char *) "bDoPass", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7086 arg2
= PyInt_AsLong(obj1
) ? true : false;
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->PassMessages(arg2
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 Py_INCREF(Py_None
); resultobj
= Py_None
;
7102 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7103 PyObject
*resultobj
;
7104 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7106 PyObject
* obj0
= 0 ;
7108 (char *) "self", NULL
7111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (bool)(arg1
)->IsPassingMessages();
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= PyInt_FromLong((long)result
);
7127 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7129 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "self", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogChain
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (wxLog
*)(arg1
)->GetOldLog();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7145 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLog
, 0);
7152 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7155 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7157 return Py_BuildValue((char *)"");
7159 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7160 PyObject
*resultobj
;
7161 unsigned long result
;
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (unsigned long)wxSysErrorCode();
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= PyInt_FromLong((long)result
);
7181 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
;
7183 unsigned long arg1
= (unsigned long) 0 ;
7185 PyObject
* obj0
= 0 ;
7187 (char *) "nErrCode", NULL
7190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7192 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7197 result
= wxSysErrorMsg(arg1
);
7199 wxPyEndAllowThreads(__tstate
);
7200 if (PyErr_Occurred()) SWIG_fail
;
7204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7215 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7216 PyObject
*resultobj
;
7217 wxString
*arg1
= 0 ;
7218 bool temp1
= False
;
7219 PyObject
* obj0
= 0 ;
7221 (char *) "msg", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7226 arg1
= wxString_in_helper(obj0
);
7227 if (arg1
== NULL
) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 wxLogFatalError((wxString
const &)*arg1
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7237 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxString
*arg1
= 0 ;
7255 bool temp1
= False
;
7256 PyObject
* obj0
= 0 ;
7258 (char *) "msg", NULL
7261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7263 arg1
= wxString_in_helper(obj0
);
7264 if (arg1
== NULL
) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 wxLogError((wxString
const &)*arg1
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 Py_INCREF(Py_None
); resultobj
= Py_None
;
7289 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxString
*arg1
= 0 ;
7292 bool temp1
= False
;
7293 PyObject
* obj0
= 0 ;
7295 (char *) "msg", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
7300 arg1
= wxString_in_helper(obj0
);
7301 if (arg1
== NULL
) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 wxLogWarning((wxString
const &)*arg1
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7326 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7327 PyObject
*resultobj
;
7328 wxString
*arg1
= 0 ;
7329 bool temp1
= False
;
7330 PyObject
* obj0
= 0 ;
7332 (char *) "msg", NULL
7335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
7337 arg1
= wxString_in_helper(obj0
);
7338 if (arg1
== NULL
) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7343 wxLogMessage((wxString
const &)*arg1
);
7345 wxPyEndAllowThreads(__tstate
);
7346 if (PyErr_Occurred()) SWIG_fail
;
7348 Py_INCREF(Py_None
); resultobj
= Py_None
;
7363 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxString
*arg1
= 0 ;
7366 bool temp1
= False
;
7367 PyObject
* obj0
= 0 ;
7369 (char *) "msg", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
7374 arg1
= wxString_in_helper(obj0
);
7375 if (arg1
== NULL
) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 wxLogInfo((wxString
const &)*arg1
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 Py_INCREF(Py_None
); resultobj
= Py_None
;
7400 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxString
*arg1
= 0 ;
7403 bool temp1
= False
;
7404 PyObject
* obj0
= 0 ;
7406 (char *) "msg", NULL
7409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
7411 arg1
= wxString_in_helper(obj0
);
7412 if (arg1
== NULL
) SWIG_fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 wxLogDebug((wxString
const &)*arg1
);
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxString
*arg1
= 0 ;
7440 bool temp1
= False
;
7441 PyObject
* obj0
= 0 ;
7443 (char *) "msg", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
7448 arg1
= wxString_in_helper(obj0
);
7449 if (arg1
== NULL
) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 wxLogVerbose((wxString
const &)*arg1
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7474 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7475 PyObject
*resultobj
;
7476 wxString
*arg1
= 0 ;
7477 bool temp1
= False
;
7478 PyObject
* obj0
= 0 ;
7480 (char *) "msg", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
7485 arg1
= wxString_in_helper(obj0
);
7486 if (arg1
== NULL
) SWIG_fail
;
7490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7491 wxLogStatus((wxString
const &)*arg1
);
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 Py_INCREF(Py_None
); resultobj
= Py_None
;
7511 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7512 PyObject
*resultobj
;
7513 wxFrame
*arg1
= (wxFrame
*) 0 ;
7514 wxString
*arg2
= 0 ;
7515 bool temp2
= False
;
7516 PyObject
* obj0
= 0 ;
7517 PyObject
* obj1
= 0 ;
7519 (char *) "pFrame",(char *) "msg", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
7523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7525 arg2
= wxString_in_helper(obj1
);
7526 if (arg2
== NULL
) SWIG_fail
;
7530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7531 wxLogStatus(arg1
,(wxString
const &)*arg2
);
7533 wxPyEndAllowThreads(__tstate
);
7534 if (PyErr_Occurred()) SWIG_fail
;
7536 Py_INCREF(Py_None
); resultobj
= Py_None
;
7551 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxString
*arg1
= 0 ;
7554 bool temp1
= False
;
7555 PyObject
* obj0
= 0 ;
7557 (char *) "msg", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
7562 arg1
= wxString_in_helper(obj0
);
7563 if (arg1
== NULL
) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 wxLogSysError((wxString
const &)*arg1
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 Py_INCREF(Py_None
); resultobj
= Py_None
;
7588 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7589 PyObject
*resultobj
;
7590 wxString
*arg1
= 0 ;
7591 bool temp1
= False
;
7592 PyObject
* obj0
= 0 ;
7594 (char *) "msg", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogTrace",kwnames
,&obj0
)) goto fail
;
7599 arg1
= wxString_in_helper(obj0
);
7600 if (arg1
== NULL
) SWIG_fail
;
7604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7605 wxLogTrace((wxString
const &)*arg1
);
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7610 Py_INCREF(Py_None
); resultobj
= Py_None
;
7625 static PyObject
*_wrap_LogTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxString
*arg1
= 0 ;
7628 wxString
*arg2
= 0 ;
7629 bool temp1
= False
;
7630 bool temp2
= False
;
7631 PyObject
* obj0
= 0 ;
7632 PyObject
* obj1
= 0 ;
7634 (char *) "mask",(char *) "msg", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogTraceMask",kwnames
,&obj0
,&obj1
)) goto fail
;
7639 arg1
= wxString_in_helper(obj0
);
7640 if (arg1
== NULL
) SWIG_fail
;
7644 arg2
= wxString_in_helper(obj1
);
7645 if (arg2
== NULL
) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7655 Py_INCREF(Py_None
); resultobj
= Py_None
;
7678 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7679 PyObject
*resultobj
;
7680 unsigned long arg1
;
7681 wxString
*arg2
= 0 ;
7682 bool temp2
= False
;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7686 (char *) "level",(char *) "msg", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
7690 arg1
= (unsigned long) PyInt_AsLong(obj0
);
7691 if (PyErr_Occurred()) SWIG_fail
;
7693 arg2
= wxString_in_helper(obj1
);
7694 if (arg2
== NULL
) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 Py_INCREF(Py_None
); resultobj
= Py_None
;
7719 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7721 wxString
*arg1
= 0 ;
7722 wxString
*arg2
= 0 ;
7723 bool temp1
= False
;
7724 bool temp2
= False
;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "title",(char *) "text", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
7733 arg1
= wxString_in_helper(obj0
);
7734 if (arg1
== NULL
) SWIG_fail
;
7738 arg2
= wxString_in_helper(obj1
);
7739 if (arg2
== NULL
) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7772 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxLogNull
*)new wxLogNull();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLogNull
, 1);
7794 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLogNull
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 Py_INCREF(Py_None
); resultobj
= Py_None
;
7818 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
7820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7821 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
7823 return Py_BuildValue((char *)"");
7825 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (wxPyLog
*)new wxPyLog();
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyLog
, 1);
7847 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
7850 PyObject
*arg2
= (PyObject
*) 0 ;
7851 PyObject
*arg3
= (PyObject
*) 0 ;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 PyObject
* obj2
= 0 ;
7856 (char *) "self",(char *) "self",(char *) "_class", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyLog
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 (arg1
)->_setCallbackInfo(arg2
,arg3
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7870 Py_INCREF(Py_None
); resultobj
= Py_None
;
7877 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
7879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7880 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
7882 return Py_BuildValue((char *)"");
7884 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7887 int arg2
= (int) wxSIGTERM
;
7890 (char *) "pid",(char *) "sig", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:Process_Kill",kwnames
,&arg1
,&arg2
)) goto fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= PyInt_FromLong((long)result
);
7908 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7913 (char *) "pid", NULL
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Process_Exists",kwnames
,&arg1
)) goto fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (bool)wxPyProcess::Exists(arg1
);
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= PyInt_FromLong((long)result
);
7931 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxString
*arg1
= 0 ;
7934 int arg2
= (int) wxEXEC_ASYNC
;
7935 wxPyProcess
*result
;
7936 bool temp1
= False
;
7937 PyObject
* obj0
= 0 ;
7939 (char *) "cmd",(char *) "flags", NULL
7942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Process_Open",kwnames
,&obj0
,&arg2
)) goto fail
;
7944 arg1
= wxString_in_helper(obj0
);
7945 if (arg1
== NULL
) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 0);
7970 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
7973 int arg2
= (int) -1 ;
7974 wxPyProcess
*result
;
7975 PyObject
* obj0
= 0 ;
7977 (char *) "parent",(char *) "id", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_Process",kwnames
,&obj0
,&arg2
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyProcess
, 1);
7998 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8001 PyObject
*arg2
= (PyObject
*) 0 ;
8002 PyObject
*arg3
= (PyObject
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8004 PyObject
* obj1
= 0 ;
8005 PyObject
* obj2
= 0 ;
8007 (char *) "self",(char *) "self",(char *) "_class", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 Py_INCREF(Py_None
); resultobj
= Py_None
;
8028 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8033 PyObject
* obj0
= 0 ;
8035 (char *) "self",(char *) "pid",(char *) "status", NULL
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Process_base_OnTerminate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 (arg1
)->base_OnTerminate(arg2
,arg3
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "self", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 Py_INCREF(Py_None
); resultobj
= Py_None
;
8078 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "self", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (bool)(arg1
)->IsRedirected();
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 resultobj
= PyInt_FromLong((long)result
);
8103 static PyObject
*_wrap_Process_Detach(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_Detach",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_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
;
8129 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8130 wxInputStream
*result
;
8131 PyObject
* obj0
= 0 ;
8133 (char *) "self", NULL
8136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",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
= (wxInputStream
*)(arg1
)->GetInputStream();
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8146 wxPyInputStream
* _ptr
= NULL
;
8149 _ptr
= new wxPyInputStream(result
);
8151 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8159 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8160 PyObject
*resultobj
;
8161 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8162 wxInputStream
*result
;
8163 PyObject
* obj0
= 0 ;
8165 (char *) "self", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8178 wxPyInputStream
* _ptr
= NULL
;
8181 _ptr
= new wxPyInputStream(result
);
8183 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8191 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8192 PyObject
*resultobj
;
8193 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8194 wxOutputStream
*result
;
8195 PyObject
* obj0
= 0 ;
8197 (char *) "self", NULL
8200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
8201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxOutputStream
, 0);
8216 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8217 PyObject
*resultobj
;
8218 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8219 PyObject
* obj0
= 0 ;
8221 (char *) "self", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 (arg1
)->CloseOutput();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 Py_INCREF(Py_None
); resultobj
= Py_None
;
8240 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "self", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",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
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
8255 wxPyEndAllowThreads(__tstate
);
8256 if (PyErr_Occurred()) SWIG_fail
;
8258 resultobj
= PyInt_FromLong((long)result
);
8265 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8266 PyObject
*resultobj
;
8267 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8269 PyObject
* obj0
= 0 ;
8271 (char *) "self", NULL
8274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
8275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8278 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
8280 wxPyEndAllowThreads(__tstate
);
8281 if (PyErr_Occurred()) SWIG_fail
;
8283 resultobj
= PyInt_FromLong((long)result
);
8290 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
;
8292 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8296 (char *) "self", NULL
8299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
8300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= PyInt_FromLong((long)result
);
8315 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
8317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8318 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
8320 return Py_BuildValue((char *)"");
8322 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 int arg1
= (int) 0 ;
8325 int arg2
= (int) 0 ;
8326 int arg3
= (int) 0 ;
8327 wxProcessEvent
*result
;
8329 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ProcessEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
8334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8335 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxProcessEvent
, 1);
8347 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8351 PyObject
* obj0
= 0 ;
8353 (char *) "self", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
8357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (int)(arg1
)->GetPid();
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= PyInt_FromLong((long)result
);
8372 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
;
8374 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8376 PyObject
* obj0
= 0 ;
8378 (char *) "self", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8385 result
= (int)(arg1
)->GetExitCode();
8387 wxPyEndAllowThreads(__tstate
);
8388 if (PyErr_Occurred()) SWIG_fail
;
8390 resultobj
= PyInt_FromLong((long)result
);
8397 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8398 PyObject
*resultobj
;
8399 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8401 PyObject
* obj0
= 0 ;
8403 (char *) "self",(char *) "m_pid", NULL
8406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_pid_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8408 if (arg1
) (arg1
)->m_pid
= arg2
;
8410 Py_INCREF(Py_None
); resultobj
= Py_None
;
8417 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8418 PyObject
*resultobj
;
8419 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8421 PyObject
* obj0
= 0 ;
8423 (char *) "self", NULL
8426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
8427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8428 result
= (int) ((arg1
)->m_pid
);
8430 resultobj
= PyInt_FromLong((long)result
);
8437 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8438 PyObject
*resultobj
;
8439 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8441 PyObject
* obj0
= 0 ;
8443 (char *) "self",(char *) "m_exitcode", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8448 if (arg1
) (arg1
)->m_exitcode
= arg2
;
8450 Py_INCREF(Py_None
); resultobj
= Py_None
;
8457 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8458 PyObject
*resultobj
;
8459 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
8461 PyObject
* obj0
= 0 ;
8463 (char *) "self", NULL
8466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
8467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxProcessEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8468 result
= (int) ((arg1
)->m_exitcode
);
8470 resultobj
= PyInt_FromLong((long)result
);
8477 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
8479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8480 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
8482 return Py_BuildValue((char *)"");
8484 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8485 PyObject
*resultobj
;
8486 wxString
*arg1
= 0 ;
8487 int arg2
= (int) wxEXEC_ASYNC
;
8488 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
8490 bool temp1
= False
;
8491 PyObject
* obj0
= 0 ;
8492 PyObject
* obj2
= 0 ;
8494 (char *) "command",(char *) "flags",(char *) "process", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:Execute",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
8499 arg1
= wxString_in_helper(obj0
);
8500 if (arg1
== NULL
) SWIG_fail
;
8504 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxPyProcess
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= PyInt_FromLong((long)result
);
8528 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 int arg1
= (int) wxJOYSTICK1
;
8533 (char *) "joystick", NULL
8536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_Joystick",kwnames
,&arg1
)) goto fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= (wxJoystick
*)new wxJoystick(arg1
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystick
, 1);
8551 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8552 PyObject
*resultobj
;
8553 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8554 PyObject
* obj0
= 0 ;
8556 (char *) "self", NULL
8559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
8560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8565 wxPyEndAllowThreads(__tstate
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8568 Py_INCREF(Py_None
); resultobj
= Py_None
;
8575 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "self", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (arg1
)->GetPosition();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8594 wxPoint
* resultptr
;
8595 resultptr
= new wxPoint((wxPoint
&) result
);
8596 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
8604 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (int)(arg1
)->GetZPosition();
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= PyInt_FromLong((long)result
);
8629 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8635 (char *) "self", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
8639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (int)(arg1
)->GetButtonState();
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= PyInt_FromLong((long)result
);
8654 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8658 PyObject
* obj0
= 0 ;
8660 (char *) "self", NULL
8663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
8664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8667 result
= (int)(arg1
)->GetPOVPosition();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= PyInt_FromLong((long)result
);
8679 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
;
8681 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8683 PyObject
* obj0
= 0 ;
8685 (char *) "self", NULL
8688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
8689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8692 result
= (int)(arg1
)->GetPOVCTSPosition();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= PyInt_FromLong((long)result
);
8704 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8705 PyObject
*resultobj
;
8706 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8708 PyObject
* obj0
= 0 ;
8710 (char *) "self", NULL
8713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
8714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (int)(arg1
)->GetRudderPosition();
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= PyInt_FromLong((long)result
);
8729 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8731 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "self", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
8739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8742 result
= (int)(arg1
)->GetUPosition();
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= PyInt_FromLong((long)result
);
8754 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8755 PyObject
*resultobj
;
8756 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8758 PyObject
* obj0
= 0 ;
8760 (char *) "self", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
8764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (int)(arg1
)->GetVPosition();
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= PyInt_FromLong((long)result
);
8779 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8780 PyObject
*resultobj
;
8781 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8783 PyObject
* obj0
= 0 ;
8785 (char *) "self", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
8789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (int)(arg1
)->GetMovementThreshold();
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 resultobj
= PyInt_FromLong((long)result
);
8804 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8808 PyObject
* obj0
= 0 ;
8810 (char *) "self",(char *) "threshold", NULL
8813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Joystick_SetMovementThreshold",kwnames
,&obj0
,&arg2
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 (arg1
)->SetMovementThreshold(arg2
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8833 PyObject
* obj0
= 0 ;
8835 (char *) "self", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 result
= (bool)(arg1
)->IsOk();
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 resultobj
= PyInt_FromLong((long)result
);
8854 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8858 PyObject
* obj0
= 0 ;
8860 (char *) "self", NULL
8863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
8864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 result
= (int)(arg1
)->GetNumberJoysticks();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 resultobj
= PyInt_FromLong((long)result
);
8879 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (int)(arg1
)->GetManufacturerId();
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8897 resultobj
= PyInt_FromLong((long)result
);
8904 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8910 (char *) "self", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
8914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (int)(arg1
)->GetProductId();
8919 wxPyEndAllowThreads(__tstate
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8922 resultobj
= PyInt_FromLong((long)result
);
8929 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8930 PyObject
*resultobj
;
8931 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8933 PyObject
* obj0
= 0 ;
8935 (char *) "self", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (arg1
)->GetProductName();
8944 wxPyEndAllowThreads(__tstate
);
8945 if (PyErr_Occurred()) SWIG_fail
;
8949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8960 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8961 PyObject
*resultobj
;
8962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8964 PyObject
* obj0
= 0 ;
8966 (char *) "self", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 result
= (int)(arg1
)->GetXMin();
8975 wxPyEndAllowThreads(__tstate
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 resultobj
= PyInt_FromLong((long)result
);
8985 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8991 (char *) "self", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 result
= (int)(arg1
)->GetYMin();
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 resultobj
= PyInt_FromLong((long)result
);
9010 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 result
= (int)(arg1
)->GetZMin();
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 resultobj
= PyInt_FromLong((long)result
);
9035 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9041 (char *) "self", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (int)(arg1
)->GetXMax();
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= PyInt_FromLong((long)result
);
9060 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9066 (char *) "self", NULL
9069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (int)(arg1
)->GetYMax();
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 resultobj
= PyInt_FromLong((long)result
);
9085 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9086 PyObject
*resultobj
;
9087 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9089 PyObject
* obj0
= 0 ;
9091 (char *) "self", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= (int)(arg1
)->GetZMax();
9100 wxPyEndAllowThreads(__tstate
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 resultobj
= PyInt_FromLong((long)result
);
9110 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9111 PyObject
*resultobj
;
9112 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9114 PyObject
* obj0
= 0 ;
9116 (char *) "self", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (int)(arg1
)->GetNumberButtons();
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= PyInt_FromLong((long)result
);
9135 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9136 PyObject
*resultobj
;
9137 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9139 PyObject
* obj0
= 0 ;
9141 (char *) "self", NULL
9144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
9145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (int)(arg1
)->GetNumberAxes();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= PyInt_FromLong((long)result
);
9160 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9166 (char *) "self", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9173 result
= (int)(arg1
)->GetMaxButtons();
9175 wxPyEndAllowThreads(__tstate
);
9176 if (PyErr_Occurred()) SWIG_fail
;
9178 resultobj
= PyInt_FromLong((long)result
);
9185 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9189 PyObject
* obj0
= 0 ;
9191 (char *) "self", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (int)(arg1
)->GetMaxAxes();
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= PyInt_FromLong((long)result
);
9210 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (int)(arg1
)->GetPollingMin();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= PyInt_FromLong((long)result
);
9235 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "self", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
9245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 result
= (int)(arg1
)->GetPollingMax();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 resultobj
= PyInt_FromLong((long)result
);
9260 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (int)(arg1
)->GetRudderMin();
9275 wxPyEndAllowThreads(__tstate
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= PyInt_FromLong((long)result
);
9285 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9286 PyObject
*resultobj
;
9287 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9289 PyObject
* obj0
= 0 ;
9291 (char *) "self", NULL
9294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
9295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 result
= (int)(arg1
)->GetRudderMax();
9300 wxPyEndAllowThreads(__tstate
);
9301 if (PyErr_Occurred()) SWIG_fail
;
9303 resultobj
= PyInt_FromLong((long)result
);
9310 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9311 PyObject
*resultobj
;
9312 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9314 PyObject
* obj0
= 0 ;
9316 (char *) "self", NULL
9319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
9320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (int)(arg1
)->GetUMin();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= PyInt_FromLong((long)result
);
9335 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
;
9337 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9339 PyObject
* obj0
= 0 ;
9341 (char *) "self", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (int)(arg1
)->GetUMax();
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= PyInt_FromLong((long)result
);
9360 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9361 PyObject
*resultobj
;
9362 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9364 PyObject
* obj0
= 0 ;
9366 (char *) "self", NULL
9369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
9370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9373 result
= (int)(arg1
)->GetVMin();
9375 wxPyEndAllowThreads(__tstate
);
9376 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= PyInt_FromLong((long)result
);
9385 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9389 PyObject
* obj0
= 0 ;
9391 (char *) "self", NULL
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (int)(arg1
)->GetVMax();
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 resultobj
= PyInt_FromLong((long)result
);
9410 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= (bool)(arg1
)->HasRudder();
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= PyInt_FromLong((long)result
);
9435 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
;
9437 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9439 PyObject
* obj0
= 0 ;
9441 (char *) "self", NULL
9444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
9445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= (bool)(arg1
)->HasZ();
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= PyInt_FromLong((long)result
);
9460 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9464 PyObject
* obj0
= 0 ;
9466 (char *) "self", NULL
9469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
9470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (bool)(arg1
)->HasU();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= PyInt_FromLong((long)result
);
9485 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9489 PyObject
* obj0
= 0 ;
9491 (char *) "self", NULL
9494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
9495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 result
= (bool)(arg1
)->HasV();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 resultobj
= PyInt_FromLong((long)result
);
9510 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9514 PyObject
* obj0
= 0 ;
9516 (char *) "self", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9523 result
= (bool)(arg1
)->HasPOV();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= PyInt_FromLong((long)result
);
9535 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (bool)(arg1
)->HasPOV4Dir();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= PyInt_FromLong((long)result
);
9560 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (bool)(arg1
)->HasPOVCTS();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= PyInt_FromLong((long)result
);
9585 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9588 wxWindow
*arg2
= (wxWindow
*) 0 ;
9589 int arg3
= (int) 0 ;
9591 PyObject
* obj0
= 0 ;
9592 PyObject
* obj1
= 0 ;
9594 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
9597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
9604 wxPyEndAllowThreads(__tstate
);
9605 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= PyInt_FromLong((long)result
);
9614 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9615 PyObject
*resultobj
;
9616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystick
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (bool)(arg1
)->ReleaseCapture();
9629 wxPyEndAllowThreads(__tstate
);
9630 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= PyInt_FromLong((long)result
);
9639 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
9641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9642 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
9644 return Py_BuildValue((char *)"");
9646 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9649 wxPoint
*arg2
= (wxPoint
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "m_pos", NULL
9656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9659 if (arg1
) (arg1
)->m_pos
= *arg2
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9679 result
= (wxPoint
*)& ((arg1
)->m_pos
);
9681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
9688 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9689 PyObject
*resultobj
;
9690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9692 PyObject
* obj0
= 0 ;
9694 (char *) "self",(char *) "m_zPosition", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9699 if (arg1
) (arg1
)->m_zPosition
= arg2
;
9701 Py_INCREF(Py_None
); resultobj
= Py_None
;
9708 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
;
9710 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9712 PyObject
* obj0
= 0 ;
9714 (char *) "self", NULL
9717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
9718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9719 result
= (int) ((arg1
)->m_zPosition
);
9721 resultobj
= PyInt_FromLong((long)result
);
9728 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9729 PyObject
*resultobj
;
9730 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9732 PyObject
* obj0
= 0 ;
9734 (char *) "self",(char *) "m_buttonChange", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9739 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
9741 Py_INCREF(Py_None
); resultobj
= Py_None
;
9748 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "self", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9759 result
= (int) ((arg1
)->m_buttonChange
);
9761 resultobj
= PyInt_FromLong((long)result
);
9768 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
;
9770 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9772 PyObject
* obj0
= 0 ;
9774 (char *) "self",(char *) "m_buttonState", NULL
9777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9779 if (arg1
) (arg1
)->m_buttonState
= arg2
;
9781 Py_INCREF(Py_None
); resultobj
= Py_None
;
9788 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9799 result
= (int) ((arg1
)->m_buttonState
);
9801 resultobj
= PyInt_FromLong((long)result
);
9808 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9812 PyObject
* obj0
= 0 ;
9814 (char *) "self",(char *) "m_joyStick", NULL
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&arg2
)) goto fail
;
9818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9819 if (arg1
) (arg1
)->m_joyStick
= arg2
;
9821 Py_INCREF(Py_None
); resultobj
= Py_None
;
9828 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9839 result
= (int) ((arg1
)->m_joyStick
);
9841 resultobj
= PyInt_FromLong((long)result
);
9848 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
;
9850 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
9851 int arg2
= (int) 0 ;
9852 int arg3
= (int) wxJOYSTICK1
;
9853 int arg4
= (int) 0 ;
9854 wxJoystickEvent
*result
;
9856 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_JoystickEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
9861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9862 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
9864 wxPyEndAllowThreads(__tstate
);
9865 if (PyErr_Occurred()) SWIG_fail
;
9867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJoystickEvent
, 1);
9874 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9875 PyObject
*resultobj
;
9876 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9878 PyObject
* obj0
= 0 ;
9880 (char *) "self", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 wxPoint
* resultptr
;
9894 resultptr
= new wxPoint((wxPoint
&) result
);
9895 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
9903 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 resultobj
= PyInt_FromLong((long)result
);
9928 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9929 PyObject
*resultobj
;
9930 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9932 PyObject
* obj0
= 0 ;
9934 (char *) "self", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= PyInt_FromLong((long)result
);
9953 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
9968 wxPyEndAllowThreads(__tstate
);
9969 if (PyErr_Occurred()) SWIG_fail
;
9971 resultobj
= PyInt_FromLong((long)result
);
9978 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
9982 PyObject
* obj0
= 0 ;
9984 (char *) "self", NULL
9987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
9988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= PyInt_FromLong((long)result
);
10003 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 char *kwnames
[] = {
10009 (char *) "self",(char *) "stick", NULL
10012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetJoystick",kwnames
,&obj0
,&arg2
)) goto fail
;
10013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 (arg1
)->SetJoystick(arg2
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 Py_INCREF(Py_None
); resultobj
= Py_None
;
10028 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
;
10030 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10032 PyObject
* obj0
= 0 ;
10033 char *kwnames
[] = {
10034 (char *) "self",(char *) "state", NULL
10037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonState",kwnames
,&obj0
,&arg2
)) goto fail
;
10038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 (arg1
)->SetButtonState(arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 Py_INCREF(Py_None
); resultobj
= Py_None
;
10053 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self",(char *) "change", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&arg2
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10066 (arg1
)->SetButtonChange(arg2
);
10068 wxPyEndAllowThreads(__tstate
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 Py_INCREF(Py_None
); resultobj
= Py_None
;
10078 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10079 PyObject
*resultobj
;
10080 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10081 wxPoint
*arg2
= 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char *kwnames
[] = {
10086 (char *) "self",(char *) "pos", NULL
10089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self",(char *) "zPos", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:JoystickEvent_SetZPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 (arg1
)->SetZPosition(arg2
);
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 Py_INCREF(Py_None
); resultobj
= Py_None
;
10134 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10135 PyObject
*resultobj
;
10136 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10138 PyObject
* obj0
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= PyInt_FromLong((long)result
);
10159 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= PyInt_FromLong((long)result
);
10184 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= PyInt_FromLong((long)result
);
10209 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10210 PyObject
*resultobj
;
10211 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10212 int arg2
= (int) wxJOY_BUTTON_ANY
;
10214 PyObject
* obj0
= 0 ;
10215 char *kwnames
[] = {
10216 (char *) "self",(char *) "but", NULL
10219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10223 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
10225 wxPyEndAllowThreads(__tstate
);
10226 if (PyErr_Occurred()) SWIG_fail
;
10228 resultobj
= PyInt_FromLong((long)result
);
10235 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10236 PyObject
*resultobj
;
10237 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10238 int arg2
= (int) wxJOY_BUTTON_ANY
;
10240 PyObject
* obj0
= 0 ;
10241 char *kwnames
[] = {
10242 (char *) "self",(char *) "but", NULL
10245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
10246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= PyInt_FromLong((long)result
);
10261 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10264 int arg2
= (int) wxJOY_BUTTON_ANY
;
10266 PyObject
* obj0
= 0 ;
10267 char *kwnames
[] = {
10268 (char *) "self",(char *) "but", NULL
10271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
10272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxJoystickEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10280 resultobj
= PyInt_FromLong((long)result
);
10287 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
10289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10290 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
10292 return Py_BuildValue((char *)"");
10294 static PyObject
*_wrap_new_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxString
*arg1
= 0 ;
10297 bool arg2
= (bool) False
;
10299 bool temp1
= False
;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "fileName",(char *) "isResource", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_Wave",kwnames
,&obj0
,&obj1
)) goto fail
;
10308 arg1
= wxString_in_helper(obj0
);
10309 if (arg1
== NULL
) SWIG_fail
;
10313 arg2
= PyInt_AsLong(obj1
) ? true : false;
10314 if (PyErr_Occurred()) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (wxWave
*)new wxWave((wxString
const &)*arg1
,arg2
);
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10338 static PyObject
*_wrap_new_WaveData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10339 PyObject
*resultobj
;
10340 wxString
*arg1
= 0 ;
10342 bool temp1
= False
;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "data", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_WaveData",kwnames
,&obj0
)) goto fail
;
10350 arg1
= wxString_in_helper(obj0
);
10351 if (arg1
== NULL
) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 result
= (wxWave
*)new_wxWave((wxString
const &)*arg1
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWave
, 1);
10376 static PyObject
*_wrap_delete_Wave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxWave
*arg1
= (wxWave
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Wave",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 Py_INCREF(Py_None
); resultobj
= Py_None
;
10400 static PyObject
*_wrap_Wave_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
;
10402 wxWave
*arg1
= (wxWave
*) 0 ;
10404 PyObject
* obj0
= 0 ;
10405 char *kwnames
[] = {
10406 (char *) "self", NULL
10409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Wave_IsOk",kwnames
,&obj0
)) goto fail
;
10410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (bool)((wxWave
const *)arg1
)->IsOk();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= PyInt_FromLong((long)result
);
10425 static PyObject
*_wrap_Wave_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxWave
*arg1
= (wxWave
*) 0 ;
10428 bool arg2
= (bool) True
;
10429 bool arg3
= (bool) False
;
10431 PyObject
* obj0
= 0 ;
10432 PyObject
* obj1
= 0 ;
10433 PyObject
* obj2
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self",(char *) "async",(char *) "looped", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Wave_Play",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWave
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10441 arg2
= PyInt_AsLong(obj1
) ? true : false;
10442 if (PyErr_Occurred()) SWIG_fail
;
10445 arg3
= PyInt_AsLong(obj2
) ? true : false;
10446 if (PyErr_Occurred()) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (bool)(arg1
)->Play(arg2
,arg3
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= PyInt_FromLong((long)result
);
10462 static PyObject
* Wave_swigregister(PyObject
*self
, PyObject
*args
) {
10464 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10465 SWIG_TypeClientData(SWIGTYPE_p_wxWave
, obj
);
10467 return Py_BuildValue((char *)"");
10469 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10470 PyObject
*resultobj
;
10471 wxString
*arg1
= 0 ;
10472 wxString
*arg2
= 0 ;
10473 wxString
*arg3
= 0 ;
10474 wxString
*arg4
= 0 ;
10475 wxFileTypeInfo
*result
;
10476 bool temp1
= False
;
10477 bool temp2
= False
;
10478 bool temp3
= False
;
10479 bool temp4
= False
;
10480 PyObject
* obj0
= 0 ;
10481 PyObject
* obj1
= 0 ;
10482 PyObject
* obj2
= 0 ;
10483 PyObject
* obj3
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10490 arg1
= wxString_in_helper(obj0
);
10491 if (arg1
== NULL
) SWIG_fail
;
10495 arg2
= wxString_in_helper(obj1
);
10496 if (arg2
== NULL
) SWIG_fail
;
10500 arg3
= wxString_in_helper(obj2
);
10501 if (arg3
== NULL
) SWIG_fail
;
10505 arg4
= wxString_in_helper(obj3
);
10506 if (arg4
== NULL
) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10555 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10556 PyObject
*resultobj
;
10557 wxArrayString
*arg1
= 0 ;
10558 wxFileTypeInfo
*result
;
10559 PyObject
* obj0
= 0 ;
10560 char *kwnames
[] = {
10561 (char *) "sArray", NULL
10564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
10566 if (! PySequence_Check(obj0
)) {
10567 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10570 arg1
= new wxArrayString
;
10571 int i
, len
=PySequence_Length(obj0
);
10572 for (i
=0; i
<len
; i
++) {
10573 PyObject
* item
= PySequence_GetItem(obj0
, i
);
10575 PyObject
* str
= PyObject_Unicode(item
);
10577 PyObject
* str
= PyObject_Str(item
);
10579 arg1
->Add(Py2wxString(str
));
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10591 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10593 if (arg1
) delete arg1
;
10598 if (arg1
) delete arg1
;
10604 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxFileTypeInfo
*result
;
10607 char *kwnames
[] = {
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileTypeInfo
, 1);
10626 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10630 PyObject
* obj0
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
10636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10644 resultobj
= PyInt_FromLong((long)result
);
10651 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10652 PyObject
*resultobj
;
10653 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10654 wxString
*arg2
= 0 ;
10655 int arg3
= (int) 0 ;
10656 bool temp2
= False
;
10657 PyObject
* obj0
= 0 ;
10658 PyObject
* obj1
= 0 ;
10659 char *kwnames
[] = {
10660 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
10663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
10664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10666 arg2
= wxString_in_helper(obj1
);
10667 if (arg2
== NULL
) SWIG_fail
;
10671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 Py_INCREF(Py_None
); resultobj
= Py_None
;
10692 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
;
10694 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10695 wxString
*arg2
= 0 ;
10696 bool temp2
= False
;
10697 PyObject
* obj0
= 0 ;
10698 PyObject
* obj1
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self",(char *) "shortDesc", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10706 arg2
= wxString_in_helper(obj1
);
10707 if (arg2
== NULL
) SWIG_fail
;
10711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10712 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
10714 wxPyEndAllowThreads(__tstate
);
10715 if (PyErr_Occurred()) SWIG_fail
;
10717 Py_INCREF(Py_None
); resultobj
= Py_None
;
10732 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
10747 result
= (wxString
*) &_result_ref
;
10750 wxPyEndAllowThreads(__tstate
);
10751 if (PyErr_Occurred()) SWIG_fail
;
10753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10760 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10761 PyObject
*resultobj
;
10762 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10764 PyObject
* obj0
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
10775 result
= (wxString
*) &_result_ref
;
10778 wxPyEndAllowThreads(__tstate
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10781 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10788 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10792 PyObject
* obj0
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10802 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
10803 result
= (wxString
*) &_result_ref
;
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10816 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10817 PyObject
*resultobj
;
10818 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10820 PyObject
* obj0
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
10831 result
= (wxString
*) &_result_ref
;
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10844 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10848 PyObject
* obj0
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
10859 result
= (wxString
*) &_result_ref
;
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10872 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10873 PyObject
*resultobj
;
10874 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10875 wxArrayString
*result
;
10876 PyObject
* obj0
= 0 ;
10877 char *kwnames
[] = {
10878 (char *) "self", NULL
10881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
10882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
10887 result
= (wxArrayString
*) &_result_ref
;
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= wxArrayString2PyList_helper(*result
);
10902 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10906 PyObject
* obj0
= 0 ;
10907 char *kwnames
[] = {
10908 (char *) "self", NULL
10911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
10912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= PyInt_FromLong((long)result
);
10927 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
10942 result
= (wxString
*) &_result_ref
;
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
10955 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= PyInt_FromLong((long)result
);
10980 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
10982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10983 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
10985 return Py_BuildValue((char *)"");
10987 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10988 PyObject
*resultobj
;
10989 wxFileTypeInfo
*arg1
= 0 ;
10990 wxFileType
*result
;
10991 PyObject
* obj0
= 0 ;
10992 char *kwnames
[] = {
10993 (char *) "ftInfo", NULL
10996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
10997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10998 if (arg1
== NULL
) {
10999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
11005 wxPyEndAllowThreads(__tstate
);
11006 if (PyErr_Occurred()) SWIG_fail
;
11008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11015 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11016 PyObject
*resultobj
;
11017 wxFileType
*arg1
= (wxFileType
*) 0 ;
11018 PyObject
* obj0
= 0 ;
11019 char *kwnames
[] = {
11020 (char *) "self", NULL
11023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
11024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxFileType
*arg1
= (wxFileType
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= result
;
11064 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxFileType
*arg1
= (wxFileType
*) 0 ;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "self", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
11079 wxPyEndAllowThreads(__tstate
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
;
11089 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxFileType
*arg1
= (wxFileType
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= result
;
11114 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxFileType
*arg1
= (wxFileType
*) 0 ;
11118 PyObject
* obj0
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIcon
, 1);
11139 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxFileType
*arg1
= (wxFileType
*) 0 ;
11143 PyObject
* obj0
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "self", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= result
;
11164 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxFileType
*arg1
= (wxFileType
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11177 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11182 resultobj
= result
;
11189 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11190 PyObject
*resultobj
;
11191 wxFileType
*arg1
= (wxFileType
*) 0 ;
11192 wxString
*arg2
= 0 ;
11193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11196 bool temp2
= False
;
11197 bool temp3
= False
;
11198 PyObject
* obj0
= 0 ;
11199 PyObject
* obj1
= 0 ;
11200 PyObject
* obj2
= 0 ;
11201 char *kwnames
[] = {
11202 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11208 arg2
= wxString_in_helper(obj1
);
11209 if (arg2
== NULL
) SWIG_fail
;
11214 arg3
= wxString_in_helper(obj2
);
11215 if (arg3
== NULL
) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= result
;
11249 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11250 PyObject
*resultobj
;
11251 wxFileType
*arg1
= (wxFileType
*) 0 ;
11252 wxString
*arg2
= 0 ;
11253 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11254 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11256 bool temp2
= False
;
11257 bool temp3
= False
;
11258 PyObject
* obj0
= 0 ;
11259 PyObject
* obj1
= 0 ;
11260 PyObject
* obj2
= 0 ;
11261 char *kwnames
[] = {
11262 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11268 arg2
= wxString_in_helper(obj1
);
11269 if (arg2
== NULL
) SWIG_fail
;
11274 arg3
= wxString_in_helper(obj2
);
11275 if (arg3
== NULL
) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= result
;
11309 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxFileType
*arg1
= (wxFileType
*) 0 ;
11312 wxString
*arg2
= 0 ;
11313 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11314 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11316 bool temp2
= False
;
11317 bool temp3
= False
;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 PyObject
* obj2
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11328 arg2
= wxString_in_helper(obj1
);
11329 if (arg2
== NULL
) SWIG_fail
;
11334 arg3
= wxString_in_helper(obj2
);
11335 if (arg3
== NULL
) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11346 resultobj
= result
;
11369 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11370 PyObject
*resultobj
;
11371 wxFileType
*arg1
= (wxFileType
*) 0 ;
11372 wxString
*arg2
= 0 ;
11373 wxString
*arg3
= 0 ;
11374 bool arg4
= (bool) True
;
11376 bool temp2
= False
;
11377 bool temp3
= False
;
11378 PyObject
* obj0
= 0 ;
11379 PyObject
* obj1
= 0 ;
11380 PyObject
* obj2
= 0 ;
11381 PyObject
* obj3
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11389 arg2
= wxString_in_helper(obj1
);
11390 if (arg2
== NULL
) SWIG_fail
;
11394 arg3
= wxString_in_helper(obj2
);
11395 if (arg3
== NULL
) SWIG_fail
;
11399 arg4
= PyInt_AsLong(obj3
) ? true : false;
11400 if (PyErr_Occurred()) SWIG_fail
;
11403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11404 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
11406 wxPyEndAllowThreads(__tstate
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11409 resultobj
= PyInt_FromLong((long)result
);
11432 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxFileType
*arg1
= (wxFileType
*) 0 ;
11435 wxString
const &arg2_defvalue
= wxPyEmptyString
;
11436 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
11437 int arg3
= (int) 0 ;
11439 bool temp2
= False
;
11440 PyObject
* obj0
= 0 ;
11441 PyObject
* obj1
= 0 ;
11442 char *kwnames
[] = {
11443 (char *) "self",(char *) "cmd",(char *) "index", NULL
11446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|Oi:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
11447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11450 arg2
= wxString_in_helper(obj1
);
11451 if (arg2
== NULL
) SWIG_fail
;
11456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11457 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
11459 wxPyEndAllowThreads(__tstate
);
11460 if (PyErr_Occurred()) SWIG_fail
;
11462 resultobj
= PyInt_FromLong((long)result
);
11477 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
;
11479 wxFileType
*arg1
= (wxFileType
*) 0 ;
11481 PyObject
* obj0
= 0 ;
11482 char *kwnames
[] = {
11483 (char *) "self", NULL
11486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
11487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11490 result
= (bool)(arg1
)->Unassociate();
11492 wxPyEndAllowThreads(__tstate
);
11493 if (PyErr_Occurred()) SWIG_fail
;
11495 resultobj
= PyInt_FromLong((long)result
);
11502 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxString
*arg1
= 0 ;
11505 wxString
*arg2
= 0 ;
11506 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11507 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11509 bool temp1
= False
;
11510 bool temp2
= False
;
11511 bool temp3
= False
;
11512 PyObject
* obj0
= 0 ;
11513 PyObject
* obj1
= 0 ;
11514 PyObject
* obj2
= 0 ;
11515 char *kwnames
[] = {
11516 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
11519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11521 arg1
= wxString_in_helper(obj0
);
11522 if (arg1
== NULL
) SWIG_fail
;
11526 arg2
= wxString_in_helper(obj1
);
11527 if (arg2
== NULL
) SWIG_fail
;
11532 arg3
= wxString_in_helper(obj2
);
11533 if (arg3
== NULL
) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11581 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
11583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
11586 return Py_BuildValue((char *)"");
11588 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
11589 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
11594 static PyObject
*_wrap_TheMimeTypesManager_get() {
11597 pyobj
= SWIG_NewPointerObj((void *) wxTheMimeTypesManager
, SWIGTYPE_p_wxMimeTypesManager
, 0);
11602 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11603 PyObject
*resultobj
;
11604 wxString
*arg1
= 0 ;
11605 wxString
*arg2
= 0 ;
11607 bool temp1
= False
;
11608 bool temp2
= False
;
11609 PyObject
* obj0
= 0 ;
11610 PyObject
* obj1
= 0 ;
11611 char *kwnames
[] = {
11612 (char *) "mimeType",(char *) "wildcard", NULL
11615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
11617 arg1
= wxString_in_helper(obj0
);
11618 if (arg1
== NULL
) SWIG_fail
;
11622 arg2
= wxString_in_helper(obj1
);
11623 if (arg2
== NULL
) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= PyInt_FromLong((long)result
);
11656 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11657 PyObject
*resultobj
;
11658 wxMimeTypesManager
*result
;
11659 char *kwnames
[] = {
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
11668 wxPyEndAllowThreads(__tstate
);
11669 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMimeTypesManager
, 1);
11678 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11681 int arg2
= (int) wxMAILCAP_ALL
;
11682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11684 bool temp3
= False
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj2
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:MimeTypesManager_Initialize",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11695 arg3
= wxString_in_helper(obj2
);
11696 if (arg3
== NULL
) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11722 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11725 PyObject
* obj0
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 (arg1
)->ClearData();
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 Py_INCREF(Py_None
); resultobj
= Py_None
;
11746 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11749 wxString
*arg2
= 0 ;
11750 wxFileType
*result
;
11751 bool temp2
= False
;
11752 PyObject
* obj0
= 0 ;
11753 PyObject
* obj1
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self",(char *) "ext", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11761 arg2
= wxString_in_helper(obj1
);
11762 if (arg2
== NULL
) SWIG_fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11787 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11790 wxString
*arg2
= 0 ;
11791 wxFileType
*result
;
11792 bool temp2
= False
;
11793 PyObject
* obj0
= 0 ;
11794 PyObject
* obj1
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self",(char *) "mimeType", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11802 arg2
= wxString_in_helper(obj1
);
11803 if (arg2
== NULL
) SWIG_fail
;
11807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11808 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
11828 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11831 wxString
*arg2
= 0 ;
11832 bool arg3
= (bool) False
;
11834 bool temp2
= False
;
11835 PyObject
* obj0
= 0 ;
11836 PyObject
* obj1
= 0 ;
11837 PyObject
* obj2
= 0 ;
11838 char *kwnames
[] = {
11839 (char *) "self",(char *) "filename",(char *) "fallback", NULL
11842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11845 arg2
= wxString_in_helper(obj1
);
11846 if (arg2
== NULL
) SWIG_fail
;
11850 arg3
= PyInt_AsLong(obj2
) ? true : false;
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 resultobj
= PyInt_FromLong((long)result
);
11875 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11878 wxString
*arg2
= 0 ;
11880 bool temp2
= False
;
11881 PyObject
* obj0
= 0 ;
11882 PyObject
* obj1
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self",(char *) "filename", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11890 arg2
= wxString_in_helper(obj1
);
11891 if (arg2
== NULL
) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 resultobj
= PyInt_FromLong((long)result
);
11916 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
;
11918 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11920 PyObject
* obj0
= 0 ;
11921 char *kwnames
[] = {
11922 (char *) "self", NULL
11925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
11926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
11931 wxPyEndAllowThreads(__tstate
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11934 resultobj
= result
;
11941 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11942 PyObject
*resultobj
;
11943 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11944 wxFileTypeInfo
*arg2
= 0 ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self",(char *) "ft", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11953 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11954 if (arg2
== NULL
) {
11955 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11959 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
11961 wxPyEndAllowThreads(__tstate
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11964 Py_INCREF(Py_None
); resultobj
= Py_None
;
11971 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
11974 wxFileTypeInfo
*arg2
= 0 ;
11975 wxFileType
*result
;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char *kwnames
[] = {
11979 (char *) "self",(char *) "ftInfo", NULL
11982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
11983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileTypeInfo
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11985 if (arg2
== NULL
) {
11986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11990 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
11992 wxPyEndAllowThreads(__tstate
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11995 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileType
, 1);
12002 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12003 PyObject
*resultobj
;
12004 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12005 wxFileType
*arg2
= (wxFileType
*) 0 ;
12007 PyObject
* obj0
= 0 ;
12008 PyObject
* obj1
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self",(char *) "ft", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileType
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12018 result
= (bool)(arg1
)->Unassociate(arg2
);
12020 wxPyEndAllowThreads(__tstate
);
12021 if (PyErr_Occurred()) SWIG_fail
;
12023 resultobj
= PyInt_FromLong((long)result
);
12030 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12031 PyObject
*resultobj
;
12032 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMimeTypesManager
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 Py_INCREF(Py_None
); resultobj
= Py_None
;
12054 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
12056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12057 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
12059 return Py_BuildValue((char *)"");
12061 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
12062 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
12067 static PyObject
*_wrap_ART_TOOLBAR_get() {
12072 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12074 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
12081 static int _wrap_ART_MENU_set(PyObject
*_val
) {
12082 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
12087 static PyObject
*_wrap_ART_MENU_get() {
12092 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12094 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
12101 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
12102 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
12107 static PyObject
*_wrap_ART_FRAME_ICON_get() {
12112 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12114 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
12121 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
12122 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
12127 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
12132 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12134 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
12141 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
12142 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
12147 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
12152 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12154 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
12161 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
12162 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
12167 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
12172 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12174 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
12181 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
12182 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
12187 static PyObject
*_wrap_ART_OTHER_get() {
12192 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12194 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
12201 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
12202 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
12207 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
12212 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12214 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
12221 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
12222 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
12227 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
12232 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12234 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
12241 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
12242 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
12247 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
12252 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12254 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
12261 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
12262 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
12267 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
12272 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12274 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
12281 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
12282 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
12287 static PyObject
*_wrap_ART_HELP_BOOK_get() {
12292 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12294 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
12301 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
12302 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
12307 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
12312 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12314 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
12321 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
12322 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
12327 static PyObject
*_wrap_ART_HELP_PAGE_get() {
12332 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12334 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
12341 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
12342 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
12347 static PyObject
*_wrap_ART_GO_BACK_get() {
12352 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12354 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
12361 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
12362 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
12367 static PyObject
*_wrap_ART_GO_FORWARD_get() {
12372 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12374 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
12381 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
12382 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
12387 static PyObject
*_wrap_ART_GO_UP_get() {
12392 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12394 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
12401 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
12402 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
12407 static PyObject
*_wrap_ART_GO_DOWN_get() {
12412 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12414 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
12421 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
12422 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
12427 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
12432 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12434 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
12441 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
12442 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
12447 static PyObject
*_wrap_ART_GO_HOME_get() {
12452 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12454 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
12461 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
12462 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
12467 static PyObject
*_wrap_ART_FILE_OPEN_get() {
12472 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12474 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
12481 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
12482 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
12487 static PyObject
*_wrap_ART_PRINT_get() {
12492 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12494 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
12501 static int _wrap_ART_HELP_set(PyObject
*_val
) {
12502 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
12507 static PyObject
*_wrap_ART_HELP_get() {
12512 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12514 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
12521 static int _wrap_ART_TIP_set(PyObject
*_val
) {
12522 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
12527 static PyObject
*_wrap_ART_TIP_get() {
12532 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12534 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
12541 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
12542 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
12547 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
12552 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12554 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
12561 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
12562 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
12567 static PyObject
*_wrap_ART_LIST_VIEW_get() {
12572 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12574 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
12581 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
12582 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
12587 static PyObject
*_wrap_ART_NEW_DIR_get() {
12592 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12594 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
12601 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
12602 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
12607 static PyObject
*_wrap_ART_FOLDER_get() {
12612 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12614 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
12621 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
12622 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
12627 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
12632 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12634 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
12641 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
12642 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
12647 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
12652 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12654 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
12661 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
12662 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
12667 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
12672 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12674 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
12681 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
12682 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
12687 static PyObject
*_wrap_ART_TICK_MARK_get() {
12692 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12694 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
12701 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
12702 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
12707 static PyObject
*_wrap_ART_CROSS_MARK_get() {
12712 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12714 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
12721 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
12722 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
12727 static PyObject
*_wrap_ART_ERROR_get() {
12732 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12734 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
12741 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
12742 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
12747 static PyObject
*_wrap_ART_QUESTION_get() {
12752 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12754 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
12761 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
12762 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
12767 static PyObject
*_wrap_ART_WARNING_get() {
12772 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12774 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
12781 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
12782 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
12787 static PyObject
*_wrap_ART_INFORMATION_get() {
12792 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12794 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
12801 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
12802 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
12807 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
12812 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12814 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
12821 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxPyArtProvider
*result
;
12824 char *kwnames
[] = {
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12831 result
= (wxPyArtProvider
*)new wxPyArtProvider();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyArtProvider
, 1);
12843 static PyObject
*_wrap_delete_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12846 PyObject
* obj0
= 0 ;
12847 char *kwnames
[] = {
12848 (char *) "self", NULL
12851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ArtProvider",kwnames
,&obj0
)) goto fail
;
12852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 wxPyEndAllowThreads(__tstate
);
12858 if (PyErr_Occurred()) SWIG_fail
;
12860 Py_INCREF(Py_None
); resultobj
= Py_None
;
12867 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12868 PyObject
*resultobj
;
12869 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12870 PyObject
*arg2
= (PyObject
*) 0 ;
12871 PyObject
*arg3
= (PyObject
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 PyObject
* obj1
= 0 ;
12874 PyObject
* obj2
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self",(char *) "self",(char *) "_class", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12890 Py_INCREF(Py_None
); resultobj
= Py_None
;
12897 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12898 PyObject
*resultobj
;
12899 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12900 PyObject
* obj0
= 0 ;
12901 char *kwnames
[] = {
12902 (char *) "provider", NULL
12905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
12906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 wxPyArtProvider::PushProvider(arg1
);
12911 wxPyEndAllowThreads(__tstate
);
12912 if (PyErr_Occurred()) SWIG_fail
;
12914 Py_INCREF(Py_None
); resultobj
= Py_None
;
12921 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12922 PyObject
*resultobj
;
12924 char *kwnames
[] = {
12928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 result
= (bool)wxPyArtProvider::PopProvider();
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= PyInt_FromLong((long)result
);
12943 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12944 PyObject
*resultobj
;
12945 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
12947 PyObject
* obj0
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "provider", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyArtProvider
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
12958 wxPyEndAllowThreads(__tstate
);
12959 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= PyInt_FromLong((long)result
);
12968 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12969 PyObject
*resultobj
;
12970 wxString
*arg1
= 0 ;
12971 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
12972 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12973 wxSize
const &arg3_defvalue
= wxDefaultSize
;
12974 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
12976 bool temp1
= False
;
12977 bool temp2
= False
;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 PyObject
* obj2
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "id",(char *) "client",(char *) "size", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12988 arg1
= wxString_in_helper(obj0
);
12989 if (arg1
== NULL
) SWIG_fail
;
12994 arg2
= wxString_in_helper(obj1
);
12995 if (arg2
== NULL
) SWIG_fail
;
13002 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13007 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13009 wxPyEndAllowThreads(__tstate
);
13010 if (PyErr_Occurred()) SWIG_fail
;
13013 wxBitmap
* resultptr
;
13014 resultptr
= new wxBitmap((wxBitmap
&) result
);
13015 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
13039 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxString
*arg1
= 0 ;
13042 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
13043 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13044 wxSize
const &arg3_defvalue
= wxDefaultSize
;
13045 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
13047 bool temp1
= False
;
13048 bool temp2
= False
;
13050 PyObject
* obj0
= 0 ;
13051 PyObject
* obj1
= 0 ;
13052 PyObject
* obj2
= 0 ;
13053 char *kwnames
[] = {
13054 (char *) "id",(char *) "client",(char *) "size", NULL
13057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13059 arg1
= wxString_in_helper(obj0
);
13060 if (arg1
== NULL
) SWIG_fail
;
13065 arg2
= wxString_in_helper(obj1
);
13066 if (arg2
== NULL
) SWIG_fail
;
13073 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13078 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 wxIcon
* resultptr
;
13085 resultptr
= new wxIcon((wxIcon
&) result
);
13086 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxIcon
, 1);
13110 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
13112 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13113 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
13115 return Py_BuildValue((char *)"");
13117 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13131 wxPyEndAllowThreads(__tstate
);
13132 if (PyErr_Occurred()) SWIG_fail
;
13134 Py_INCREF(Py_None
); resultobj
= Py_None
;
13141 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13142 PyObject
*resultobj
;
13143 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13144 wxConfigBase
*result
;
13145 PyObject
* obj0
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "pConfig", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
13151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13154 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
13156 wxPyEndAllowThreads(__tstate
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13159 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13166 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 bool arg1
= (bool) True
;
13169 wxConfigBase
*result
;
13170 PyObject
* obj0
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "createOnDemand", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
13177 arg1
= PyInt_AsLong(obj0
) ? true : false;
13178 if (PyErr_Occurred()) SWIG_fail
;
13181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13182 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
13184 wxPyEndAllowThreads(__tstate
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13187 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13194 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13195 PyObject
*resultobj
;
13196 wxConfigBase
*result
;
13197 char *kwnames
[] = {
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (wxConfigBase
*)wxConfigBase::Create();
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigBase
, 0);
13216 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 char *kwnames
[] = {
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 wxConfigBase::DontCreateOnDemand();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 Py_INCREF(Py_None
); resultobj
= Py_None
;
13237 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13240 wxString
*arg2
= 0 ;
13241 bool temp2
= False
;
13242 PyObject
* obj0
= 0 ;
13243 PyObject
* obj1
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "self",(char *) "strPath", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13251 arg2
= wxString_in_helper(obj1
);
13252 if (arg2
== NULL
) SWIG_fail
;
13256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13257 (arg1
)->SetPath((wxString
const &)*arg2
);
13259 wxPyEndAllowThreads(__tstate
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 Py_INCREF(Py_None
); resultobj
= Py_None
;
13277 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
13292 result
= (wxString
*) &_result_ref
;
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
13305 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13306 PyObject
*resultobj
;
13307 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13309 PyObject
* obj0
= 0 ;
13310 char *kwnames
[] = {
13311 (char *) "self", NULL
13314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
13315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13318 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
13320 wxPyEndAllowThreads(__tstate
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 resultobj
= result
;
13330 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13331 PyObject
*resultobj
;
13332 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13335 PyObject
* obj0
= 0 ;
13336 char *kwnames
[] = {
13337 (char *) "self",(char *) "index", NULL
13340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextGroup",kwnames
,&obj0
,&arg2
)) goto fail
;
13341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 resultobj
= result
;
13356 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 char *kwnames
[] = {
13362 (char *) "self", NULL
13365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
13366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= result
;
13381 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "index", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_GetNextEntry",kwnames
,&obj0
,&arg2
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= result
;
13407 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13410 bool arg2
= (bool) False
;
13412 PyObject
* obj0
= 0 ;
13413 PyObject
* obj1
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "bRecursive", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13421 arg2
= PyInt_AsLong(obj1
) ? true : false;
13422 if (PyErr_Occurred()) SWIG_fail
;
13425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13426 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= PyInt_FromLong((long)result
);
13438 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13439 PyObject
*resultobj
;
13440 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13441 bool arg2
= (bool) False
;
13443 PyObject
* obj0
= 0 ;
13444 PyObject
* obj1
= 0 ;
13445 char *kwnames
[] = {
13446 (char *) "self",(char *) "bRecursive", NULL
13449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
13450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13452 arg2
= PyInt_AsLong(obj1
) ? true : false;
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13457 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= PyInt_FromLong((long)result
);
13469 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13470 PyObject
*resultobj
;
13471 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13472 wxString
*arg2
= 0 ;
13474 bool temp2
= False
;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 char *kwnames
[] = {
13478 (char *) "self",(char *) "strName", NULL
13481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
13482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13484 arg2
= wxString_in_helper(obj1
);
13485 if (arg2
== NULL
) SWIG_fail
;
13489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13490 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
13492 wxPyEndAllowThreads(__tstate
);
13493 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= PyInt_FromLong((long)result
);
13510 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13511 PyObject
*resultobj
;
13512 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13513 wxString
*arg2
= 0 ;
13515 bool temp2
= False
;
13516 PyObject
* obj0
= 0 ;
13517 PyObject
* obj1
= 0 ;
13518 char *kwnames
[] = {
13519 (char *) "self",(char *) "strName", NULL
13522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
13523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13525 arg2
= wxString_in_helper(obj1
);
13526 if (arg2
== NULL
) SWIG_fail
;
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
13533 wxPyEndAllowThreads(__tstate
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13536 resultobj
= PyInt_FromLong((long)result
);
13551 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13554 wxString
*arg2
= 0 ;
13556 bool temp2
= False
;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self",(char *) "strName", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13566 arg2
= wxString_in_helper(obj1
);
13567 if (arg2
== NULL
) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= PyInt_FromLong((long)result
);
13592 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13595 wxString
*arg2
= 0 ;
13597 bool temp2
= False
;
13598 PyObject
* obj0
= 0 ;
13599 PyObject
* obj1
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self",(char *) "name", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13607 arg2
= wxString_in_helper(obj1
);
13608 if (arg2
== NULL
) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
13615 wxPyEndAllowThreads(__tstate
);
13616 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= PyInt_FromLong((long)result
);
13633 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13636 wxString
*arg2
= 0 ;
13637 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13638 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13640 bool temp2
= False
;
13641 bool temp3
= False
;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 PyObject
* obj2
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13652 arg2
= wxString_in_helper(obj1
);
13653 if (arg2
== NULL
) SWIG_fail
;
13658 arg3
= wxString_in_helper(obj2
);
13659 if (arg3
== NULL
) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13699 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13700 PyObject
*resultobj
;
13701 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13702 wxString
*arg2
= 0 ;
13703 long arg3
= (long) 0 ;
13705 bool temp2
= False
;
13706 PyObject
* obj0
= 0 ;
13707 PyObject
* obj1
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|l:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13715 arg2
= wxString_in_helper(obj1
);
13716 if (arg2
== NULL
) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= PyInt_FromLong((long)result
);
13741 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13742 PyObject
*resultobj
;
13743 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13744 wxString
*arg2
= 0 ;
13745 double arg3
= (double) 0.0 ;
13747 bool temp2
= False
;
13748 PyObject
* obj0
= 0 ;
13749 PyObject
* obj1
= 0 ;
13750 char *kwnames
[] = {
13751 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|d:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13757 arg2
= wxString_in_helper(obj1
);
13758 if (arg2
== NULL
) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= PyFloat_FromDouble(result
);
13783 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13786 wxString
*arg2
= 0 ;
13787 bool arg3
= (bool) False
;
13789 bool temp2
= False
;
13790 PyObject
* obj0
= 0 ;
13791 PyObject
* obj1
= 0 ;
13792 PyObject
* obj2
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13800 arg2
= wxString_in_helper(obj1
);
13801 if (arg2
== NULL
) SWIG_fail
;
13805 arg3
= PyInt_AsLong(obj2
) ? true : false;
13806 if (PyErr_Occurred()) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= PyInt_FromLong((long)result
);
13830 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13833 wxString
*arg2
= 0 ;
13834 wxString
*arg3
= 0 ;
13836 bool temp2
= False
;
13837 bool temp3
= False
;
13838 PyObject
* obj0
= 0 ;
13839 PyObject
* obj1
= 0 ;
13840 PyObject
* obj2
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self",(char *) "key",(char *) "value", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13848 arg2
= wxString_in_helper(obj1
);
13849 if (arg2
== NULL
) SWIG_fail
;
13853 arg3
= wxString_in_helper(obj2
);
13854 if (arg3
== NULL
) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= PyInt_FromLong((long)result
);
13887 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13890 wxString
*arg2
= 0 ;
13893 bool temp2
= False
;
13894 PyObject
* obj0
= 0 ;
13895 PyObject
* obj1
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self",(char *) "key",(char *) "value", NULL
13900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13903 arg2
= wxString_in_helper(obj1
);
13904 if (arg2
== NULL
) SWIG_fail
;
13908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13909 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13911 wxPyEndAllowThreads(__tstate
);
13912 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= PyInt_FromLong((long)result
);
13929 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13932 wxString
*arg2
= 0 ;
13935 bool temp2
= False
;
13936 PyObject
* obj0
= 0 ;
13937 PyObject
* obj1
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self",(char *) "key",(char *) "value", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOd:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13945 arg2
= wxString_in_helper(obj1
);
13946 if (arg2
== NULL
) SWIG_fail
;
13950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13951 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13953 wxPyEndAllowThreads(__tstate
);
13954 if (PyErr_Occurred()) SWIG_fail
;
13956 resultobj
= PyInt_FromLong((long)result
);
13971 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13972 PyObject
*resultobj
;
13973 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
13974 wxString
*arg2
= 0 ;
13977 bool temp2
= False
;
13978 PyObject
* obj0
= 0 ;
13979 PyObject
* obj1
= 0 ;
13980 PyObject
* obj2
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "key",(char *) "value", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13988 arg2
= wxString_in_helper(obj1
);
13989 if (arg2
== NULL
) SWIG_fail
;
13992 arg3
= PyInt_AsLong(obj2
) ? true : false;
13993 if (PyErr_Occurred()) SWIG_fail
;
13995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13996 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
13998 wxPyEndAllowThreads(__tstate
);
13999 if (PyErr_Occurred()) SWIG_fail
;
14001 resultobj
= PyInt_FromLong((long)result
);
14016 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14019 bool arg2
= (bool) False
;
14021 PyObject
* obj0
= 0 ;
14022 PyObject
* obj1
= 0 ;
14023 char *kwnames
[] = {
14024 (char *) "self",(char *) "bCurrentOnly", NULL
14027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
14028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14030 arg2
= PyInt_AsLong(obj1
) ? true : false;
14031 if (PyErr_Occurred()) SWIG_fail
;
14034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14035 result
= (bool)(arg1
)->Flush(arg2
);
14037 wxPyEndAllowThreads(__tstate
);
14038 if (PyErr_Occurred()) SWIG_fail
;
14040 resultobj
= PyInt_FromLong((long)result
);
14047 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14048 PyObject
*resultobj
;
14049 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14050 wxString
*arg2
= 0 ;
14051 wxString
*arg3
= 0 ;
14053 bool temp2
= False
;
14054 bool temp3
= False
;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 PyObject
* obj2
= 0 ;
14058 char *kwnames
[] = {
14059 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 arg2
= wxString_in_helper(obj1
);
14066 if (arg2
== NULL
) SWIG_fail
;
14070 arg3
= wxString_in_helper(obj2
);
14071 if (arg3
== NULL
) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14081 resultobj
= PyInt_FromLong((long)result
);
14104 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14105 PyObject
*resultobj
;
14106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14107 wxString
*arg2
= 0 ;
14108 wxString
*arg3
= 0 ;
14110 bool temp2
= False
;
14111 bool temp3
= False
;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 PyObject
* obj2
= 0 ;
14115 char *kwnames
[] = {
14116 (char *) "self",(char *) "oldName",(char *) "newName", NULL
14119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14122 arg2
= wxString_in_helper(obj1
);
14123 if (arg2
== NULL
) SWIG_fail
;
14127 arg3
= wxString_in_helper(obj2
);
14128 if (arg3
== NULL
) SWIG_fail
;
14132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14133 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14135 wxPyEndAllowThreads(__tstate
);
14136 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= PyInt_FromLong((long)result
);
14161 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14164 wxString
*arg2
= 0 ;
14165 bool arg3
= (bool) True
;
14167 bool temp2
= False
;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 PyObject
* obj2
= 0 ;
14171 char *kwnames
[] = {
14172 (char *) "self",(char *) "key",(char *) "bDeleteGroupIfEmpty", NULL
14175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14178 arg2
= wxString_in_helper(obj1
);
14179 if (arg2
== NULL
) SWIG_fail
;
14183 arg3
= PyInt_AsLong(obj2
) ? true : false;
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= PyInt_FromLong((long)result
);
14208 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14211 wxString
*arg2
= 0 ;
14213 bool temp2
= False
;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "key", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14223 arg2
= wxString_in_helper(obj1
);
14224 if (arg2
== NULL
) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 resultobj
= PyInt_FromLong((long)result
);
14249 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14250 PyObject
*resultobj
;
14251 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14253 PyObject
* obj0
= 0 ;
14254 char *kwnames
[] = {
14255 (char *) "self", NULL
14258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
14259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (bool)(arg1
)->DeleteAll();
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 resultobj
= PyInt_FromLong((long)result
);
14274 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14275 PyObject
*resultobj
;
14276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "self", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
14284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14287 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
14289 wxPyEndAllowThreads(__tstate
);
14290 if (PyErr_Occurred()) SWIG_fail
;
14292 resultobj
= PyInt_FromLong((long)result
);
14299 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14302 bool arg2
= (bool) True
;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 char *kwnames
[] = {
14306 (char *) "self",(char *) "bDoIt", NULL
14309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14312 arg2
= PyInt_AsLong(obj1
) ? true : false;
14313 if (PyErr_Occurred()) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->SetExpandEnvVars(arg2
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14332 bool arg2
= (bool) True
;
14333 PyObject
* obj0
= 0 ;
14334 PyObject
* obj1
= 0 ;
14335 char *kwnames
[] = {
14336 (char *) "self",(char *) "bDoIt", NULL
14339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
14340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14342 arg2
= PyInt_AsLong(obj1
) ? true : false;
14343 if (PyErr_Occurred()) SWIG_fail
;
14346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14347 (arg1
)->SetRecordDefaults(arg2
);
14349 wxPyEndAllowThreads(__tstate
);
14350 if (PyErr_Occurred()) SWIG_fail
;
14352 Py_INCREF(Py_None
); resultobj
= Py_None
;
14359 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 char *kwnames
[] = {
14365 (char *) "self", NULL
14368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
14369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14372 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
14374 wxPyEndAllowThreads(__tstate
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14377 resultobj
= PyInt_FromLong((long)result
);
14384 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14385 PyObject
*resultobj
;
14386 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14387 wxString
*arg2
= 0 ;
14389 bool temp2
= False
;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self",(char *) "str", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14399 arg2
= wxString_in_helper(obj1
);
14400 if (arg2
== NULL
) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14431 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14444 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
14446 wxPyEndAllowThreads(__tstate
);
14447 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14453 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14462 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 char *kwnames
[] = {
14468 (char *) "self", NULL
14471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
14472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14493 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14496 wxString
*arg2
= 0 ;
14497 bool temp2
= False
;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "appName", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14507 arg2
= wxString_in_helper(obj1
);
14508 if (arg2
== NULL
) SWIG_fail
;
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 (arg1
)->SetAppName((wxString
const &)*arg2
);
14515 wxPyEndAllowThreads(__tstate
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14536 wxString
*arg2
= 0 ;
14537 bool temp2
= False
;
14538 PyObject
* obj0
= 0 ;
14539 PyObject
* obj1
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "vendorName", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14547 arg2
= wxString_in_helper(obj1
);
14548 if (arg2
== NULL
) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 (arg1
)->SetVendorName((wxString
const &)*arg2
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "style", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ConfigBase_SetStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 (arg1
)->SetStyle(arg2
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14611 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
14613 wxPyEndAllowThreads(__tstate
);
14614 if (PyErr_Occurred()) SWIG_fail
;
14616 resultobj
= PyInt_FromLong((long)result
);
14623 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
14625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14626 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
14628 return Py_BuildValue((char *)"");
14630 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14633 wxString
*arg2
= 0 ;
14634 wxConfigPathChanger
*result
;
14635 bool temp2
= False
;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "pContainer",(char *) "strEntry", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14645 arg2
= wxString_in_helper(obj1
);
14646 if (arg2
== NULL
) SWIG_fail
;
14650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14651 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfigPathChanger
, 1);
14671 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14674 PyObject
* obj0
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfigPathChanger
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
14710 result
= (wxString
*) &_result_ref
;
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14716 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
14723 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
14725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14726 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
14728 return Py_BuildValue((char *)"");
14730 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14733 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14734 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14735 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14736 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14737 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14738 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14739 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14740 long arg5
= (long) 0 ;
14742 bool temp1
= False
;
14743 bool temp2
= False
;
14744 bool temp3
= False
;
14745 bool temp4
= False
;
14746 PyObject
* obj0
= 0 ;
14747 PyObject
* obj1
= 0 ;
14748 PyObject
* obj2
= 0 ;
14749 PyObject
* obj3
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14757 arg1
= wxString_in_helper(obj0
);
14758 if (arg1
== NULL
) SWIG_fail
;
14764 arg2
= wxString_in_helper(obj1
);
14765 if (arg2
== NULL
) SWIG_fail
;
14771 arg3
= wxString_in_helper(obj2
);
14772 if (arg3
== NULL
) SWIG_fail
;
14778 arg4
= wxString_in_helper(obj3
);
14779 if (arg4
== NULL
) SWIG_fail
;
14784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14785 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxConfig
, 1);
14829 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxConfig
*arg1
= (wxConfig
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 Py_INCREF(Py_None
); resultobj
= Py_None
;
14853 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
14855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14856 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
14858 return Py_BuildValue((char *)"");
14860 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxString
const &arg1_defvalue
= wxPyEmptyString
;
14863 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
14864 wxString
const &arg2_defvalue
= wxPyEmptyString
;
14865 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14866 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14867 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14868 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14869 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14870 long arg5
= (long) 0 ;
14871 wxFileConfig
*result
;
14872 bool temp1
= False
;
14873 bool temp2
= False
;
14874 bool temp3
= False
;
14875 bool temp4
= False
;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 PyObject
* obj2
= 0 ;
14879 PyObject
* obj3
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOl:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
)) goto fail
;
14887 arg1
= wxString_in_helper(obj0
);
14888 if (arg1
== NULL
) SWIG_fail
;
14894 arg2
= wxString_in_helper(obj1
);
14895 if (arg2
== NULL
) SWIG_fail
;
14901 arg3
= wxString_in_helper(obj2
);
14902 if (arg3
== NULL
) SWIG_fail
;
14908 arg4
= wxString_in_helper(obj3
);
14909 if (arg4
== NULL
) SWIG_fail
;
14914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14915 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
14917 wxPyEndAllowThreads(__tstate
);
14918 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileConfig
, 1);
14959 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14960 PyObject
*resultobj
;
14961 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "self", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
14968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileConfig
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
14985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14986 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
14988 return Py_BuildValue((char *)"");
14990 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxString
*arg1
= 0 ;
14994 bool temp1
= False
;
14995 PyObject
* obj0
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "sz", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
15002 arg1
= wxString_in_helper(obj0
);
15003 if (arg1
== NULL
) SWIG_fail
;
15007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15008 result
= wxExpandEnvVars((wxString
const &)*arg1
);
15010 wxPyEndAllowThreads(__tstate
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15034 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15035 PyObject
*resultobj
;
15037 char *kwnames
[] = {
15038 (char *) "country", NULL
15041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_SetCountry",kwnames
,&arg1
)) goto fail
;
15043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15044 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 Py_INCREF(Py_None
); resultobj
= Py_None
;
15056 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15059 char *kwnames
[] = {
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (int)wxDateTime::GetCountry();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= PyInt_FromLong((long)result
);
15078 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15079 PyObject
*resultobj
;
15080 int arg1
= (int) wxDateTime::Country_Default
;
15082 char *kwnames
[] = {
15083 (char *) "country", NULL
15086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_IsWestEuropeanCountry",kwnames
,&arg1
)) goto fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15094 resultobj
= PyInt_FromLong((long)result
);
15101 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15102 PyObject
*resultobj
;
15103 int arg1
= (int) wxDateTime::Gregorian
;
15105 char *kwnames
[] = {
15106 (char *) "cal", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentYear",kwnames
,&arg1
)) goto fail
;
15111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15112 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 resultobj
= PyInt_FromLong((long)result
);
15124 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15128 char *kwnames
[] = {
15129 (char *) "year", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateTime_ConvertYearToBC",kwnames
,&arg1
)) goto fail
;
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= PyInt_FromLong((long)result
);
15147 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 int arg1
= (int) wxDateTime::Gregorian
;
15151 char *kwnames
[] = {
15152 (char *) "cal", NULL
15155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCurrentMonth",kwnames
,&arg1
)) goto fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= PyInt_FromLong((long)result
);
15170 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 int arg1
= (int) wxDateTime::Inv_Year
;
15173 int arg2
= (int) wxDateTime::Gregorian
;
15175 char *kwnames
[] = {
15176 (char *) "year",(char *) "cal", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsLeapYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= PyInt_FromLong((long)result
);
15194 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 int arg1
= (int) wxDateTime::Inv_Year
;
15198 char *kwnames
[] = {
15199 (char *) "year", NULL
15202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:DateTime_GetCentury",kwnames
,&arg1
)) goto fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (int)wxDateTime::GetCentury(arg1
);
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= PyInt_FromLong((long)result
);
15217 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15220 int arg2
= (int) wxDateTime::Gregorian
;
15222 char *kwnames
[] = {
15223 (char *) "year",(char *) "cal", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetNumberOfDaysinYear",kwnames
,&arg1
,&arg2
)) goto fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= PyInt_FromLong((long)result
);
15241 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15244 int arg2
= (int) wxDateTime::Inv_Year
;
15245 int arg3
= (int) wxDateTime::Gregorian
;
15247 char *kwnames
[] = {
15248 (char *) "month",(char *) "year",(char *) "cal", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|ii:DateTime_GetNumberOfDaysInMonth",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
15253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15254 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
15256 wxPyEndAllowThreads(__tstate
);
15257 if (PyErr_Occurred()) SWIG_fail
;
15259 resultobj
= PyInt_FromLong((long)result
);
15266 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15267 PyObject
*resultobj
;
15269 int arg2
= (int) wxDateTime::Name_Full
;
15271 char *kwnames
[] = {
15272 (char *) "month",(char *) "flags", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetMonthName",kwnames
,&arg1
,&arg2
)) goto fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15287 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15296 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
;
15299 int arg2
= (int) wxDateTime::Name_Full
;
15301 char *kwnames
[] = {
15302 (char *) "weekday",(char *) "flags", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|i:DateTime_GetWeekDayName",kwnames
,&arg1
,&arg2
)) goto fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15326 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxString
*arg1
= (wxString
*) 0 ;
15329 wxString
*arg2
= (wxString
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 char *kwnames
[] = {
15333 (char *) "OUTPUT",(char *) "OUTPUT", NULL
15336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
15337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxString
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15341 wxDateTime::GetAmPmStrings(arg1
,arg2
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 Py_INCREF(Py_None
); resultobj
= Py_None
;
15353 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
;
15355 int arg1
= (int) wxDateTime::Inv_Year
;
15356 int arg2
= (int) wxDateTime::Country_Default
;
15358 char *kwnames
[] = {
15359 (char *) "year",(char *) "country", NULL
15362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_IsDSTApplicable",kwnames
,&arg1
,&arg2
)) goto fail
;
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
15367 wxPyEndAllowThreads(__tstate
);
15368 if (PyErr_Occurred()) SWIG_fail
;
15370 resultobj
= PyInt_FromLong((long)result
);
15377 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 int arg1
= (int) wxDateTime::Inv_Year
;
15380 int arg2
= (int) wxDateTime::Country_Default
;
15382 char *kwnames
[] = {
15383 (char *) "year",(char *) "country", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetBeginDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15389 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
15391 wxPyEndAllowThreads(__tstate
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15395 wxDateTime
* resultptr
;
15396 resultptr
= new wxDateTime((wxDateTime
&) result
);
15397 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15405 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 int arg1
= (int) wxDateTime::Inv_Year
;
15408 int arg2
= (int) wxDateTime::Country_Default
;
15410 char *kwnames
[] = {
15411 (char *) "year",(char *) "country", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:DateTime_GetEndDST",kwnames
,&arg1
,&arg2
)) goto fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15423 wxDateTime
* resultptr
;
15424 resultptr
= new wxDateTime((wxDateTime
&) result
);
15425 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15433 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15436 char *kwnames
[] = {
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
15442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15443 result
= wxDateTime::Now();
15445 wxPyEndAllowThreads(__tstate
);
15446 if (PyErr_Occurred()) SWIG_fail
;
15449 wxDateTime
* resultptr
;
15450 resultptr
= new wxDateTime((wxDateTime
&) result
);
15451 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15459 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15462 char *kwnames
[] = {
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
15468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15469 result
= wxDateTime::UNow();
15471 wxPyEndAllowThreads(__tstate
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15475 wxDateTime
* resultptr
;
15476 resultptr
= new wxDateTime((wxDateTime
&) result
);
15477 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15485 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15488 char *kwnames
[] = {
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
15494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15495 result
= wxDateTime::Today();
15497 wxPyEndAllowThreads(__tstate
);
15498 if (PyErr_Occurred()) SWIG_fail
;
15501 wxDateTime
* resultptr
;
15502 resultptr
= new wxDateTime((wxDateTime
&) result
);
15503 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
15511 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
;
15513 wxDateTime
*result
;
15514 char *kwnames
[] = {
15518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15521 result
= (wxDateTime
*)new wxDateTime();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15533 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
;
15536 wxDateTime
*result
;
15537 PyObject
* obj0
= 0 ;
15538 char *kwnames
[] = {
15539 (char *) "timet", NULL
15542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
15543 arg1
= (time_t) PyInt_AsLong(obj0
);
15544 if (PyErr_Occurred()) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (wxDateTime
*)new wxDateTime(arg1
);
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15559 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15562 wxDateTime
*result
;
15563 char *kwnames
[] = {
15564 (char *) "jdn", NULL
15567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"d:new_DateTimeFromJDN",kwnames
,&arg1
)) goto fail
;
15569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15570 result
= (wxDateTime
*)new wxDateTime(arg1
);
15572 wxPyEndAllowThreads(__tstate
);
15573 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15582 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15583 PyObject
*resultobj
;
15585 int arg2
= (int) 0 ;
15586 int arg3
= (int) 0 ;
15587 int arg4
= (int) 0 ;
15588 wxDateTime
*result
;
15589 char *kwnames
[] = {
15590 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iii:new_DateTimeFromHMS",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
15595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15596 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
15598 wxPyEndAllowThreads(__tstate
);
15599 if (PyErr_Occurred()) SWIG_fail
;
15601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15608 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15611 int arg2
= (int) wxDateTime::Inv_Month
;
15612 int arg3
= (int) wxDateTime::Inv_Year
;
15613 int arg4
= (int) 0 ;
15614 int arg5
= (int) 0 ;
15615 int arg6
= (int) 0 ;
15616 int arg7
= (int) 0 ;
15617 wxDateTime
*result
;
15618 char *kwnames
[] = {
15619 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i|iiiiii:new_DateTimeFromDMY",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 1);
15637 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15640 PyObject
* obj0
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 wxPyEndAllowThreads(__tstate
);
15652 if (PyErr_Occurred()) SWIG_fail
;
15654 Py_INCREF(Py_None
); resultobj
= Py_None
;
15661 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15662 PyObject
*resultobj
;
15663 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15664 wxDateTime
*result
;
15665 PyObject
* obj0
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
15676 result
= (wxDateTime
*) &_result_ref
;
15679 wxPyEndAllowThreads(__tstate
);
15680 if (PyErr_Occurred()) SWIG_fail
;
15682 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15689 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15693 wxDateTime
*result
;
15694 PyObject
* obj0
= 0 ;
15695 PyObject
* obj1
= 0 ;
15696 char *kwnames
[] = {
15697 (char *) "self",(char *) "timet", NULL
15700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
15701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15702 arg2
= (time_t) PyInt_AsLong(obj1
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15707 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15708 result
= (wxDateTime
*) &_result_ref
;
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15721 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15725 wxDateTime
*result
;
15726 PyObject
* obj0
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "jdn", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:DateTime_SetJDN",kwnames
,&obj0
,&arg2
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15736 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
15737 result
= (wxDateTime
*) &_result_ref
;
15740 wxPyEndAllowThreads(__tstate
);
15741 if (PyErr_Occurred()) SWIG_fail
;
15743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15750 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15754 int arg3
= (int) 0 ;
15755 int arg4
= (int) 0 ;
15756 int arg5
= (int) 0 ;
15757 wxDateTime
*result
;
15758 PyObject
* obj0
= 0 ;
15759 char *kwnames
[] = {
15760 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetHMS",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
15764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
15769 result
= (wxDateTime
*) &_result_ref
;
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15782 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15786 int arg3
= (int) wxDateTime::Inv_Month
;
15787 int arg4
= (int) wxDateTime::Inv_Year
;
15788 int arg5
= (int) 0 ;
15789 int arg6
= (int) 0 ;
15790 int arg7
= (int) 0 ;
15791 int arg8
= (int) 0 ;
15792 wxDateTime
*result
;
15793 PyObject
* obj0
= 0 ;
15794 char *kwnames
[] = {
15795 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
15798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iiiiii:DateTime_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
,&arg8
)) goto fail
;
15799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
15804 result
= (wxDateTime
*) &_result_ref
;
15807 wxPyEndAllowThreads(__tstate
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15817 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15818 PyObject
*resultobj
;
15819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15820 wxDateTime
*result
;
15821 PyObject
* obj0
= 0 ;
15822 char *kwnames
[] = {
15823 (char *) "self", NULL
15826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
15827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15831 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
15832 result
= (wxDateTime
*) &_result_ref
;
15835 wxPyEndAllowThreads(__tstate
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15845 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15849 wxDateTime
*result
;
15850 PyObject
* obj0
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "self",(char *) "year", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetYear",kwnames
,&obj0
,&arg2
)) goto fail
;
15856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15860 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
15861 result
= (wxDateTime
*) &_result_ref
;
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15874 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15878 wxDateTime
*result
;
15879 PyObject
* obj0
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "month", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMonth",kwnames
,&obj0
,&arg2
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15889 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
15890 result
= (wxDateTime
*) &_result_ref
;
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15903 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15904 PyObject
*resultobj
;
15905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15907 wxDateTime
*result
;
15908 PyObject
* obj0
= 0 ;
15909 char *kwnames
[] = {
15910 (char *) "self",(char *) "day", NULL
15913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetDay",kwnames
,&obj0
,&arg2
)) goto fail
;
15914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
15919 result
= (wxDateTime
*) &_result_ref
;
15922 wxPyEndAllowThreads(__tstate
);
15923 if (PyErr_Occurred()) SWIG_fail
;
15925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15932 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15936 wxDateTime
*result
;
15937 PyObject
* obj0
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self",(char *) "hour", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetHour",kwnames
,&obj0
,&arg2
)) goto fail
;
15943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15947 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
15948 result
= (wxDateTime
*) &_result_ref
;
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15961 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15963 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15965 wxDateTime
*result
;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self",(char *) "minute", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMinute",kwnames
,&obj0
,&arg2
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15976 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
15977 result
= (wxDateTime
*) &_result_ref
;
15980 wxPyEndAllowThreads(__tstate
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
15990 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15991 PyObject
*resultobj
;
15992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
15994 wxDateTime
*result
;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self",(char *) "second", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetSecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
16006 result
= (wxDateTime
*) &_result_ref
;
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16012 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16019 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16023 wxDateTime
*result
;
16024 PyObject
* obj0
= 0 ;
16025 char *kwnames
[] = {
16026 (char *) "self",(char *) "millisecond", NULL
16029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetMillisecond",kwnames
,&obj0
,&arg2
)) goto fail
;
16030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
16035 result
= (wxDateTime
*) &_result_ref
;
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16048 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16052 int arg3
= (int) wxDateTime::Monday_First
;
16053 wxDateTime
*result
;
16054 PyObject
* obj0
= 0 ;
16055 char *kwnames
[] = {
16056 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16064 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16065 result
= (wxDateTime
*) &_result_ref
;
16068 wxPyEndAllowThreads(__tstate
);
16069 if (PyErr_Occurred()) SWIG_fail
;
16071 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16078 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16082 int arg3
= (int) wxDateTime::Monday_First
;
16084 PyObject
* obj0
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "self",(char *) "weekday",(char *) "flags", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16093 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
16095 wxPyEndAllowThreads(__tstate
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 wxDateTime
* resultptr
;
16100 resultptr
= new wxDateTime((wxDateTime
&) result
);
16101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16109 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16110 PyObject
*resultobj
;
16111 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16113 wxDateTime
*result
;
16114 PyObject
* obj0
= 0 ;
16115 char *kwnames
[] = {
16116 (char *) "self",(char *) "weekday", NULL
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
16125 result
= (wxDateTime
*) &_result_ref
;
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16138 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16139 PyObject
*resultobj
;
16140 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16143 PyObject
* obj0
= 0 ;
16144 char *kwnames
[] = {
16145 (char *) "self",(char *) "weekday", NULL
16148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetNextWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
16154 wxPyEndAllowThreads(__tstate
);
16155 if (PyErr_Occurred()) SWIG_fail
;
16158 wxDateTime
* resultptr
;
16159 resultptr
= new wxDateTime((wxDateTime
&) result
);
16160 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16168 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16172 wxDateTime
*result
;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self",(char *) "weekday", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16184 result
= (wxDateTime
*) &_result_ref
;
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16197 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16198 PyObject
*resultobj
;
16199 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self",(char *) "weekday", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16217 wxDateTime
* resultptr
;
16218 resultptr
= new wxDateTime((wxDateTime
&) result
);
16219 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16227 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16228 PyObject
*resultobj
;
16229 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16231 int arg3
= (int) 1 ;
16232 int arg4
= (int) wxDateTime::Inv_Month
;
16233 int arg5
= (int) wxDateTime::Inv_Year
;
16235 PyObject
* obj0
= 0 ;
16236 char *kwnames
[] = {
16237 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
16240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|iii:DateTime_SetToWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
16241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16244 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
16246 wxPyEndAllowThreads(__tstate
);
16247 if (PyErr_Occurred()) SWIG_fail
;
16249 resultobj
= PyInt_FromLong((long)result
);
16256 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16257 PyObject
*resultobj
;
16258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16260 int arg3
= (int) wxDateTime::Inv_Month
;
16261 int arg4
= (int) wxDateTime::Inv_Year
;
16263 PyObject
* obj0
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16272 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 resultobj
= PyInt_FromLong((long)result
);
16284 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16285 PyObject
*resultobj
;
16286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16288 int arg3
= (int) wxDateTime::Inv_Month
;
16289 int arg4
= (int) wxDateTime::Inv_Year
;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetLastWeekDay",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 wxDateTime
* resultptr
;
16307 resultptr
= new wxDateTime((wxDateTime
&) result
);
16308 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16316 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
;
16318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16320 int arg3
= (int) wxDateTime::Mon
;
16321 int arg4
= (int) wxDateTime::Monday_First
;
16323 PyObject
* obj0
= 0 ;
16324 char *kwnames
[] = {
16325 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_SetToTheWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= PyInt_FromLong((long)result
);
16344 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16348 int arg3
= (int) wxDateTime::Mon
;
16349 int arg4
= (int) wxDateTime::Monday_First
;
16351 PyObject
* obj0
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:DateTime_GetWeek",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
16357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16360 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 wxDateTime
* resultptr
;
16367 resultptr
= new wxDateTime((wxDateTime
&) result
);
16368 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16376 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16377 PyObject
*resultobj
;
16378 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16379 int arg2
= (int) wxDateTime::Inv_Month
;
16380 int arg3
= (int) wxDateTime::Inv_Year
;
16381 wxDateTime
*result
;
16382 PyObject
* obj0
= 0 ;
16383 char *kwnames
[] = {
16384 (char *) "self",(char *) "month",(char *) "year", NULL
16387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16392 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16393 result
= (wxDateTime
*) &_result_ref
;
16396 wxPyEndAllowThreads(__tstate
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16399 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16406 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16407 PyObject
*resultobj
;
16408 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16409 int arg2
= (int) wxDateTime::Inv_Month
;
16410 int arg3
= (int) wxDateTime::Inv_Year
;
16412 PyObject
* obj0
= 0 ;
16413 char *kwnames
[] = {
16414 (char *) "self",(char *) "month",(char *) "year", NULL
16417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:DateTime_GetLastMonthDay",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
16418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 wxDateTime
* resultptr
;
16428 resultptr
= new wxDateTime((wxDateTime
&) result
);
16429 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16437 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16441 wxDateTime
*result
;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self",(char *) "yday", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_SetToYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
16453 result
= (wxDateTime
*) &_result_ref
;
16456 wxPyEndAllowThreads(__tstate
);
16457 if (PyErr_Occurred()) SWIG_fail
;
16459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16466 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16467 PyObject
*resultobj
;
16468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16471 PyObject
* obj0
= 0 ;
16472 char *kwnames
[] = {
16473 (char *) "self",(char *) "yday", NULL
16476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateTime_GetYearDay",kwnames
,&obj0
,&arg2
)) goto fail
;
16477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 result
= (arg1
)->GetYearDay(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16486 wxDateTime
* resultptr
;
16487 resultptr
= new wxDateTime((wxDateTime
&) result
);
16488 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16496 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
;
16498 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16500 PyObject
* obj0
= 0 ;
16501 char *kwnames
[] = {
16502 (char *) "self", NULL
16505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 result
= (double)(arg1
)->GetJulianDayNumber();
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 resultobj
= PyFloat_FromDouble(result
);
16521 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 char *kwnames
[] = {
16527 (char *) "self", NULL
16530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
16531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (double)(arg1
)->GetJDN();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= PyFloat_FromDouble(result
);
16546 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 resultobj
= PyFloat_FromDouble(result
);
16571 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16572 PyObject
*resultobj
;
16573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16575 PyObject
* obj0
= 0 ;
16576 char *kwnames
[] = {
16577 (char *) "self", NULL
16580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
16581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16584 result
= (double)(arg1
)->GetMJD();
16586 wxPyEndAllowThreads(__tstate
);
16587 if (PyErr_Occurred()) SWIG_fail
;
16589 resultobj
= PyFloat_FromDouble(result
);
16596 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (double)(arg1
)->GetRataDie();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= PyFloat_FromDouble(result
);
16621 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16624 wxDateTime::TimeZone
*arg2
= 0 ;
16625 bool arg3
= (bool) False
;
16627 bool temp2
= False
;
16628 PyObject
* obj0
= 0 ;
16629 PyObject
* obj1
= 0 ;
16630 PyObject
* obj2
= 0 ;
16631 char *kwnames
[] = {
16632 (char *) "self",(char *) "tz",(char *) "noDST", NULL
16635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16638 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16642 arg3
= PyInt_AsLong(obj2
) ? true : false;
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16653 wxDateTime
* resultptr
;
16654 resultptr
= new wxDateTime((wxDateTime
&) result
);
16655 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16658 if (temp2
) delete arg2
;
16663 if (temp2
) delete arg2
;
16669 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16672 wxDateTime::TimeZone
*arg2
= 0 ;
16673 bool arg3
= (bool) False
;
16674 wxDateTime
*result
;
16675 bool temp2
= 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_MakeTimezone",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
));
16690 arg3
= PyInt_AsLong(obj2
) ? true : false;
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16696 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
16697 result
= (wxDateTime
*) &_result_ref
;
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16705 if (temp2
) delete arg2
;
16710 if (temp2
) delete arg2
;
16716 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16719 bool arg2
= (bool) False
;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "noDST", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16730 arg2
= PyInt_AsLong(obj1
) ? true : false;
16731 if (PyErr_Occurred()) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 result
= (arg1
)->ToGMT(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16741 wxDateTime
* resultptr
;
16742 resultptr
= new wxDateTime((wxDateTime
&) result
);
16743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
16751 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16754 bool arg2
= (bool) False
;
16755 wxDateTime
*result
;
16756 PyObject
* obj0
= 0 ;
16757 PyObject
* obj1
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self",(char *) "noDST", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16765 arg2
= PyInt_AsLong(obj1
) ? true : false;
16766 if (PyErr_Occurred()) SWIG_fail
;
16769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
16772 result
= (wxDateTime
*) &_result_ref
;
16775 wxPyEndAllowThreads(__tstate
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
16785 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16786 PyObject
*resultobj
;
16787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16788 int arg2
= (int) wxDateTime::Country_Default
;
16790 PyObject
* obj0
= 0 ;
16791 char *kwnames
[] = {
16792 (char *) "self",(char *) "country", NULL
16795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsDST",kwnames
,&obj0
,&arg2
)) goto fail
;
16796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16799 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
16801 wxPyEndAllowThreads(__tstate
);
16802 if (PyErr_Occurred()) SWIG_fail
;
16804 resultobj
= PyInt_FromLong((long)result
);
16811 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16812 PyObject
*resultobj
;
16813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16815 PyObject
* obj0
= 0 ;
16816 char *kwnames
[] = {
16817 (char *) "self", NULL
16820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
16821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16829 resultobj
= PyInt_FromLong((long)result
);
16836 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= PyInt_FromLong((long)result
);
16861 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16864 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16865 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16867 bool temp2
= False
;
16868 PyObject
* obj0
= 0 ;
16869 PyObject
* obj1
= 0 ;
16870 char *kwnames
[] = {
16871 (char *) "self",(char *) "tz", NULL
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16878 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
16886 wxPyEndAllowThreads(__tstate
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= PyInt_FromLong((long)result
);
16891 if (temp2
) delete arg2
;
16896 if (temp2
) delete arg2
;
16902 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16905 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16906 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16908 bool temp2
= False
;
16909 PyObject
* obj0
= 0 ;
16910 PyObject
* obj1
= 0 ;
16911 char *kwnames
[] = {
16912 (char *) "self",(char *) "tz", NULL
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
16916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16919 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= PyInt_FromLong((long)result
);
16932 if (temp2
) delete arg2
;
16937 if (temp2
) delete arg2
;
16943 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16944 PyObject
*resultobj
;
16945 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
16946 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
16947 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
16949 bool temp2
= False
;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "self",(char *) "tz", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16960 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= PyInt_FromLong((long)result
);
16973 if (temp2
) delete arg2
;
16978 if (temp2
) delete arg2
;
16984 static PyObject
*_wrap_DateTime_GetWeekDay(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 bool temp2
= False
;
16991 PyObject
* obj0
= 0 ;
16992 PyObject
* obj1
= 0 ;
16993 char *kwnames
[] = {
16994 (char *) "self",(char *) "tz", NULL
16997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
16998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17001 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17007 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
17009 wxPyEndAllowThreads(__tstate
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17012 resultobj
= PyInt_FromLong((long)result
);
17014 if (temp2
) delete arg2
;
17019 if (temp2
) delete arg2
;
17025 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17026 PyObject
*resultobj
;
17027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17028 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17029 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17031 bool temp2
= False
;
17032 PyObject
* obj0
= 0 ;
17033 PyObject
* obj1
= 0 ;
17034 char *kwnames
[] = {
17035 (char *) "self",(char *) "tz", NULL
17038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17042 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= PyInt_FromLong((long)result
);
17055 if (temp2
) delete arg2
;
17060 if (temp2
) delete arg2
;
17066 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17069 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17070 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17072 bool temp2
= False
;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char *kwnames
[] = {
17076 (char *) "self",(char *) "tz", NULL
17079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17083 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17089 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
17091 wxPyEndAllowThreads(__tstate
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17094 resultobj
= PyInt_FromLong((long)result
);
17096 if (temp2
) delete arg2
;
17101 if (temp2
) delete arg2
;
17107 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17110 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17111 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17113 bool temp2
= False
;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "tz", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17124 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= PyInt_FromLong((long)result
);
17137 if (temp2
) delete arg2
;
17142 if (temp2
) delete arg2
;
17148 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17149 PyObject
*resultobj
;
17150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17151 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17152 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17154 bool temp2
= False
;
17155 PyObject
* obj0
= 0 ;
17156 PyObject
* obj1
= 0 ;
17157 char *kwnames
[] = {
17158 (char *) "self",(char *) "tz", NULL
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17165 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17171 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17176 resultobj
= PyInt_FromLong((long)result
);
17178 if (temp2
) delete arg2
;
17183 if (temp2
) delete arg2
;
17189 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17192 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
17193 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
17195 bool temp2
= False
;
17196 PyObject
* obj0
= 0 ;
17197 PyObject
* obj1
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self",(char *) "tz", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17206 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 resultobj
= PyInt_FromLong((long)result
);
17219 if (temp2
) delete arg2
;
17224 if (temp2
) delete arg2
;
17230 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17233 int arg2
= (int) wxDateTime::Monday_First
;
17234 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17235 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17237 bool temp3
= False
;
17238 PyObject
* obj0
= 0 ;
17239 PyObject
* obj2
= 0 ;
17240 char *kwnames
[] = {
17241 (char *) "self",(char *) "flags",(char *) "tz", NULL
17244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17248 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17259 resultobj
= PyInt_FromLong((long)result
);
17261 if (temp3
) delete arg3
;
17266 if (temp3
) delete arg3
;
17272 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17275 int arg2
= (int) wxDateTime::Monday_First
;
17276 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
17277 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
17279 bool temp3
= False
;
17280 PyObject
* obj0
= 0 ;
17281 PyObject
* obj2
= 0 ;
17282 char *kwnames
[] = {
17283 (char *) "self",(char *) "flags",(char *) "tz", NULL
17286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
17287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17290 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= PyInt_FromLong((long)result
);
17303 if (temp3
) delete arg3
;
17308 if (temp3
) delete arg3
;
17314 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17317 int arg2
= (int) wxDateTime::Country_Default
;
17319 PyObject
* obj0
= 0 ;
17320 char *kwnames
[] = {
17321 (char *) "self",(char *) "country", NULL
17324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DateTime_IsWorkDay",kwnames
,&obj0
,&arg2
)) goto fail
;
17325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= PyInt_FromLong((long)result
);
17340 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17341 PyObject
*resultobj
;
17342 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17343 wxDateTime
*arg2
= 0 ;
17345 PyObject
* obj0
= 0 ;
17346 PyObject
* obj1
= 0 ;
17347 char *kwnames
[] = {
17348 (char *) "self",(char *) "datetime", NULL
17351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
17352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17354 if (arg2
== NULL
) {
17355 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= PyInt_FromLong((long)result
);
17371 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17374 wxDateTime
*arg2
= 0 ;
17376 PyObject
* obj0
= 0 ;
17377 PyObject
* obj1
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self",(char *) "datetime", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17384 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17385 if (arg2
== NULL
) {
17386 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17390 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
17392 wxPyEndAllowThreads(__tstate
);
17393 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= PyInt_FromLong((long)result
);
17402 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17405 wxDateTime
*arg2
= 0 ;
17407 PyObject
* obj0
= 0 ;
17408 PyObject
* obj1
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self",(char *) "datetime", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
17414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17416 if (arg2
== NULL
) {
17417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= PyInt_FromLong((long)result
);
17433 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17434 PyObject
*resultobj
;
17435 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17436 wxDateTime
*arg2
= 0 ;
17437 wxDateTime
*arg3
= 0 ;
17439 PyObject
* obj0
= 0 ;
17440 PyObject
* obj1
= 0 ;
17441 PyObject
* obj2
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self",(char *) "t1",(char *) "t2", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17448 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17449 if (arg2
== NULL
) {
17450 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17452 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17453 if (arg3
== NULL
) {
17454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 resultobj
= PyInt_FromLong((long)result
);
17470 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17473 wxDateTime
*arg2
= 0 ;
17474 wxDateTime
*arg3
= 0 ;
17476 PyObject
* obj0
= 0 ;
17477 PyObject
* obj1
= 0 ;
17478 PyObject
* obj2
= 0 ;
17479 char *kwnames
[] = {
17480 (char *) "self",(char *) "t1",(char *) "t2", NULL
17483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17485 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17486 if (arg2
== NULL
) {
17487 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17489 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 if (arg3
== NULL
) {
17491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 resultobj
= PyInt_FromLong((long)result
);
17507 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17510 wxDateTime
*arg2
= 0 ;
17512 PyObject
* obj0
= 0 ;
17513 PyObject
* obj1
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self",(char *) "dt", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17520 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17521 if (arg2
== NULL
) {
17522 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= PyInt_FromLong((long)result
);
17538 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17541 wxDateTime
*arg2
= 0 ;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "dt", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17552 if (arg2
== NULL
) {
17553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= PyInt_FromLong((long)result
);
17569 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17572 wxDateTime
*arg2
= 0 ;
17573 wxTimeSpan
*arg3
= 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 PyObject
* obj2
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self",(char *) "dt",(char *) "ts", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17584 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17585 if (arg2
== NULL
) {
17586 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17588 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17589 if (arg3
== NULL
) {
17590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 resultobj
= PyInt_FromLong((long)result
);
17606 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17609 wxTimeSpan
*arg2
= 0 ;
17610 wxDateTime
*result
;
17611 PyObject
* obj0
= 0 ;
17612 PyObject
* obj1
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "diff", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17620 if (arg2
== NULL
) {
17621 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
17627 result
= (wxDateTime
*) &_result_ref
;
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17640 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17643 wxDateSpan
*arg2
= 0 ;
17644 wxDateTime
*result
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "diff", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17653 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17654 if (arg2
== NULL
) {
17655 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
17661 result
= (wxDateTime
*) &_result_ref
;
17664 wxPyEndAllowThreads(__tstate
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17674 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17675 PyObject
*resultobj
;
17676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17677 wxTimeSpan
*arg2
= 0 ;
17678 wxDateTime
*result
;
17679 PyObject
* obj0
= 0 ;
17680 PyObject
* obj1
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "diff", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17687 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17688 if (arg2
== NULL
) {
17689 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
17695 result
= (wxDateTime
*) &_result_ref
;
17698 wxPyEndAllowThreads(__tstate
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17708 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17711 wxDateSpan
*arg2
= 0 ;
17712 wxDateTime
*result
;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "diff", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17722 if (arg2
== NULL
) {
17723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
17729 result
= (wxDateTime
*) &_result_ref
;
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17742 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17745 wxDateTime
*arg2
= 0 ;
17747 PyObject
* obj0
= 0 ;
17748 PyObject
* obj1
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self",(char *) "dt", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17756 if (arg2
== NULL
) {
17757 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17761 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
17763 wxPyEndAllowThreads(__tstate
);
17764 if (PyErr_Occurred()) SWIG_fail
;
17767 wxTimeSpan
* resultptr
;
17768 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
17769 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
17777 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
17778 PyObject
*resultobj
;
17779 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17780 wxTimeSpan
*arg2
= 0 ;
17781 wxDateTime
*result
;
17782 PyObject
* obj0
= 0 ;
17783 PyObject
* obj1
= 0 ;
17785 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17787 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17788 if (arg2
== NULL
) {
17789 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
17795 result
= (wxDateTime
*) &_result_ref
;
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17808 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
17809 PyObject
*resultobj
;
17810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17811 wxDateSpan
*arg2
= 0 ;
17812 wxDateTime
*result
;
17813 PyObject
* obj0
= 0 ;
17814 PyObject
* obj1
= 0 ;
17816 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
17817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17818 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17819 if (arg2
== NULL
) {
17820 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
17826 result
= (wxDateTime
*) &_result_ref
;
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17839 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
17844 argc
= PyObject_Length(args
);
17845 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17846 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17852 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17862 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
17870 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
17878 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17888 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
17896 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
17901 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
17906 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
17907 PyObject
*resultobj
;
17908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17909 wxTimeSpan
*arg2
= 0 ;
17910 wxDateTime
*result
;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17914 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17916 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17917 if (arg2
== NULL
) {
17918 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
17924 result
= (wxDateTime
*) &_result_ref
;
17927 wxPyEndAllowThreads(__tstate
);
17928 if (PyErr_Occurred()) SWIG_fail
;
17930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17937 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
17938 PyObject
*resultobj
;
17939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17940 wxDateSpan
*arg2
= 0 ;
17941 wxDateTime
*result
;
17942 PyObject
* obj0
= 0 ;
17943 PyObject
* obj1
= 0 ;
17945 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
17946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17948 if (arg2
== NULL
) {
17949 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
17955 result
= (wxDateTime
*) &_result_ref
;
17958 wxPyEndAllowThreads(__tstate
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateTime
, 0);
17968 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
17973 argc
= PyObject_Length(args
);
17974 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
17975 argv
[ii
] = PyTuple_GetItem(args
,ii
);
17981 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
17991 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
17999 return _wrap_DateTime___isub____SWIG_0(self
,args
);
18007 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18017 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18025 return _wrap_DateTime___isub____SWIG_1(self
,args
);
18030 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
18035 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
18036 PyObject
*resultobj
;
18037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18038 wxTimeSpan
*arg2
= 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18043 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18045 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18046 if (arg2
== NULL
) {
18047 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 wxDateTime
* resultptr
;
18058 resultptr
= new wxDateTime((wxDateTime
&) result
);
18059 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18067 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
18068 PyObject
*resultobj
;
18069 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18070 wxDateSpan
*arg2
= 0 ;
18072 PyObject
* obj0
= 0 ;
18073 PyObject
* obj1
= 0 ;
18075 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18078 if (arg2
== NULL
) {
18079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18089 wxDateTime
* resultptr
;
18090 resultptr
= new wxDateTime((wxDateTime
&) result
);
18091 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18099 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
18104 argc
= PyObject_Length(args
);
18105 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18106 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18112 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18122 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18130 return _wrap_DateTime___add____SWIG_0(self
,args
);
18138 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18148 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18156 return _wrap_DateTime___add____SWIG_1(self
,args
);
18161 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
18166 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
18167 PyObject
*resultobj
;
18168 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18169 wxDateTime
*arg2
= 0 ;
18171 PyObject
* obj0
= 0 ;
18172 PyObject
* obj1
= 0 ;
18174 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18177 if (arg2
== NULL
) {
18178 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18188 wxTimeSpan
* resultptr
;
18189 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18190 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18198 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
18199 PyObject
*resultobj
;
18200 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18201 wxTimeSpan
*arg2
= 0 ;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18206 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18209 if (arg2
== NULL
) {
18210 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 wxDateTime
* resultptr
;
18221 resultptr
= new wxDateTime((wxDateTime
&) result
);
18222 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18230 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
18231 PyObject
*resultobj
;
18232 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18233 wxDateSpan
*arg2
= 0 ;
18235 PyObject
* obj0
= 0 ;
18236 PyObject
* obj1
= 0 ;
18238 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
18239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18240 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18241 if (arg2
== NULL
) {
18242 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18252 wxDateTime
* resultptr
;
18253 resultptr
= new wxDateTime((wxDateTime
&) result
);
18254 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
18262 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
18267 argc
= PyObject_Length(args
);
18268 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
18269 argv
[ii
] = PyTuple_GetItem(args
,ii
);
18275 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18285 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18293 return _wrap_DateTime___sub____SWIG_0(self
,args
);
18301 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18311 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
18319 return _wrap_DateTime___sub____SWIG_1(self
,args
);
18327 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
18337 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
18345 return _wrap_DateTime___sub____SWIG_2(self
,args
);
18350 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
18355 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
18356 PyObject
*resultobj
;
18357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18358 wxDateTime
*arg2
= 0 ;
18360 PyObject
* obj0
= 0 ;
18361 PyObject
* obj1
= 0 ;
18363 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
18364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18365 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18366 if (arg2
== NULL
) {
18367 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const &)*arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18376 resultobj
= PyInt_FromLong((long)result
);
18383 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
18384 PyObject
*resultobj
;
18385 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18386 wxDateTime
*arg2
= 0 ;
18388 PyObject
* obj0
= 0 ;
18389 PyObject
* obj1
= 0 ;
18391 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
18392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18394 if (arg2
== NULL
) {
18395 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const &)*arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= PyInt_FromLong((long)result
);
18411 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
18412 PyObject
*resultobj
;
18413 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18414 wxDateTime
*arg2
= 0 ;
18416 PyObject
* obj0
= 0 ;
18417 PyObject
* obj1
= 0 ;
18419 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
18420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18421 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18422 if (arg2
== NULL
) {
18423 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const &)*arg2
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= PyInt_FromLong((long)result
);
18439 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
18440 PyObject
*resultobj
;
18441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18442 wxDateTime
*arg2
= 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18447 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18450 if (arg2
== NULL
) {
18451 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const &)*arg2
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= PyInt_FromLong((long)result
);
18467 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
18468 PyObject
*resultobj
;
18469 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18470 wxDateTime
*arg2
= 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18475 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
18476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18477 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18478 if (arg2
== NULL
) {
18479 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const &)*arg2
);
18485 wxPyEndAllowThreads(__tstate
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= PyInt_FromLong((long)result
);
18495 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
18496 PyObject
*resultobj
;
18497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18498 wxDateTime
*arg2
= 0 ;
18500 PyObject
* obj0
= 0 ;
18501 PyObject
* obj1
= 0 ;
18503 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
18504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18506 if (arg2
== NULL
) {
18507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const &)*arg2
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= PyInt_FromLong((long)result
);
18523 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18526 wxString
*arg2
= 0 ;
18528 bool temp2
= False
;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "date", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18538 arg2
= wxString_in_helper(obj1
);
18539 if (arg2
== NULL
) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= PyInt_FromLong((long)result
);
18564 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18567 wxString
*arg2
= 0 ;
18568 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
18569 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18570 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
18571 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
18573 bool temp2
= False
;
18574 bool temp3
= False
;
18575 PyObject
* obj0
= 0 ;
18576 PyObject
* obj1
= 0 ;
18577 PyObject
* obj2
= 0 ;
18578 PyObject
* obj3
= 0 ;
18579 char *kwnames
[] = {
18580 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
18583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18586 arg2
= wxString_in_helper(obj1
);
18587 if (arg2
== NULL
) SWIG_fail
;
18592 arg3
= wxString_in_helper(obj2
);
18593 if (arg3
== NULL
) SWIG_fail
;
18598 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18599 if (arg4
== NULL
) {
18600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= PyInt_FromLong((long)result
);
18633 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18634 PyObject
*resultobj
;
18635 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18636 wxString
*arg2
= 0 ;
18638 bool temp2
= False
;
18639 PyObject
* obj0
= 0 ;
18640 PyObject
* obj1
= 0 ;
18641 char *kwnames
[] = {
18642 (char *) "self",(char *) "datetime", NULL
18645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18648 arg2
= wxString_in_helper(obj1
);
18649 if (arg2
== NULL
) SWIG_fail
;
18653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18654 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
18656 wxPyEndAllowThreads(__tstate
);
18657 if (PyErr_Occurred()) SWIG_fail
;
18659 resultobj
= PyInt_FromLong((long)result
);
18674 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18677 wxString
*arg2
= 0 ;
18679 bool temp2
= False
;
18680 PyObject
* obj0
= 0 ;
18681 PyObject
* obj1
= 0 ;
18682 char *kwnames
[] = {
18683 (char *) "self",(char *) "date", NULL
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
18687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18689 arg2
= wxString_in_helper(obj1
);
18690 if (arg2
== NULL
) SWIG_fail
;
18694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
18697 wxPyEndAllowThreads(__tstate
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18700 resultobj
= PyInt_FromLong((long)result
);
18715 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18718 wxString
*arg2
= 0 ;
18720 bool temp2
= False
;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 char *kwnames
[] = {
18724 (char *) "self",(char *) "time", NULL
18727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
18728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18730 arg2
= wxString_in_helper(obj1
);
18731 if (arg2
== NULL
) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= PyInt_FromLong((long)result
);
18756 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18759 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
18760 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
18761 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
18762 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
18764 bool temp2
= False
;
18765 bool temp3
= False
;
18766 PyObject
* obj0
= 0 ;
18767 PyObject
* obj1
= 0 ;
18768 PyObject
* obj2
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "format",(char *) "tz", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18777 arg2
= wxString_in_helper(obj1
);
18778 if (arg2
== NULL
) SWIG_fail
;
18784 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18807 if (temp3
) delete arg3
;
18816 if (temp3
) delete arg3
;
18822 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18823 PyObject
*resultobj
;
18824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 char *kwnames
[] = {
18828 (char *) "self", NULL
18831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
18832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18835 result
= ((wxDateTime
const *)arg1
)->FormatDate();
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18853 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18857 PyObject
* obj0
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 result
= ((wxDateTime
const *)arg1
)->FormatTime();
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18873 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18875 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18884 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18885 PyObject
*resultobj
;
18886 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18888 PyObject
* obj0
= 0 ;
18889 char *kwnames
[] = {
18890 (char *) "self", NULL
18893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
18894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18915 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18916 PyObject
*resultobj
;
18917 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18919 PyObject
* obj0
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "self", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
18930 wxPyEndAllowThreads(__tstate
);
18931 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18946 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
18948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18949 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
18951 return Py_BuildValue((char *)"");
18953 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18954 PyObject
*resultobj
;
18957 char *kwnames
[] = {
18958 (char *) "sec", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Seconds",kwnames
,&arg1
)) goto fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= wxTimeSpan::Seconds(arg1
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18970 wxTimeSpan
* resultptr
;
18971 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18972 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
18980 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18983 char *kwnames
[] = {
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= wxTimeSpan::Second();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18996 wxTimeSpan
* resultptr
;
18997 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
18998 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19006 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19007 PyObject
*resultobj
;
19010 char *kwnames
[] = {
19011 (char *) "min", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Minutes",kwnames
,&arg1
)) goto fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= wxTimeSpan::Minutes(arg1
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19023 wxTimeSpan
* resultptr
;
19024 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19025 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19033 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19036 char *kwnames
[] = {
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
19042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19043 result
= wxTimeSpan::Minute();
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19049 wxTimeSpan
* resultptr
;
19050 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19051 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19059 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19060 PyObject
*resultobj
;
19063 char *kwnames
[] = {
19064 (char *) "hours", NULL
19067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Hours",kwnames
,&arg1
)) goto fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 result
= wxTimeSpan::Hours(arg1
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19076 wxTimeSpan
* resultptr
;
19077 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19078 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19086 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
;
19089 char *kwnames
[] = {
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= wxTimeSpan::Hour();
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19102 wxTimeSpan
* resultptr
;
19103 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19104 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19112 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19116 char *kwnames
[] = {
19117 (char *) "days", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Days",kwnames
,&arg1
)) goto fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= wxTimeSpan::Days(arg1
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19129 wxTimeSpan
* resultptr
;
19130 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19131 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19139 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19142 char *kwnames
[] = {
19146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
19148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19149 result
= wxTimeSpan::Day();
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19155 wxTimeSpan
* resultptr
;
19156 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19165 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19169 char *kwnames
[] = {
19170 (char *) "days", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:TimeSpan_Weeks",kwnames
,&arg1
)) goto fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= wxTimeSpan::Weeks(arg1
);
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19182 wxTimeSpan
* resultptr
;
19183 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19184 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19192 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19193 PyObject
*resultobj
;
19195 char *kwnames
[] = {
19199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 result
= wxTimeSpan::Week();
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19208 wxTimeSpan
* resultptr
;
19209 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19210 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19218 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19219 PyObject
*resultobj
;
19220 long arg1
= (long) 0 ;
19221 long arg2
= (long) 0 ;
19222 long arg3
= (long) 0 ;
19223 long arg4
= (long) 0 ;
19224 wxTimeSpan
*result
;
19225 char *kwnames
[] = {
19226 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|llll:new_TimeSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
19231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19232 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 1);
19244 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19245 PyObject
*resultobj
;
19246 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19247 PyObject
* obj0
= 0 ;
19248 char *kwnames
[] = {
19249 (char *) "self", NULL
19252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
19253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 Py_INCREF(Py_None
); resultobj
= Py_None
;
19268 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
;
19270 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19271 wxTimeSpan
*arg2
= 0 ;
19272 wxTimeSpan
*result
;
19273 PyObject
* obj0
= 0 ;
19274 PyObject
* obj1
= 0 ;
19275 char *kwnames
[] = {
19276 (char *) "self",(char *) "diff", NULL
19279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
19280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19281 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19282 if (arg2
== NULL
) {
19283 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19289 result
= (wxTimeSpan
*) &_result_ref
;
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19302 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19304 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19305 wxTimeSpan
*arg2
= 0 ;
19306 wxTimeSpan
*result
;
19307 PyObject
* obj0
= 0 ;
19308 PyObject
* obj1
= 0 ;
19309 char *kwnames
[] = {
19310 (char *) "self",(char *) "diff", NULL
19313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19315 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19316 if (arg2
== NULL
) {
19317 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19323 result
= (wxTimeSpan
*) &_result_ref
;
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19336 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
;
19338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19340 wxTimeSpan
*result
;
19341 PyObject
* obj0
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "n", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19351 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
19352 result
= (wxTimeSpan
*) &_result_ref
;
19355 wxPyEndAllowThreads(__tstate
);
19356 if (PyErr_Occurred()) SWIG_fail
;
19358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19365 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19366 PyObject
*resultobj
;
19367 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19368 wxTimeSpan
*result
;
19369 PyObject
* obj0
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19379 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
19380 result
= (wxTimeSpan
*) &_result_ref
;
19383 wxPyEndAllowThreads(__tstate
);
19384 if (PyErr_Occurred()) SWIG_fail
;
19386 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19393 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19394 PyObject
*resultobj
;
19395 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19406 result
= ((wxTimeSpan
const *)arg1
)->Abs();
19408 wxPyEndAllowThreads(__tstate
);
19409 if (PyErr_Occurred()) SWIG_fail
;
19412 wxTimeSpan
* resultptr
;
19413 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19414 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19422 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19423 PyObject
*resultobj
;
19424 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19425 wxTimeSpan
*arg2
= 0 ;
19426 wxTimeSpan
*result
;
19427 PyObject
* obj0
= 0 ;
19428 PyObject
* obj1
= 0 ;
19429 char *kwnames
[] = {
19430 (char *) "self",(char *) "diff", NULL
19433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
19434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19436 if (arg2
== NULL
) {
19437 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19442 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19443 result
= (wxTimeSpan
*) &_result_ref
;
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19456 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19457 PyObject
*resultobj
;
19458 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19459 wxTimeSpan
*arg2
= 0 ;
19460 wxTimeSpan
*result
;
19461 PyObject
* obj0
= 0 ;
19462 PyObject
* obj1
= 0 ;
19463 char *kwnames
[] = {
19464 (char *) "self",(char *) "diff", NULL
19467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19470 if (arg2
== NULL
) {
19471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19477 result
= (wxTimeSpan
*) &_result_ref
;
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19490 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19494 wxTimeSpan
*result
;
19495 PyObject
* obj0
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self",(char *) "n", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19505 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
19506 result
= (wxTimeSpan
*) &_result_ref
;
19509 wxPyEndAllowThreads(__tstate
);
19510 if (PyErr_Occurred()) SWIG_fail
;
19512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19519 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19520 PyObject
*resultobj
;
19521 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19522 wxTimeSpan
*result
;
19523 PyObject
* obj0
= 0 ;
19524 char *kwnames
[] = {
19525 (char *) "self", NULL
19528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
19529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19533 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
19534 result
= (wxTimeSpan
*) &_result_ref
;
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTimeSpan
, 0);
19547 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19550 wxTimeSpan
*arg2
= 0 ;
19552 PyObject
* obj0
= 0 ;
19553 PyObject
* obj1
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self",(char *) "other", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19560 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19561 if (arg2
== NULL
) {
19562 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19566 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
19568 wxPyEndAllowThreads(__tstate
);
19569 if (PyErr_Occurred()) SWIG_fail
;
19572 wxTimeSpan
* resultptr
;
19573 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19574 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19582 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19585 wxTimeSpan
*arg2
= 0 ;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "other", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19596 if (arg2
== NULL
) {
19597 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
19603 wxPyEndAllowThreads(__tstate
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 wxTimeSpan
* resultptr
;
19608 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19609 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19617 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19622 PyObject
* obj0
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "n", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19631 result
= wxTimeSpan___mul__(arg1
,arg2
);
19633 wxPyEndAllowThreads(__tstate
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19637 wxTimeSpan
* resultptr
;
19638 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19639 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19647 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19652 PyObject
* obj0
= 0 ;
19653 char *kwnames
[] = {
19654 (char *) "self",(char *) "n", NULL
19657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:TimeSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
19658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= wxTimeSpan___rmul__(arg1
,arg2
);
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19667 wxTimeSpan
* resultptr
;
19668 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxTimeSpan
, 1);
19677 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19680 wxTimeSpan
*arg2
= 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "other", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19690 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19691 if (arg2
== NULL
) {
19692 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const &)*arg2
);
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= PyInt_FromLong((long)result
);
19708 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19711 wxTimeSpan
*arg2
= 0 ;
19713 PyObject
* obj0
= 0 ;
19714 PyObject
* obj1
= 0 ;
19715 char *kwnames
[] = {
19716 (char *) "self",(char *) "other", NULL
19719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
19720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19721 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19722 if (arg2
== NULL
) {
19723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const &)*arg2
);
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= PyInt_FromLong((long)result
);
19739 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19742 wxTimeSpan
*arg2
= 0 ;
19744 PyObject
* obj0
= 0 ;
19745 PyObject
* obj1
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self",(char *) "other", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19753 if (arg2
== NULL
) {
19754 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19758 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const &)*arg2
);
19760 wxPyEndAllowThreads(__tstate
);
19761 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= PyInt_FromLong((long)result
);
19770 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19771 PyObject
*resultobj
;
19772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19773 wxTimeSpan
*arg2
= 0 ;
19775 PyObject
* obj0
= 0 ;
19776 PyObject
* obj1
= 0 ;
19777 char *kwnames
[] = {
19778 (char *) "self",(char *) "other", NULL
19781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19783 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19784 if (arg2
== NULL
) {
19785 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19789 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const &)*arg2
);
19791 wxPyEndAllowThreads(__tstate
);
19792 if (PyErr_Occurred()) SWIG_fail
;
19794 resultobj
= PyInt_FromLong((long)result
);
19801 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19804 wxTimeSpan
*arg2
= 0 ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self",(char *) "other", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19814 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19815 if (arg2
== NULL
) {
19816 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const &)*arg2
);
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= PyInt_FromLong((long)result
);
19832 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19833 PyObject
*resultobj
;
19834 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19835 wxTimeSpan
*arg2
= 0 ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self",(char *) "other", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19845 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19846 if (arg2
== NULL
) {
19847 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const &)*arg2
);
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= PyInt_FromLong((long)result
);
19863 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 resultobj
= PyInt_FromLong((long)result
);
19888 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19889 PyObject
*resultobj
;
19890 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 char *kwnames
[] = {
19894 (char *) "self", NULL
19897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
19898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19906 resultobj
= PyInt_FromLong((long)result
);
19913 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19914 PyObject
*resultobj
;
19915 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19917 PyObject
* obj0
= 0 ;
19918 char *kwnames
[] = {
19919 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= PyInt_FromLong((long)result
);
19938 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19939 PyObject
*resultobj
;
19940 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19941 wxTimeSpan
*arg2
= 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "ts", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19951 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19952 if (arg2
== NULL
) {
19953 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= PyInt_FromLong((long)result
);
19969 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19970 PyObject
*resultobj
;
19971 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
19972 wxTimeSpan
*arg2
= 0 ;
19974 PyObject
* obj0
= 0 ;
19975 PyObject
* obj1
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "ts", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19982 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19983 if (arg2
== NULL
) {
19984 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19993 resultobj
= PyInt_FromLong((long)result
);
20000 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20003 wxTimeSpan
*arg2
= 0 ;
20005 PyObject
* obj0
= 0 ;
20006 PyObject
* obj1
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self",(char *) "t", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20014 if (arg2
== NULL
) {
20015 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20019 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
20021 wxPyEndAllowThreads(__tstate
);
20022 if (PyErr_Occurred()) SWIG_fail
;
20024 resultobj
= PyInt_FromLong((long)result
);
20031 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20033 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20035 PyObject
* obj0
= 0 ;
20036 char *kwnames
[] = {
20037 (char *) "self", NULL
20040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= PyInt_FromLong((long)result
);
20056 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20060 PyObject
* obj0
= 0 ;
20061 char *kwnames
[] = {
20062 (char *) "self", NULL
20065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= PyInt_FromLong((long)result
);
20081 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 char *kwnames
[] = {
20087 (char *) "self", NULL
20090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
20091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 resultobj
= PyInt_FromLong((long)result
);
20106 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20108 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20110 PyObject
* obj0
= 0 ;
20111 char *kwnames
[] = {
20112 (char *) "self", NULL
20115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
20116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= PyInt_FromLong((long)result
);
20131 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
20146 wxPyEndAllowThreads(__tstate
);
20147 if (PyErr_Occurred()) SWIG_fail
;
20150 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20151 hi
= PyLong_FromLong( (&result
)->GetHi() );
20152 lo
= PyLong_FromLong( (&result
)->GetLo() );
20153 shifter
= PyLong_FromLong(32);
20154 shifted
= PyNumber_Lshift(hi
, shifter
);
20155 resultobj
= PyNumber_Or(shifted
, lo
);
20158 Py_DECREF(shifter
);
20159 Py_DECREF(shifted
);
20167 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 PyObject
*hi
, *lo
, *shifter
, *shifted
;
20187 hi
= PyLong_FromLong( (&result
)->GetHi() );
20188 lo
= PyLong_FromLong( (&result
)->GetLo() );
20189 shifter
= PyLong_FromLong(32);
20190 shifted
= PyNumber_Lshift(hi
, shifter
);
20191 resultobj
= PyNumber_Or(shifted
, lo
);
20194 Py_DECREF(shifter
);
20195 Py_DECREF(shifted
);
20203 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
20206 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
20207 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20209 bool temp2
= False
;
20210 PyObject
* obj0
= 0 ;
20211 PyObject
* obj1
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self",(char *) "format", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTimeSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20220 arg2
= wxString_in_helper(obj1
);
20221 if (arg2
== NULL
) SWIG_fail
;
20226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20227 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
20229 wxPyEndAllowThreads(__tstate
);
20230 if (PyErr_Occurred()) SWIG_fail
;
20234 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20236 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20253 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
20255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20256 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
20258 return Py_BuildValue((char *)"");
20260 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20261 PyObject
*resultobj
;
20262 int arg1
= (int) 0 ;
20263 int arg2
= (int) 0 ;
20264 int arg3
= (int) 0 ;
20265 int arg4
= (int) 0 ;
20266 wxDateSpan
*result
;
20267 char *kwnames
[] = {
20268 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
20271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_DateSpan",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
20273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20274 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
20276 wxPyEndAllowThreads(__tstate
);
20277 if (PyErr_Occurred()) SWIG_fail
;
20279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 1);
20286 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 Py_INCREF(Py_None
); resultobj
= Py_None
;
20310 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20311 PyObject
*resultobj
;
20314 char *kwnames
[] = {
20315 (char *) "days", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Days",kwnames
,&arg1
)) goto fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 result
= wxDateSpan::Days(arg1
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20327 wxDateSpan
* resultptr
;
20328 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20337 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20340 char *kwnames
[] = {
20344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= wxDateSpan::Day();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20353 wxDateSpan
* resultptr
;
20354 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20355 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20363 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20367 char *kwnames
[] = {
20368 (char *) "weeks", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Weeks",kwnames
,&arg1
)) goto fail
;
20373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 result
= wxDateSpan::Weeks(arg1
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20380 wxDateSpan
* resultptr
;
20381 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20382 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20390 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20393 char *kwnames
[] = {
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= wxDateSpan::Week();
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20406 wxDateSpan
* resultptr
;
20407 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20408 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20416 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20420 char *kwnames
[] = {
20421 (char *) "mon", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Months",kwnames
,&arg1
)) goto fail
;
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= wxDateSpan::Months(arg1
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 wxDateSpan
* resultptr
;
20434 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20435 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20443 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20446 char *kwnames
[] = {
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= wxDateSpan::Month();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20459 wxDateSpan
* resultptr
;
20460 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20461 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20469 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20473 char *kwnames
[] = {
20474 (char *) "years", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:DateSpan_Years",kwnames
,&arg1
)) goto fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20480 result
= wxDateSpan::Years(arg1
);
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20486 wxDateSpan
* resultptr
;
20487 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20488 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20496 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
;
20499 char *kwnames
[] = {
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
20505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20506 result
= wxDateSpan::Year();
20508 wxPyEndAllowThreads(__tstate
);
20509 if (PyErr_Occurred()) SWIG_fail
;
20512 wxDateSpan
* resultptr
;
20513 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
20514 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
20522 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20526 wxDateSpan
*result
;
20527 PyObject
* obj0
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "n", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetYears",kwnames
,&obj0
,&arg2
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
20538 result
= (wxDateSpan
*) &_result_ref
;
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20551 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20555 wxDateSpan
*result
;
20556 PyObject
* obj0
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "n", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetMonths",kwnames
,&obj0
,&arg2
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
20567 result
= (wxDateSpan
*) &_result_ref
;
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20580 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20584 wxDateSpan
*result
;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self",(char *) "n", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetWeeks",kwnames
,&obj0
,&arg2
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
20596 result
= (wxDateSpan
*) &_result_ref
;
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20609 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20613 wxDateSpan
*result
;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self",(char *) "n", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_SetDays",kwnames
,&obj0
,&arg2
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
20625 result
= (wxDateSpan
*) &_result_ref
;
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20638 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 resultobj
= PyInt_FromLong((long)result
);
20663 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= PyInt_FromLong((long)result
);
20688 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= PyInt_FromLong((long)result
);
20713 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20717 PyObject
* obj0
= 0 ;
20718 char *kwnames
[] = {
20719 (char *) "self", NULL
20722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
20723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20726 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= PyInt_FromLong((long)result
);
20738 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20742 PyObject
* obj0
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= PyInt_FromLong((long)result
);
20763 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20766 wxDateSpan
*arg2
= 0 ;
20767 wxDateSpan
*result
;
20768 PyObject
* obj0
= 0 ;
20769 PyObject
* obj1
= 0 ;
20770 char *kwnames
[] = {
20771 (char *) "self",(char *) "other", NULL
20774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
20775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20777 if (arg2
== NULL
) {
20778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20784 result
= (wxDateSpan
*) &_result_ref
;
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20797 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20800 wxDateSpan
*arg2
= 0 ;
20801 wxDateSpan
*result
;
20802 PyObject
* obj0
= 0 ;
20803 PyObject
* obj1
= 0 ;
20804 char *kwnames
[] = {
20805 (char *) "self",(char *) "other", NULL
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20810 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20811 if (arg2
== NULL
) {
20812 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20817 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20818 result
= (wxDateSpan
*) &_result_ref
;
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20831 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
;
20833 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20834 wxDateSpan
*result
;
20835 PyObject
* obj0
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
20841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 wxDateSpan
&_result_ref
= (arg1
)->Neg();
20846 result
= (wxDateSpan
*) &_result_ref
;
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20859 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20863 wxDateSpan
*result
;
20864 PyObject
* obj0
= 0 ;
20865 char *kwnames
[] = {
20866 (char *) "self",(char *) "factor", NULL
20869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan_Multiply",kwnames
,&obj0
,&arg2
)) goto fail
;
20870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
20875 result
= (wxDateSpan
*) &_result_ref
;
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20888 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20891 wxDateSpan
*arg2
= 0 ;
20892 wxDateSpan
*result
;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char *kwnames
[] = {
20896 (char *) "self",(char *) "other", NULL
20899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
20900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20902 if (arg2
== NULL
) {
20903 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20909 result
= (wxDateSpan
*) &_result_ref
;
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20922 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20924 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20925 wxDateSpan
*arg2
= 0 ;
20926 wxDateSpan
*result
;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "other", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20936 if (arg2
== NULL
) {
20937 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20942 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20943 result
= (wxDateSpan
*) &_result_ref
;
20946 wxPyEndAllowThreads(__tstate
);
20947 if (PyErr_Occurred()) SWIG_fail
;
20949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20956 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20957 PyObject
*resultobj
;
20958 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20959 wxDateSpan
*result
;
20960 PyObject
* obj0
= 0 ;
20961 char *kwnames
[] = {
20962 (char *) "self", NULL
20965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
20966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 wxDateSpan
&_result_ref
= (arg1
)->operator -();
20971 result
= (wxDateSpan
*) &_result_ref
;
20974 wxPyEndAllowThreads(__tstate
);
20975 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
20984 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20985 PyObject
*resultobj
;
20986 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
20988 wxDateSpan
*result
;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self",(char *) "factor", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___imul__",kwnames
,&obj0
,&arg2
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21000 result
= (wxDateSpan
*) &_result_ref
;
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDateSpan
, 0);
21013 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21014 PyObject
*resultobj
;
21015 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21016 wxDateSpan
*arg2
= 0 ;
21018 PyObject
* obj0
= 0 ;
21019 PyObject
* obj1
= 0 ;
21020 char *kwnames
[] = {
21021 (char *) "self",(char *) "other", NULL
21024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21026 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21027 if (arg2
== NULL
) {
21028 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 wxDateSpan
* resultptr
;
21039 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21040 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21048 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21051 wxDateSpan
*arg2
= 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char *kwnames
[] = {
21056 (char *) "self",(char *) "other", NULL
21059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 if (arg2
== NULL
) {
21063 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21073 wxDateSpan
* resultptr
;
21074 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21075 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21083 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 char *kwnames
[] = {
21090 (char *) "self",(char *) "n", NULL
21093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___mul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= wxDateSpan___mul__(arg1
,arg2
);
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21103 wxDateSpan
* resultptr
;
21104 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21105 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21113 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21118 PyObject
* obj0
= 0 ;
21119 char *kwnames
[] = {
21120 (char *) "self",(char *) "n", NULL
21123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DateSpan___rmul__",kwnames
,&obj0
,&arg2
)) goto fail
;
21124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= wxDateSpan___rmul__(arg1
,arg2
);
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21133 wxDateSpan
* resultptr
;
21134 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
21135 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateSpan
, 1);
21143 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21146 wxDateSpan
*arg2
= 0 ;
21148 PyObject
* obj0
= 0 ;
21149 PyObject
* obj1
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self",(char *) "other", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21157 if (arg2
== NULL
) {
21158 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21162 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const &)*arg2
);
21164 wxPyEndAllowThreads(__tstate
);
21165 if (PyErr_Occurred()) SWIG_fail
;
21167 resultobj
= PyInt_FromLong((long)result
);
21174 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
21177 wxDateSpan
*arg2
= 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self",(char *) "other", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21187 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDateSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21188 if (arg2
== NULL
) {
21189 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21193 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const &)*arg2
);
21195 wxPyEndAllowThreads(__tstate
);
21196 if (PyErr_Occurred()) SWIG_fail
;
21198 resultobj
= PyInt_FromLong((long)result
);
21205 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
21207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21208 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
21210 return Py_BuildValue((char *)"");
21212 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21215 char *kwnames
[] = {
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (long)wxGetLocalTime();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= PyInt_FromLong((long)result
);
21234 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21237 char *kwnames
[] = {
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
21243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21244 result
= (long)wxGetUTCTime();
21246 wxPyEndAllowThreads(__tstate
);
21247 if (PyErr_Occurred()) SWIG_fail
;
21249 resultobj
= PyInt_FromLong((long)result
);
21256 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21259 char *kwnames
[] = {
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (long)wxGetCurrentTime();
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= PyInt_FromLong((long)result
);
21278 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21281 char *kwnames
[] = {
21285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 result
= wxGetLocalTimeMillis();
21290 wxPyEndAllowThreads(__tstate
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 PyObject
*hi
, *lo
, *shifter
, *shifted
;
21295 hi
= PyLong_FromLong( (&result
)->GetHi() );
21296 lo
= PyLong_FromLong( (&result
)->GetLo() );
21297 shifter
= PyLong_FromLong(32);
21298 shifted
= PyNumber_Lshift(hi
, shifter
);
21299 resultobj
= PyNumber_Or(shifted
, lo
);
21302 Py_DECREF(shifter
);
21303 Py_DECREF(shifted
);
21311 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21314 wxDataFormat
*result
;
21315 char *kwnames
[] = {
21316 (char *) "type", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:new_DataFormat",kwnames
,&arg1
)) goto fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21334 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxString
*arg1
= 0 ;
21337 wxDataFormat
*result
;
21338 bool temp1
= False
;
21339 PyObject
* obj0
= 0 ;
21340 char *kwnames
[] = {
21341 (char *) "format", NULL
21344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
21346 arg1
= wxString_in_helper(obj0
);
21347 if (arg1
== NULL
) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
21354 wxPyEndAllowThreads(__tstate
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 1);
21372 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21375 PyObject
* obj0
= 0 ;
21376 char *kwnames
[] = {
21377 (char *) "self", NULL
21380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
21381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21389 Py_INCREF(Py_None
); resultobj
= Py_None
;
21396 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
21397 PyObject
*resultobj
;
21398 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21401 PyObject
* obj0
= 0 ;
21403 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___eq__",&obj0
,&arg2
)) goto fail
;
21404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= PyInt_FromLong((long)result
);
21419 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
21420 PyObject
*resultobj
;
21421 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21426 if(!PyArg_ParseTuple(args
,(char *)"Oi:DataFormat___ne__",&obj0
,&arg2
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= PyInt_FromLong((long)result
);
21442 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
21443 PyObject
*resultobj
;
21444 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21445 wxDataFormat
*arg2
= 0 ;
21447 PyObject
* obj0
= 0 ;
21448 PyObject
* obj1
= 0 ;
21450 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
21451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 if (arg2
== NULL
) {
21454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
21460 wxPyEndAllowThreads(__tstate
);
21461 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= PyInt_FromLong((long)result
);
21470 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
21475 argc
= PyObject_Length(args
);
21476 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21477 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21483 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21493 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21501 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
21509 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21518 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21521 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
21526 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
21531 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
21532 PyObject
*resultobj
;
21533 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21534 wxDataFormat
*arg2
= 0 ;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21539 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
21540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21541 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21542 if (arg2
== NULL
) {
21543 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21552 resultobj
= PyInt_FromLong((long)result
);
21559 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
21564 argc
= PyObject_Length(args
);
21565 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
21566 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21572 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21582 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21590 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
21598 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
21607 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
21610 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
21615 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
21620 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "format", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DataFormat_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->SetType((wxDataFormatId
)arg2
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21645 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "self", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
21655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21658 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= PyInt_FromLong((long)result
);
21670 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
;
21672 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21674 PyObject
* obj0
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= ((wxDataFormat
const *)arg1
)->GetId();
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21701 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
21704 wxString
*arg2
= 0 ;
21705 bool temp2
= False
;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self",(char *) "format", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21715 arg2
= wxString_in_helper(obj1
);
21716 if (arg2
== NULL
) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 (arg1
)->SetId((wxString
const &)*arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 Py_INCREF(Py_None
); resultobj
= Py_None
;
21741 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
21743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21744 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
21746 return Py_BuildValue((char *)"");
21748 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
21749 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
21754 static PyObject
*_wrap_FormatInvalid_get() {
21757 pyobj
= SWIG_NewPointerObj((void *) &wxFormatInvalid
, SWIGTYPE_p_wxDataFormat
, 0);
21762 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
;
21764 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21765 PyObject
* obj0
= 0 ;
21766 char *kwnames
[] = {
21767 (char *) "self", NULL
21770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
21771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 Py_INCREF(Py_None
); resultobj
= Py_None
;
21786 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21789 int arg2
= (int) wxDataObject::Get
;
21790 SwigValueWrapper
< wxDataFormat
> result
;
21791 PyObject
* obj0
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "dir", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetPreferredFormat",kwnames
,&obj0
,&arg2
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21800 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
21802 wxPyEndAllowThreads(__tstate
);
21803 if (PyErr_Occurred()) SWIG_fail
;
21806 wxDataFormat
* resultptr
;
21807 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
21808 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDataFormat
, 1);
21816 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21819 int arg2
= (int) wxDataObject::Get
;
21821 PyObject
* obj0
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "dir", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DataObject_GetFormatCount",kwnames
,&obj0
,&arg2
)) goto fail
;
21827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= PyInt_FromLong((long)result
);
21842 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21845 wxDataFormat
*arg2
= 0 ;
21846 int arg3
= (int) wxDataObject::Get
;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "format",(char *) "dir", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21857 if (arg2
== NULL
) {
21858 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= PyInt_FromLong((long)result
);
21874 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21877 wxDataFormat
*arg2
= 0 ;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "format", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21887 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21888 if (arg2
== NULL
) {
21889 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
21895 wxPyEndAllowThreads(__tstate
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= PyInt_FromLong((long)result
);
21905 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21906 PyObject
*resultobj
;
21907 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21908 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
21909 int arg3
= (int) wxDataObject::Get
;
21910 PyObject
* obj0
= 0 ;
21911 PyObject
* obj1
= 0 ;
21912 char *kwnames
[] = {
21913 (char *) "self",(char *) "formats",(char *) "dir", NULL
21916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
21917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21918 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21926 Py_INCREF(Py_None
); resultobj
= Py_None
;
21933 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21934 PyObject
*resultobj
;
21935 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21936 wxDataFormat
*arg2
= 0 ;
21937 void *arg3
= (void *) 0 ;
21939 PyObject
* obj0
= 0 ;
21940 PyObject
* obj1
= 0 ;
21941 PyObject
* obj2
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "format",(char *) "buf", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21948 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21949 if (arg2
== NULL
) {
21950 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21952 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21960 resultobj
= PyInt_FromLong((long)result
);
21967 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21968 PyObject
*resultobj
;
21969 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
21970 wxDataFormat
*arg2
= 0 ;
21972 void *arg4
= (void *) 0 ;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 PyObject
* obj2
= 0 ;
21977 PyObject
* obj3
= 0 ;
21978 char *kwnames
[] = {
21979 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
21982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21985 if (arg2
== NULL
) {
21986 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21988 arg3
= (size_t) PyInt_AsLong(obj2
);
21989 if (PyErr_Occurred()) SWIG_fail
;
21990 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, 0, SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= PyInt_FromLong((long)result
);
22005 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22008 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
22010 return Py_BuildValue((char *)"");
22012 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22015 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22016 wxDataObjectSimple
*result
;
22017 PyObject
* obj0
= 0 ;
22018 char *kwnames
[] = {
22019 (char *) "format", NULL
22022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 if (arg1
== NULL
) {
22026 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22031 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
22033 wxPyEndAllowThreads(__tstate
);
22034 if (PyErr_Occurred()) SWIG_fail
;
22036 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectSimple
, 1);
22043 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22046 wxDataFormat
*result
;
22047 PyObject
* obj0
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
22058 result
= (wxDataFormat
*) &_result_ref
;
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataFormat
, 0);
22071 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22072 PyObject
*resultobj
;
22073 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
22074 wxDataFormat
*arg2
= 0 ;
22075 PyObject
* obj0
= 0 ;
22076 PyObject
* obj1
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self",(char *) "format", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22084 if (arg2
== NULL
) {
22085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22089 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
22091 wxPyEndAllowThreads(__tstate
);
22092 if (PyErr_Occurred()) SWIG_fail
;
22094 Py_INCREF(Py_None
); resultobj
= Py_None
;
22101 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22104 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
22106 return Py_BuildValue((char *)"");
22108 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22111 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22112 wxPyDataObjectSimple
*result
;
22113 PyObject
* obj0
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "format", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22121 if (arg1
== NULL
) {
22122 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDataObjectSimple
, 1);
22139 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
22142 PyObject
*arg2
= (PyObject
*) 0 ;
22143 PyObject
*arg3
= (PyObject
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "self",(char *) "_class", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22157 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22159 wxPyEndAllowThreads(__tstate
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 Py_INCREF(Py_None
); resultobj
= Py_None
;
22169 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
22171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22172 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
22174 return Py_BuildValue((char *)"");
22176 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxDataObjectComposite
*result
;
22179 char *kwnames
[] = {
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObjectComposite
, 1);
22198 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22199 PyObject
*resultobj
;
22200 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
22201 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
22202 int arg3
= (int) False
;
22203 PyObject
* obj0
= 0 ;
22204 PyObject
* obj1
= 0 ;
22205 char *kwnames
[] = {
22206 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
22209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
22210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObjectComposite
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22211 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObjectSimple
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 (arg1
)->Add(arg2
,arg3
);
22216 wxPyEndAllowThreads(__tstate
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
22228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22229 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
22231 return Py_BuildValue((char *)"");
22233 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22236 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22237 wxTextDataObject
*result
;
22238 bool temp1
= False
;
22239 PyObject
* obj0
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "text", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
22247 arg1
= wxString_in_helper(obj0
);
22248 if (arg1
== NULL
) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTextDataObject
, 1);
22274 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22287 result
= (size_t)(arg1
)->GetTextLength();
22289 wxPyEndAllowThreads(__tstate
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22292 resultobj
= PyInt_FromLong((long)result
);
22299 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (arg1
)->GetText();
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22330 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
22333 wxString
*arg2
= 0 ;
22334 bool temp2
= False
;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self",(char *) "text", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22344 arg2
= wxString_in_helper(obj1
);
22345 if (arg2
== NULL
) SWIG_fail
;
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 (arg1
)->SetText((wxString
const &)*arg2
);
22352 wxPyEndAllowThreads(__tstate
);
22353 if (PyErr_Occurred()) SWIG_fail
;
22355 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22373 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
22375 return Py_BuildValue((char *)"");
22377 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22378 PyObject
*resultobj
;
22379 wxString
const &arg1_defvalue
= wxPyEmptyString
;
22380 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
22381 wxPyTextDataObject
*result
;
22382 bool temp1
= False
;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "text", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
22391 arg1
= wxString_in_helper(obj0
);
22392 if (arg1
== NULL
) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDataObject
, 1);
22418 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22419 PyObject
*resultobj
;
22420 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
22421 PyObject
*arg2
= (PyObject
*) 0 ;
22422 PyObject
*arg3
= (PyObject
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 PyObject
* obj2
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self",(char *) "self",(char *) "_class", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 Py_INCREF(Py_None
); resultobj
= Py_None
;
22448 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22451 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
22453 return Py_BuildValue((char *)"");
22455 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22456 PyObject
*resultobj
;
22457 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22458 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22459 wxBitmapDataObject
*result
;
22460 PyObject
* obj0
= 0 ;
22461 char *kwnames
[] = {
22462 (char *) "bitmap", NULL
22465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22468 if (arg1
== NULL
) {
22469 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmapDataObject
, 1);
22486 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22487 PyObject
*resultobj
;
22488 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22490 PyObject
* obj0
= 0 ;
22491 char *kwnames
[] = {
22492 (char *) "self", NULL
22495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
22496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22499 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
22501 wxPyEndAllowThreads(__tstate
);
22502 if (PyErr_Occurred()) SWIG_fail
;
22505 wxBitmap
* resultptr
;
22506 resultptr
= new wxBitmap((wxBitmap
&) result
);
22507 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
22515 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
22518 wxBitmap
*arg2
= 0 ;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self",(char *) "bitmap", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22527 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22528 if (arg2
== NULL
) {
22529 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22533 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
22535 wxPyEndAllowThreads(__tstate
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22538 Py_INCREF(Py_None
); resultobj
= Py_None
;
22545 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22547 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22548 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
22550 return Py_BuildValue((char *)"");
22552 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
22555 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
22556 wxPyBitmapDataObject
*result
;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "bitmap", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22565 if (arg1
== NULL
) {
22566 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22571 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
22573 wxPyEndAllowThreads(__tstate
);
22574 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyBitmapDataObject
, 1);
22583 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
22586 PyObject
*arg2
= (PyObject
*) 0 ;
22587 PyObject
*arg3
= (PyObject
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 PyObject
* obj2
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "self",(char *) "_class", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyBitmapDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 Py_INCREF(Py_None
); resultobj
= Py_None
;
22613 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22616 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
22618 return Py_BuildValue((char *)"");
22620 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxFileDataObject
*result
;
22623 char *kwnames
[] = {
22627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
22629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22630 result
= (wxFileDataObject
*)new wxFileDataObject();
22632 wxPyEndAllowThreads(__tstate
);
22633 if (PyErr_Occurred()) SWIG_fail
;
22635 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFileDataObject
, 1);
22642 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22643 PyObject
*resultobj
;
22644 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
22645 wxArrayString
*result
;
22646 PyObject
* obj0
= 0 ;
22647 char *kwnames
[] = {
22648 (char *) "self", NULL
22651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
22652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22656 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
22657 result
= (wxArrayString
*) &_result_ref
;
22660 wxPyEndAllowThreads(__tstate
);
22661 if (PyErr_Occurred()) SWIG_fail
;
22664 resultobj
= wxArrayString2PyList_helper(*result
);
22672 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22675 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
22677 return Py_BuildValue((char *)"");
22679 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22681 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
22682 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
22683 wxCustomDataObject
*result
;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "format", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
22691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22692 if (arg1
== NULL
) {
22693 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22698 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
22700 wxPyEndAllowThreads(__tstate
);
22701 if (PyErr_Occurred()) SWIG_fail
;
22703 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCustomDataObject
, 1);
22710 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22713 PyObject
*arg2
= (PyObject
*) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 PyObject
* obj1
= 0 ;
22716 char *kwnames
[] = {
22717 (char *) "self",(char *) "data", NULL
22720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
22721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 wxCustomDataObject_TakeData(arg1
,arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 Py_INCREF(Py_None
); resultobj
= Py_None
;
22737 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22740 PyObject
*arg2
= (PyObject
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 char *kwnames
[] = {
22745 (char *) "self",(char *) "data", NULL
22748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
22749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
22755 wxPyEndAllowThreads(__tstate
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22758 resultobj
= PyInt_FromLong((long)result
);
22765 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22769 PyObject
* obj0
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
22775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 result
= (size_t)(arg1
)->GetSize();
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 resultobj
= PyInt_FromLong((long)result
);
22790 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
22794 PyObject
* obj0
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCustomDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= result
;
22815 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22818 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
22820 return Py_BuildValue((char *)"");
22822 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxURLDataObject
*result
;
22825 char *kwnames
[] = {
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
22831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22832 result
= (wxURLDataObject
*)new wxURLDataObject();
22834 wxPyEndAllowThreads(__tstate
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxURLDataObject
, 1);
22844 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22845 PyObject
*resultobj
;
22846 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (arg1
)->GetURL();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22866 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22875 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22876 PyObject
*resultobj
;
22877 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
22878 wxString
*arg2
= 0 ;
22879 bool temp2
= False
;
22880 PyObject
* obj0
= 0 ;
22881 PyObject
* obj1
= 0 ;
22882 char *kwnames
[] = {
22883 (char *) "self",(char *) "url", NULL
22886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
22887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxURLDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22889 arg2
= wxString_in_helper(obj1
);
22890 if (arg2
== NULL
) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 (arg1
)->SetURL((wxString
const &)*arg2
);
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 Py_INCREF(Py_None
); resultobj
= Py_None
;
22915 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22918 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
22920 return Py_BuildValue((char *)"");
22922 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxMetafileDataObject
*result
;
22925 char *kwnames
[] = {
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMetafileDataObject
, 1);
22944 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
22946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22947 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
22949 return Py_BuildValue((char *)"");
22951 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22955 char *kwnames
[] = {
22956 (char *) "res", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IsDragResultOk",kwnames
,&arg1
)) goto fail
;
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
22964 wxPyEndAllowThreads(__tstate
);
22965 if (PyErr_Occurred()) SWIG_fail
;
22967 resultobj
= PyInt_FromLong((long)result
);
22974 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22975 PyObject
*resultobj
;
22976 wxWindow
*arg1
= (wxWindow
*) NULL
;
22977 wxIcon
const &arg2_defvalue
= wxNullIcon
;
22978 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
22979 wxIcon
const &arg3_defvalue
= wxNullIcon
;
22980 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
22981 wxIcon
const &arg4_defvalue
= wxNullIcon
;
22982 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
22983 wxPyDropSource
*result
;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj2
= 0 ;
22987 PyObject
* obj3
= 0 ;
22988 char *kwnames
[] = {
22989 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
22992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22997 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22998 if (arg2
== NULL
) {
22999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23003 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23004 if (arg3
== NULL
) {
23005 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23009 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxIcon
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23010 if (arg4
== NULL
) {
23011 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23016 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
23018 wxPyEndAllowThreads(__tstate
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropSource
, 1);
23028 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23029 PyObject
*resultobj
;
23030 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23031 PyObject
*arg2
= (PyObject
*) 0 ;
23032 PyObject
*arg3
= (PyObject
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOi:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
23049 wxPyEndAllowThreads(__tstate
);
23050 if (PyErr_Occurred()) SWIG_fail
;
23052 Py_INCREF(Py_None
); resultobj
= Py_None
;
23059 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 wxPyEndAllowThreads(__tstate
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 Py_INCREF(Py_None
); resultobj
= Py_None
;
23083 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23084 PyObject
*resultobj
;
23085 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23086 wxDataObject
*arg2
= 0 ;
23087 PyObject
* obj0
= 0 ;
23088 PyObject
* obj1
= 0 ;
23089 char *kwnames
[] = {
23090 (char *) "self",(char *) "data", NULL
23093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
23094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23095 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23096 if (arg2
== NULL
) {
23097 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->SetData(*arg2
);
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 Py_INCREF(Py_None
); resultobj
= Py_None
;
23113 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23116 wxDataObject
*result
;
23117 PyObject
* obj0
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
23123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23138 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23142 wxCursor
*arg3
= 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj2
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "res",(char *) "cursor", NULL
23149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:DropSource_SetCursor",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
23150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23151 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23152 if (arg3
== NULL
) {
23153 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 Py_INCREF(Py_None
); resultobj
= Py_None
;
23169 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23170 PyObject
*resultobj
;
23171 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23172 int arg2
= (int) wxDrag_CopyOnly
;
23174 PyObject
* obj0
= 0 ;
23175 char *kwnames
[] = {
23176 (char *) "self",(char *) "flags", NULL
23179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:DropSource_DoDragDrop",kwnames
,&obj0
,&arg2
)) goto fail
;
23180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (int)(arg1
)->DoDragDrop(arg2
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23188 resultobj
= PyInt_FromLong((long)result
);
23195 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23196 PyObject
*resultobj
;
23197 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
23200 PyObject
* obj0
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "effect", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:DropSource_base_GiveFeedback",kwnames
,&obj0
,&arg2
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropSource
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23209 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
23211 wxPyEndAllowThreads(__tstate
);
23212 if (PyErr_Occurred()) SWIG_fail
;
23214 resultobj
= PyInt_FromLong((long)result
);
23221 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
23223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23224 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
23226 return Py_BuildValue((char *)"");
23228 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
23231 wxPyDropTarget
*result
;
23232 PyObject
* obj0
= 0 ;
23233 char *kwnames
[] = {
23234 (char *) "dataObject", NULL
23237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
23239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23243 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 1);
23255 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23258 PyObject
*arg2
= (PyObject
*) 0 ;
23259 PyObject
*arg3
= (PyObject
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 PyObject
* obj2
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "self",(char *) "_class", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23273 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 Py_INCREF(Py_None
); resultobj
= Py_None
;
23285 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23286 PyObject
*resultobj
;
23287 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23288 PyObject
* obj0
= 0 ;
23289 char *kwnames
[] = {
23290 (char *) "self", NULL
23293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
23294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 Py_INCREF(Py_None
); resultobj
= Py_None
;
23309 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23312 wxDataObject
*result
;
23313 PyObject
* obj0
= 0 ;
23314 char *kwnames
[] = {
23315 (char *) "self", NULL
23318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
23319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23322 result
= (wxDataObject
*)(arg1
)->GetDataObject();
23324 wxPyEndAllowThreads(__tstate
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDataObject
, 0);
23334 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23335 PyObject
*resultobj
;
23336 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23337 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
23338 PyObject
* obj0
= 0 ;
23339 PyObject
* obj1
= 0 ;
23340 char *kwnames
[] = {
23341 (char *) "self",(char *) "dataObject", NULL
23344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
23345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23346 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 (arg1
)->SetDataObject(arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 Py_INCREF(Py_None
); resultobj
= Py_None
;
23361 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= PyInt_FromLong((long)result
);
23389 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23396 PyObject
* obj0
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:DropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= PyInt_FromLong((long)result
);
23417 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->base_OnLeave();
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23441 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self",(char *) "x",(char *) "y", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:DropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= PyInt_FromLong((long)result
);
23468 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (bool)(arg1
)->GetData();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= PyInt_FromLong((long)result
);
23493 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23496 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
23498 return Py_BuildValue((char *)"");
23500 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyTextDropTarget
*result
;
23503 char *kwnames
[] = {
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyTextDropTarget
, 1);
23522 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23525 PyObject
*arg2
= (PyObject
*) 0 ;
23526 PyObject
*arg3
= (PyObject
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 PyObject
* obj2
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "self",(char *) "_class", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 Py_INCREF(Py_None
); resultobj
= Py_None
;
23552 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= PyInt_FromLong((long)result
);
23580 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23601 resultobj
= PyInt_FromLong((long)result
);
23608 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23609 PyObject
*resultobj
;
23610 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23620 (arg1
)->base_OnLeave();
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 Py_INCREF(Py_None
); resultobj
= Py_None
;
23632 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
;
23634 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23638 PyObject
* obj0
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "x",(char *) "y", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= PyInt_FromLong((long)result
);
23659 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 char *kwnames
[] = {
23668 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:TextDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyTextDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= PyInt_FromLong((long)result
);
23687 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23690 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
23692 return Py_BuildValue((char *)"");
23694 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23695 PyObject
*resultobj
;
23696 wxPyFileDropTarget
*result
;
23697 char *kwnames
[] = {
23701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
23703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileDropTarget
, 1);
23716 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23719 PyObject
*arg2
= (PyObject
*) 0 ;
23720 PyObject
*arg3
= (PyObject
*) 0 ;
23721 PyObject
* obj0
= 0 ;
23722 PyObject
* obj1
= 0 ;
23723 PyObject
* obj2
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "self",(char *) "_class", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 Py_INCREF(Py_None
); resultobj
= Py_None
;
23746 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
;
23748 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23753 PyObject
* obj0
= 0 ;
23754 char *kwnames
[] = {
23755 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 resultobj
= PyInt_FromLong((long)result
);
23774 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 char *kwnames
[] = {
23783 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= PyInt_FromLong((long)result
);
23802 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23803 PyObject
*resultobj
;
23804 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23805 PyObject
* obj0
= 0 ;
23806 char *kwnames
[] = {
23807 (char *) "self", NULL
23810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
23811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 (arg1
)->base_OnLeave();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23819 Py_INCREF(Py_None
); resultobj
= Py_None
;
23826 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23827 PyObject
*resultobj
;
23828 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self",(char *) "x",(char *) "y", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= PyInt_FromLong((long)result
);
23853 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23855 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:FileDropTarget_base_OnData",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= PyInt_FromLong((long)result
);
23881 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
23883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23884 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
23886 return Py_BuildValue((char *)"");
23888 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxClipboard
*result
;
23891 char *kwnames
[] = {
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (wxClipboard
*)new wxClipboard();
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboard
, 1);
23910 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 Py_INCREF(Py_None
); resultobj
= Py_None
;
23934 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (bool)(arg1
)->Open();
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= PyInt_FromLong((long)result
);
23959 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23962 PyObject
* obj0
= 0 ;
23963 char *kwnames
[] = {
23964 (char *) "self", NULL
23967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
23968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 Py_INCREF(Py_None
); resultobj
= Py_None
;
23983 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
;
23985 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "self", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
23993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
23998 wxPyEndAllowThreads(__tstate
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= PyInt_FromLong((long)result
);
24008 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24009 PyObject
*resultobj
;
24010 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24011 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 PyObject
* obj1
= 0 ;
24015 char *kwnames
[] = {
24016 (char *) "self",(char *) "data", NULL
24019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 result
= (bool)(arg1
)->AddData(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= PyInt_FromLong((long)result
);
24036 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24039 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "data", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24049 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (bool)(arg1
)->SetData(arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= PyInt_FromLong((long)result
);
24064 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24067 wxDataFormat
*arg2
= 0 ;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self",(char *) "format", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
24076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24077 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataFormat
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24078 if (arg2
== NULL
) {
24079 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
24085 wxPyEndAllowThreads(__tstate
);
24086 if (PyErr_Occurred()) SWIG_fail
;
24088 resultobj
= PyInt_FromLong((long)result
);
24095 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24096 PyObject
*resultobj
;
24097 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24098 wxDataObject
*arg2
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24102 char *kwnames
[] = {
24103 (char *) "self",(char *) "data", NULL
24106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24108 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDataObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24109 if (arg2
== NULL
) {
24110 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (bool)(arg1
)->GetData(*arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24119 resultobj
= PyInt_FromLong((long)result
);
24126 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24129 PyObject
* obj0
= 0 ;
24130 char *kwnames
[] = {
24131 (char *) "self", NULL
24134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
24135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 Py_INCREF(Py_None
); resultobj
= Py_None
;
24150 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24151 PyObject
*resultobj
;
24152 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24154 PyObject
* obj0
= 0 ;
24155 char *kwnames
[] = {
24156 (char *) "self", NULL
24159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
24160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (bool)(arg1
)->Flush();
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= PyInt_FromLong((long)result
);
24175 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
;
24177 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
24178 bool arg2
= (bool) False
;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "primary", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24188 arg2
= PyInt_AsLong(obj1
) ? true : false;
24189 if (PyErr_Occurred()) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 (arg1
)->UsePrimarySelection(arg2
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 Py_INCREF(Py_None
); resultobj
= Py_None
;
24205 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
24207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24208 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
24210 return Py_BuildValue((char *)"");
24212 static int _wrap_TheClipboard_set(PyObject
*_val
) {
24213 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
24218 static PyObject
*_wrap_TheClipboard_get() {
24221 pyobj
= SWIG_NewPointerObj((void *) wxTheClipboard
, SWIGTYPE_p_wxClipboard
, 0);
24226 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
;
24228 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
24229 wxClipboardLocker
*result
;
24230 PyObject
* obj0
= 0 ;
24231 char *kwnames
[] = {
24232 (char *) "clipboard", NULL
24235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboard
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxClipboardLocker
, 1);
24253 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 Py_INCREF(Py_None
); resultobj
= Py_None
;
24277 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxClipboardLocker
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24290 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
24292 wxPyEndAllowThreads(__tstate
);
24293 if (PyErr_Occurred()) SWIG_fail
;
24295 resultobj
= PyInt_FromLong((long)result
);
24302 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
24304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24305 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
24307 return Py_BuildValue((char *)"");
24309 static PyMethodDef SwigMethods
[] = {
24310 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
24311 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
24312 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
24313 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
24314 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24315 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
24316 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
24317 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
24318 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
24319 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24320 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
24321 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
24322 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
24323 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
24324 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
24325 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
24326 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
24327 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
24328 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24329 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
24330 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
24331 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
24332 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
24333 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
24334 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
24335 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
24336 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
24337 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
24338 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
24339 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
24340 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
24341 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
24342 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
24343 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
24344 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
24345 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
24346 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
24347 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
24348 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
24349 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
24350 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
24351 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
24352 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24353 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24354 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
24355 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
24356 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24357 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24358 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
24359 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
24360 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
24361 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
24362 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
24363 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24364 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
24365 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24366 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
24367 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24368 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
24369 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24370 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
24371 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
24372 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24373 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
24374 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24375 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
24376 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
24377 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
24378 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
24379 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
24380 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24381 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
24382 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
24383 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
24384 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
24385 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
24386 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24387 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24388 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
24389 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
24390 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
24391 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24392 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
24393 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24394 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
24395 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24396 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
24397 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24398 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
24399 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
24400 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
24401 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
24402 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
24403 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
24404 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
24405 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
24406 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
24407 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24408 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
24409 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24410 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
24411 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
24412 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24413 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
24414 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
24415 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24416 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
24417 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
24418 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
24419 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
24420 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
24421 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24422 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
24423 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
24424 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24425 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
24426 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
24427 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
24428 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
24429 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
24430 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
24431 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
24432 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
24433 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
24434 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
24435 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
24436 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
24437 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
24438 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24439 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24440 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
24441 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
24442 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
24443 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
24444 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
24445 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24446 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
24447 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
24448 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
24449 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
24450 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24451 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24452 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
24453 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
24454 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
24455 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24456 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
24457 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24458 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
24459 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
24460 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
24461 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
24462 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24463 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
24464 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
24465 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
24466 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
24467 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
24468 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
24469 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
24470 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
24471 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
24472 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
24473 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
24474 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
24475 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
24476 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24477 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
24478 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24479 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
24480 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
24481 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
24482 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24483 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24484 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24485 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24486 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24487 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24488 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24489 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
24490 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24491 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24492 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24493 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24494 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
24495 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
24496 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
24497 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
24498 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
24499 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
24500 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
24501 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
24502 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
24503 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
24504 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
24505 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
24506 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
24507 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
24508 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24509 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24510 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24511 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
24512 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
24513 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
24514 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
24515 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
24516 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
24517 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
24518 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
24519 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
24520 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
24521 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
24522 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
24523 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
24524 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
24525 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
24526 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
24527 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
24528 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
24529 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
24530 { (char *)"LogTrace", (PyCFunction
) _wrap_LogTrace
, METH_VARARGS
| METH_KEYWORDS
},
24531 { (char *)"LogTraceMask", (PyCFunction
) _wrap_LogTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
24532 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
24533 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
24534 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24535 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
24536 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
24537 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
24538 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24539 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
24540 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
24541 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24542 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
24543 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
24544 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24545 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
24546 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
24547 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
24548 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
24549 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
24550 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
24551 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
24552 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
24553 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
24554 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24555 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
24556 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
24557 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
24558 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
24559 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
24560 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
24561 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
24562 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
24563 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
24564 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
24565 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
24566 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24567 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
24568 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24569 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24570 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24571 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24572 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
24573 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
24574 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
24575 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
24576 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24577 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
24578 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24579 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
24580 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
24581 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
24582 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
24583 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
24584 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
24585 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
24586 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
24587 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
24588 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
24589 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
24590 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
24591 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
24592 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
24593 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
24594 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
24595 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
24596 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
24597 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
24598 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
24599 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
24600 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
24601 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
24602 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
24603 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
24604 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
24605 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
24606 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
24607 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
24608 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
24609 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
24610 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
24611 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
24612 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
24613 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
24614 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
24615 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
24616 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
24617 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
24618 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
24619 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
24620 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
24621 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
24622 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24623 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24624 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24625 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24626 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24627 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
24628 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
24629 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
24630 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
24631 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
24632 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
24633 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
24634 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
24635 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
24636 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
24637 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
24638 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
24639 { (char *)"new_Wave", (PyCFunction
) _wrap_new_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24640 { (char *)"new_WaveData", (PyCFunction
) _wrap_new_WaveData
, METH_VARARGS
| METH_KEYWORDS
},
24641 { (char *)"delete_Wave", (PyCFunction
) _wrap_delete_Wave
, METH_VARARGS
| METH_KEYWORDS
},
24642 { (char *)"Wave_IsOk", (PyCFunction
) _wrap_Wave_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
24643 { (char *)"Wave_Play", (PyCFunction
) _wrap_Wave_Play
, METH_VARARGS
| METH_KEYWORDS
},
24644 { (char *)"Wave_swigregister", Wave_swigregister
, METH_VARARGS
},
24645 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24646 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
24647 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
24648 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24649 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24650 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24651 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24652 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24653 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24654 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
24655 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24656 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24657 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
24658 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
24659 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
24660 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
24661 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24662 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
24663 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24664 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24665 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
24666 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24667 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
24668 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
24669 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
24670 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
24671 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
24672 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
24673 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
24674 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24675 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
24676 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
24677 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
24678 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24679 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
24680 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
24681 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
24682 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
24683 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
24684 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
24685 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
24686 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
24687 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
24688 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
24689 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
24690 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
24691 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24692 { (char *)"delete_ArtProvider", (PyCFunction
) _wrap_delete_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
24693 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24694 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
24695 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
24696 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
24697 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24698 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
24699 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
24700 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
24701 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
24702 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
24703 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
24704 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
24705 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
24706 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
24707 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
24708 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
24709 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
24710 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
24711 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
24712 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
24713 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
24714 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
24715 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
24716 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
24717 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
24718 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
24719 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
24720 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
24721 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
24722 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
24723 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
24724 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
24725 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
24726 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
24727 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
24728 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
24729 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
24730 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
24731 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24732 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24733 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24734 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
24735 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24736 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24737 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24738 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
24739 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
24740 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24741 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
24742 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
24743 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24744 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
24745 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
24746 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
24747 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
24748 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
24749 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
24750 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24751 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
24752 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
24753 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
24754 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24755 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
24756 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
24757 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
24758 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
24759 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
24760 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
24761 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
24762 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
24763 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
24764 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
24765 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
24766 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
24767 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
24768 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
24769 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
24770 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
24771 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
24772 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
24773 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24774 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24775 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
24776 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
24777 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
24778 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
24779 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
24780 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
24781 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24782 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
24783 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
24784 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
24785 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
24786 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24787 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
24788 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
24789 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24790 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24791 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24792 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24793 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
24794 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24795 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24796 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24797 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24798 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24799 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24800 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24801 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
24802 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
24803 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24804 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
24805 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24806 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
24807 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24808 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
24809 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
24810 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
24811 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
24812 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24813 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
24814 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
24815 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
24816 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
24817 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
24818 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
24819 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
24820 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
24821 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
24822 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
24823 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
24824 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
24825 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
24826 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
24827 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24828 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
24829 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
24830 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
24831 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24832 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
24833 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
24834 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
24835 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
24836 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
24837 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
24838 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
24839 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
24840 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
24841 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
24842 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
24843 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24844 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
24845 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
24846 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
24847 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
24848 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
24849 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
24850 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
24851 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
24852 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
24853 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
24854 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
24855 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
24856 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
24857 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
24858 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
24859 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
24860 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
24861 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
24862 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
24863 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
24864 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
24865 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
24866 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
24867 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
24868 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
24869 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
24870 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
24871 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24872 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24873 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
24874 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
24875 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
24876 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
24877 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
24878 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24879 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
24880 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
24881 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
24882 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
24883 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
24884 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
24885 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
24886 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
24887 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
24888 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
24889 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
24890 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
24891 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
24892 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
24893 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
24894 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
24895 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
24896 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
24897 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
24898 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
24899 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
24900 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
24901 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
24902 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24903 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
24904 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
24905 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
24906 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
24907 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
24908 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
24909 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
24910 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
24911 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
24912 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
24913 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
24914 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
24915 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
24916 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
24917 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
24918 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
24919 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
24920 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
24921 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
24922 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24923 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
24924 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
24925 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
24926 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
24927 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
24928 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
24929 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
24930 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
24931 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
24932 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
24933 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
24934 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
24935 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
24936 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
24937 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
24938 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
24939 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
24940 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
24941 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
24942 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
24943 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
24944 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
24945 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
24946 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
24947 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
24948 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24949 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24950 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
24951 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
24952 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
24953 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
24954 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
24955 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
24956 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
24957 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
24958 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
24959 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
24960 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
24961 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
24962 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
24963 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
24964 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
24965 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24966 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
24967 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
24968 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
24969 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
24970 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
24971 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
24972 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24973 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
24974 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
24975 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
24976 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
24977 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24978 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
24979 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
24980 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
24981 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
24982 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24983 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24984 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
24985 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24986 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24987 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
24988 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
24989 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24990 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
24991 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
24992 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24993 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
24994 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
24995 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
24996 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
24997 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
24998 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
24999 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25000 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
25001 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25002 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
25003 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
25004 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
25005 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25006 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
25007 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
25008 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25009 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25010 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
25011 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25012 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25013 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
25014 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
25015 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
25016 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
25017 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25018 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25019 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25020 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25021 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
25022 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25023 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25024 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25025 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25026 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25027 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
25028 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25029 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25030 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25031 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25032 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25033 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25034 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25035 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
25036 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
25037 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
25038 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
25039 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
25040 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
25041 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
25042 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
25043 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
25044 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25045 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
25046 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
25047 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
25048 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
25049 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
25050 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
25051 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
25052 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
25053 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
25054 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
25055 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
25056 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
25057 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25058 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
25059 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
25060 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
25065 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
25067 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
25068 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25070 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
25071 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
25073 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
25074 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
25076 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
25077 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
25079 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
25080 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
25082 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
25083 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
25085 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
25086 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
25088 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
25089 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
25091 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
25092 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
25094 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
25095 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
25097 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
25098 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25100 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
25101 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
25103 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
25104 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
25106 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
25107 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25109 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
25110 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25112 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
25113 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
25115 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
25116 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
25118 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
25119 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
25121 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
25122 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
25124 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
25125 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
25127 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
25128 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
25130 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
25131 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
25133 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
25134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25136 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
25137 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25139 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
25140 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25142 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
25143 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25145 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
25146 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25148 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
25149 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
25151 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
25152 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
25154 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
25155 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25157 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
25158 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
25160 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
25161 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
25163 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
25164 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
25166 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
25167 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25169 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
25170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25172 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
25173 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25175 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
25176 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
25178 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
25179 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
25181 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
25182 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
25184 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
25185 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
25187 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
25188 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25190 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
25191 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25193 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
25194 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
25196 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
25197 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25199 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
25200 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
25202 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
25203 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25205 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
25206 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25208 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
25209 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25211 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
25212 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25214 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
25215 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25217 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
25218 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25220 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
25221 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25223 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
25224 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25226 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
25227 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
25229 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
25230 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
25232 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25233 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
25235 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
25236 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
25238 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25239 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
25241 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
25242 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
25244 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25245 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
25247 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
25248 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
25250 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
25251 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
25253 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
25254 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
25256 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
25257 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
25259 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
25260 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25262 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
25263 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
25265 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
25266 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
25268 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
25269 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
25271 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
25272 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
25274 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
25275 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
25277 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
25278 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
25280 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
25281 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
25283 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
25284 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
25286 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
25287 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
25289 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
25290 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
25292 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
25293 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
25295 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
25296 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
25298 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
25299 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
25301 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
25302 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
25304 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
25305 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
25307 static void *_p_wxSizerTo_p_wxObject(void *x
) {
25308 return (void *)((wxObject
*) ((wxSizer
*) x
));
25310 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
25311 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
25313 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
25314 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
25316 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
25317 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
25319 static void *_p_wxEventTo_p_wxObject(void *x
) {
25320 return (void *)((wxObject
*) ((wxEvent
*) x
));
25322 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
25323 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
25325 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
25326 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
25328 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
25329 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
25331 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
25332 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
25334 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
25335 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
25337 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
25338 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
25340 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
25341 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
25343 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
25344 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
25346 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
25347 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
25349 static void *_p_wxControlTo_p_wxObject(void *x
) {
25350 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
25352 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
25353 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
25355 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
25356 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
25358 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
25359 return (void *)((wxObject
*) ((wxFSFile
*) x
));
25361 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
25362 return (void *)((wxObject
*) ((wxClipboard
*) x
));
25364 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
25365 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
25367 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
25368 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
25370 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
25371 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
25373 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
25374 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
25376 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
25377 return (void *)((wxObject
*) ((wxToolTip
*) x
));
25379 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
25380 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
25382 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
25383 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
25385 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
25386 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
25388 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
25389 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
25391 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
25392 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
25394 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
25395 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
25397 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
25398 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
25400 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
25401 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
25403 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
25404 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
25406 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
25407 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
25409 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
25410 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
25412 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
25413 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
25415 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
25416 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
25418 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
25419 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
25421 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
25422 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
25424 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
25425 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
25427 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
25428 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
25430 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
25431 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
25433 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
25434 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
25436 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
25437 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
25439 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
25440 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
25442 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
25443 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
25445 static void *_p_wxImageTo_p_wxObject(void *x
) {
25446 return (void *)((wxObject
*) ((wxImage
*) x
));
25448 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
25449 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
25451 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
25452 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
25454 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
25455 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
25457 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
25458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
25460 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
25461 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
25463 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
25464 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
25466 static void *_p_wxWindowTo_p_wxObject(void *x
) {
25467 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
25469 static void *_p_wxMenuTo_p_wxObject(void *x
) {
25470 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
25472 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
25473 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
25475 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
25476 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
25478 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
25479 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
25481 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
25482 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
25484 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
25485 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
25487 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
25488 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
25490 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
25491 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
25493 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
25494 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
25496 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
25497 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
25499 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
25500 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
25502 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
25503 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
25505 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
25506 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
25508 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
25509 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
25511 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
25512 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
25514 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
25515 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
25517 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
25518 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
25520 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
25521 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
25523 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
25524 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
25526 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
25527 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
25529 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
25530 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
25532 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
25533 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
25535 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
25536 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
25538 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
25539 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
25541 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
25542 return (void *)((wxLog
*) ((wxLogChain
*) x
));
25544 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
25545 return (void *)((wxLog
*) ((wxLogGui
*) x
));
25547 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
25548 return (void *)((wxLog
*) ((wxPyLog
*) x
));
25550 static void *_p_wxControlTo_p_wxWindow(void *x
) {
25551 return (void *)((wxWindow
*) ((wxControl
*) x
));
25553 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
25554 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
25556 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
25557 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
25559 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
25560 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
25562 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
25563 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
25565 static swig_type_info _swigt__p_wxLogChain
[] = {{"_p_wxLogChain", 0, "wxLogChain *", 0},{"_p_wxLogChain"},{0}};
25566 static swig_type_info _swigt__p_wxMutexGuiLocker
[] = {{"_p_wxMutexGuiLocker", 0, "wxMutexGuiLocker *", 0},{"_p_wxMutexGuiLocker"},{0}};
25567 static swig_type_info _swigt__p_wxFileHistory
[] = {{"_p_wxFileHistory", 0, "wxFileHistory *", 0},{"_p_wxFileHistory"},{0}};
25568 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}};
25569 static swig_type_info _swigt__p_wxDateTime__TimeZone
[] = {{"_p_wxDateTime__TimeZone", 0, "wxDateTime::TimeZone *", 0},{"_p_wxDateTime__TimeZone"},{0}};
25570 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
25571 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}};
25572 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}};
25573 static swig_type_info _swigt__p_wxWave
[] = {{"_p_wxWave", 0, "wxWave *", 0},{"_p_wxWave"},{0}};
25574 static swig_type_info _swigt__p_wxFileType
[] = {{"_p_wxFileType", 0, "wxFileType *", 0},{"_p_wxFileType"},{0}};
25575 static swig_type_info _swigt__p_wxLogGui
[] = {{"_p_wxLogGui", 0, "wxLogGui *", 0},{"_p_wxLogGui"},{0}};
25576 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
25577 static swig_type_info _swigt__p_wxDataFormat
[] = {{"_p_wxDataFormat", 0, "wxDataFormat *", 0},{"_p_wxDataFormat"},{0}};
25578 static swig_type_info _swigt__p_wxTimerEvent
[] = {{"_p_wxTimerEvent", 0, "wxTimerEvent *", 0},{"_p_wxTimerEvent"},{0}};
25579 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
25580 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
25581 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
25582 static swig_type_info _swigt__p_wxClipboard
[] = {{"_p_wxClipboard", 0, "wxClipboard *", 0},{"_p_wxClipboard"},{0}};
25583 static swig_type_info _swigt__p_wxStopWatch
[] = {{"_p_wxStopWatch", 0, "wxStopWatch *", 0},{"_p_wxStopWatch"},{0}};
25584 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
25585 static swig_type_info _swigt__p_wxClipboardLocker
[] = {{"_p_wxClipboardLocker", 0, "wxClipboardLocker *", 0},{"_p_wxClipboardLocker"},{0}};
25586 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
25587 static swig_type_info _swigt__p_wxLogStderr
[] = {{"_p_wxLogStderr", 0, "wxLogStderr *", 0},{"_p_wxLogStderr"},{0}};
25588 static swig_type_info _swigt__p_wxLogTextCtrl
[] = {{"_p_wxLogTextCtrl", 0, "wxLogTextCtrl *", 0},{"_p_wxLogTextCtrl"},{0}};
25589 static swig_type_info _swigt__p_wxTextCtrl
[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
25590 static swig_type_info _swigt__p_wxBusyCursor
[] = {{"_p_wxBusyCursor", 0, "wxBusyCursor *", 0},{"_p_wxBusyCursor"},{0}};
25591 static swig_type_info _swigt__p_wxFileDataObject
[] = {{"_p_wxFileDataObject", 0, "wxFileDataObject *", 0},{"_p_wxFileDataObject"},{0}};
25592 static swig_type_info _swigt__p_wxPyBitmapDataObject
[] = {{"_p_wxPyBitmapDataObject", 0, "wxPyBitmapDataObject *", 0},{"_p_wxPyBitmapDataObject"},{0}};
25593 static swig_type_info _swigt__p_wxPyTextDataObject
[] = {{"_p_wxPyTextDataObject", 0, "wxPyTextDataObject *", 0},{"_p_wxPyTextDataObject"},{0}};
25594 static swig_type_info _swigt__p_wxBitmapDataObject
[] = {{"_p_wxBitmapDataObject", 0, "wxBitmapDataObject *", 0},{"_p_wxBitmapDataObject"},{"_p_wxPyBitmapDataObject", _p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject
},{0}};
25595 static swig_type_info _swigt__p_wxTextDataObject
[] = {{"_p_wxTextDataObject", 0, "wxTextDataObject *", 0},{"_p_wxTextDataObject"},{"_p_wxPyTextDataObject", _p_wxPyTextDataObjectTo_p_wxTextDataObject
},{0}};
25596 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}};
25597 static swig_type_info _swigt__p_wxCustomDataObject
[] = {{"_p_wxCustomDataObject", 0, "wxCustomDataObject *", 0},{"_p_wxCustomDataObject"},{0}};
25598 static swig_type_info _swigt__p_wxURLDataObject
[] = {{"_p_wxURLDataObject", 0, "wxURLDataObject *", 0},{"_p_wxURLDataObject"},{0}};
25599 static swig_type_info _swigt__p_wxMetafileDataObject
[] = {{"_p_wxMetafileDataObject", 0, "wxMetafileDataObject *", 0},{"_p_wxMetafileDataObject"},{0}};
25600 static swig_type_info _swigt__p_wxTimerRunner
[] = {{"_p_wxTimerRunner", 0, "wxTimerRunner *", 0},{"_p_wxTimerRunner"},{0}};
25601 static swig_type_info _swigt__p_wxLogWindow
[] = {{"_p_wxLogWindow", 0, "wxLogWindow *", 0},{"_p_wxLogWindow"},{0}};
25602 static swig_type_info _swigt__p_wxTimeSpan
[] = {{"_p_wxTimeSpan", 0, "wxTimeSpan *", 0},{"_p_wxTimeSpan"},{0}};
25603 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
25604 static swig_type_info _swigt__p_wxWindowDisabler
[] = {{"_p_wxWindowDisabler", 0, "wxWindowDisabler *", 0},{"_p_wxWindowDisabler"},{0}};
25605 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
25606 static swig_type_info _swigt__p_wxDataObjectComposite
[] = {{"_p_wxDataObjectComposite", 0, "wxDataObjectComposite *", 0},{"_p_wxDataObjectComposite"},{"_p_wxURLDataObject", _p_wxURLDataObjectTo_p_wxDataObjectComposite
},{0}};
25607 static swig_type_info _swigt__p_wxFileConfig
[] = {{"_p_wxFileConfig", 0, "wxFileConfig *", 0},{"_p_wxFileConfig"},{0}};
25608 static swig_type_info _swigt__p_wxSystemSettings
[] = {{"_p_wxSystemSettings", 0, "wxSystemSettings *", 0},{"_p_wxSystemSettings"},{0}};
25609 static swig_type_info _swigt__p_wxPyDataObjectSimple
[] = {{"_p_wxPyDataObjectSimple", 0, "wxPyDataObjectSimple *", 0},{"_p_wxPyDataObjectSimple"},{0}};
25610 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}};
25611 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}};
25612 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
25613 static swig_type_info _swigt__p_wxSingleInstanceChecker
[] = {{"_p_wxSingleInstanceChecker", 0, "wxSingleInstanceChecker *", 0},{"_p_wxSingleInstanceChecker"},{0}};
25614 static swig_type_info _swigt__p_wxFileTypeInfo
[] = {{"_p_wxFileTypeInfo", 0, "wxFileTypeInfo *", 0},{"_p_wxFileTypeInfo"},{0}};
25615 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
25616 static swig_type_info _swigt__p_wxTimer
[] = {{"_p_wxTimer", 0, "wxTimer *", 0},{"_p_wxTimer"},{0}};
25617 static swig_type_info _swigt__p_wxMimeTypesManager
[] = {{"_p_wxMimeTypesManager", 0, "wxMimeTypesManager *", 0},{"_p_wxMimeTypesManager"},{0}};
25618 static swig_type_info _swigt__p_wxPyArtProvider
[] = {{"_p_wxPyArtProvider", 0, "wxPyArtProvider *", 0},{"_p_wxPyArtProvider"},{0}};
25619 static swig_type_info _swigt__p_wxPyTipProvider
[] = {{"_p_wxPyTipProvider", 0, "wxPyTipProvider *", 0},{"_p_wxPyTipProvider"},{0}};
25620 static swig_type_info _swigt__p_wxTipProvider
[] = {{"_p_wxTipProvider", 0, "wxTipProvider *", 0},{"_p_wxTipProvider"},{"_p_wxPyTipProvider", _p_wxPyTipProviderTo_p_wxTipProvider
},{0}};
25621 static swig_type_info _swigt__p_wxJoystick
[] = {{"_p_wxJoystick", 0, "wxJoystick *", 0},{"_p_wxJoystick"},{0}};
25622 static swig_type_info _swigt__p_wxSystemOptions
[] = {{"_p_wxSystemOptions", 0, "wxSystemOptions *", 0},{"_p_wxSystemOptions"},{0}};
25623 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
25624 static swig_type_info _swigt__p_wxJoystickEvent
[] = {{"_p_wxJoystickEvent", 0, "wxJoystickEvent *", 0},{"_p_wxJoystickEvent"},{0}};
25625 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
25626 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}};
25627 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
25628 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
25629 static swig_type_info _swigt__p_wxPyDropSource
[] = {{"_p_wxPyDropSource", 0, "wxPyDropSource *", 0},{"_p_wxPyDropSource"},{0}};
25630 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}};
25631 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
25632 static swig_type_info _swigt__p_wxPyProcess
[] = {{"_p_wxPyProcess", 0, "wxPyProcess *", 0},{"_p_wxPyProcess"},{0}};
25633 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
25634 static swig_type_info _swigt__p_wxConfig
[] = {{"_p_wxConfig", 0, "wxConfig *", 0},{"_p_wxConfig"},{0}};
25635 static swig_type_info _swigt__p_wxChar
[] = {{"_p_wxChar", 0, "wxChar *", 0},{"_p_wxChar"},{0}};
25636 static swig_type_info _swigt__p_wxBusyInfo
[] = {{"_p_wxBusyInfo", 0, "wxBusyInfo *", 0},{"_p_wxBusyInfo"},{0}};
25637 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}};
25638 static swig_type_info _swigt__p_wxPyTextDropTarget
[] = {{"_p_wxPyTextDropTarget", 0, "wxPyTextDropTarget *", 0},{"_p_wxPyTextDropTarget"},{0}};
25639 static swig_type_info _swigt__p_wxPyFileDropTarget
[] = {{"_p_wxPyFileDropTarget", 0, "wxPyFileDropTarget *", 0},{"_p_wxPyFileDropTarget"},{0}};
25640 static swig_type_info _swigt__p_wxProcessEvent
[] = {{"_p_wxProcessEvent", 0, "wxProcessEvent *", 0},{"_p_wxProcessEvent"},{0}};
25641 static swig_type_info _swigt__p_wxPyLog
[] = {{"_p_wxPyLog", 0, "wxPyLog *", 0},{"_p_wxPyLog"},{0}};
25642 static swig_type_info _swigt__p_wxLogNull
[] = {{"_p_wxLogNull", 0, "wxLogNull *", 0},{"_p_wxLogNull"},{0}};
25643 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
25644 static swig_type_info _swigt__p_wxConfigPathChanger
[] = {{"_p_wxConfigPathChanger", 0, "wxConfigPathChanger *", 0},{"_p_wxConfigPathChanger"},{0}};
25645 static swig_type_info _swigt__p_wxPyTimer
[] = {{"_p_wxPyTimer", 0, "wxPyTimer *", 0},{"_p_wxPyTimer"},{0}};
25646 static swig_type_info _swigt__p_wxDateSpan
[] = {{"_p_wxDateSpan", 0, "wxDateSpan *", 0},{"_p_wxDateSpan"},{0}};
25648 static swig_type_info
*swig_types_initial
[] = {
25649 _swigt__p_wxLogChain
,
25650 _swigt__p_wxMutexGuiLocker
,
25651 _swigt__p_wxFileHistory
,
25653 _swigt__p_wxDateTime__TimeZone
,
25656 _swigt__p_wxConfigBase
,
25658 _swigt__p_wxFileType
,
25659 _swigt__p_wxLogGui
,
25661 _swigt__p_wxDataFormat
,
25662 _swigt__p_wxTimerEvent
,
25666 _swigt__p_wxClipboard
,
25667 _swigt__p_wxStopWatch
,
25669 _swigt__p_wxClipboardLocker
,
25671 _swigt__p_wxLogStderr
,
25672 _swigt__p_wxLogTextCtrl
,
25673 _swigt__p_wxTextCtrl
,
25674 _swigt__p_wxBusyCursor
,
25675 _swigt__p_wxFileDataObject
,
25676 _swigt__p_wxPyBitmapDataObject
,
25677 _swigt__p_wxPyTextDataObject
,
25678 _swigt__p_wxBitmapDataObject
,
25679 _swigt__p_wxTextDataObject
,
25680 _swigt__p_wxDataObject
,
25681 _swigt__p_wxCustomDataObject
,
25682 _swigt__p_wxURLDataObject
,
25683 _swigt__p_wxMetafileDataObject
,
25684 _swigt__p_wxTimerRunner
,
25685 _swigt__p_wxLogWindow
,
25686 _swigt__p_wxTimeSpan
,
25687 _swigt__p_wxArrayString
,
25688 _swigt__p_wxWindowDisabler
,
25689 _swigt__p_wxToolTip
,
25690 _swigt__p_wxDataObjectComposite
,
25691 _swigt__p_wxFileConfig
,
25692 _swigt__p_wxSystemSettings
,
25693 _swigt__p_wxPyDataObjectSimple
,
25694 _swigt__p_wxDataObjectSimple
,
25695 _swigt__p_wxEvtHandler
,
25697 _swigt__p_wxSingleInstanceChecker
,
25698 _swigt__p_wxFileTypeInfo
,
25701 _swigt__p_wxMimeTypesManager
,
25702 _swigt__p_wxPyArtProvider
,
25703 _swigt__p_wxPyTipProvider
,
25704 _swigt__p_wxTipProvider
,
25705 _swigt__p_wxJoystick
,
25706 _swigt__p_wxSystemOptions
,
25708 _swigt__p_wxJoystickEvent
,
25709 _swigt__p_wxCursor
,
25710 _swigt__p_wxObject
,
25711 _swigt__p_wxOutputStream
,
25712 _swigt__p_wxDateTime
,
25713 _swigt__p_wxPyDropSource
,
25714 _swigt__p_wxWindow
,
25715 _swigt__p_wxString
,
25716 _swigt__p_wxPyProcess
,
25717 _swigt__p_wxBitmap
,
25718 _swigt__p_wxConfig
,
25720 _swigt__p_wxBusyInfo
,
25721 _swigt__p_wxPyDropTarget
,
25722 _swigt__p_wxPyTextDropTarget
,
25723 _swigt__p_wxPyFileDropTarget
,
25724 _swigt__p_wxProcessEvent
,
25726 _swigt__p_wxLogNull
,
25727 _swigt__p_wxColour
,
25728 _swigt__p_wxConfigPathChanger
,
25729 _swigt__p_wxPyTimer
,
25730 _swigt__p_wxDateSpan
,
25735 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
25737 static swig_const_info swig_const_table
[] = {
25738 { SWIG_PY_INT
, (char *)"SYS_OEM_FIXED_FONT", (long) wxSYS_OEM_FIXED_FONT
, 0, 0, 0},
25739 { SWIG_PY_INT
, (char *)"SYS_ANSI_FIXED_FONT", (long) wxSYS_ANSI_FIXED_FONT
, 0, 0, 0},
25740 { SWIG_PY_INT
, (char *)"SYS_ANSI_VAR_FONT", (long) wxSYS_ANSI_VAR_FONT
, 0, 0, 0},
25741 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FONT", (long) wxSYS_SYSTEM_FONT
, 0, 0, 0},
25742 { SWIG_PY_INT
, (char *)"SYS_DEVICE_DEFAULT_FONT", (long) wxSYS_DEVICE_DEFAULT_FONT
, 0, 0, 0},
25743 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_PALETTE", (long) wxSYS_DEFAULT_PALETTE
, 0, 0, 0},
25744 { SWIG_PY_INT
, (char *)"SYS_SYSTEM_FIXED_FONT", (long) wxSYS_SYSTEM_FIXED_FONT
, 0, 0, 0},
25745 { SWIG_PY_INT
, (char *)"SYS_DEFAULT_GUI_FONT", (long) wxSYS_DEFAULT_GUI_FONT
, 0, 0, 0},
25746 { SWIG_PY_INT
, (char *)"SYS_ICONTITLE_FONT", (long) wxSYS_ICONTITLE_FONT
, 0, 0, 0},
25747 { SWIG_PY_INT
, (char *)"SYS_COLOUR_SCROLLBAR", (long) wxSYS_COLOUR_SCROLLBAR
, 0, 0, 0},
25748 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BACKGROUND", (long) wxSYS_COLOUR_BACKGROUND
, 0, 0, 0},
25749 { SWIG_PY_INT
, (char *)"SYS_COLOUR_DESKTOP", (long) wxSYS_COLOUR_DESKTOP
, 0, 0, 0},
25750 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVECAPTION", (long) wxSYS_COLOUR_ACTIVECAPTION
, 0, 0, 0},
25751 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTION", (long) wxSYS_COLOUR_INACTIVECAPTION
, 0, 0, 0},
25752 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENU", (long) wxSYS_COLOUR_MENU
, 0, 0, 0},
25753 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOW", (long) wxSYS_COLOUR_WINDOW
, 0, 0, 0},
25754 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWFRAME", (long) wxSYS_COLOUR_WINDOWFRAME
, 0, 0, 0},
25755 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUTEXT", (long) wxSYS_COLOUR_MENUTEXT
, 0, 0, 0},
25756 { SWIG_PY_INT
, (char *)"SYS_COLOUR_WINDOWTEXT", (long) wxSYS_COLOUR_WINDOWTEXT
, 0, 0, 0},
25757 { SWIG_PY_INT
, (char *)"SYS_COLOUR_CAPTIONTEXT", (long) wxSYS_COLOUR_CAPTIONTEXT
, 0, 0, 0},
25758 { SWIG_PY_INT
, (char *)"SYS_COLOUR_ACTIVEBORDER", (long) wxSYS_COLOUR_ACTIVEBORDER
, 0, 0, 0},
25759 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVEBORDER", (long) wxSYS_COLOUR_INACTIVEBORDER
, 0, 0, 0},
25760 { SWIG_PY_INT
, (char *)"SYS_COLOUR_APPWORKSPACE", (long) wxSYS_COLOUR_APPWORKSPACE
, 0, 0, 0},
25761 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHT", (long) wxSYS_COLOUR_HIGHLIGHT
, 0, 0, 0},
25762 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HIGHLIGHTTEXT", (long) wxSYS_COLOUR_HIGHLIGHTTEXT
, 0, 0, 0},
25763 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNFACE", (long) wxSYS_COLOUR_BTNFACE
, 0, 0, 0},
25764 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DFACE", (long) wxSYS_COLOUR_3DFACE
, 0, 0, 0},
25765 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNSHADOW", (long) wxSYS_COLOUR_BTNSHADOW
, 0, 0, 0},
25766 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DSHADOW", (long) wxSYS_COLOUR_3DSHADOW
, 0, 0, 0},
25767 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRAYTEXT", (long) wxSYS_COLOUR_GRAYTEXT
, 0, 0, 0},
25768 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNTEXT", (long) wxSYS_COLOUR_BTNTEXT
, 0, 0, 0},
25769 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INACTIVECAPTIONTEXT", (long) wxSYS_COLOUR_INACTIVECAPTIONTEXT
, 0, 0, 0},
25770 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHIGHLIGHT", (long) wxSYS_COLOUR_BTNHIGHLIGHT
, 0, 0, 0},
25771 { SWIG_PY_INT
, (char *)"SYS_COLOUR_BTNHILIGHT", (long) wxSYS_COLOUR_BTNHILIGHT
, 0, 0, 0},
25772 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHIGHLIGHT", (long) wxSYS_COLOUR_3DHIGHLIGHT
, 0, 0, 0},
25773 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DHILIGHT", (long) wxSYS_COLOUR_3DHILIGHT
, 0, 0, 0},
25774 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DDKSHADOW", (long) wxSYS_COLOUR_3DDKSHADOW
, 0, 0, 0},
25775 { SWIG_PY_INT
, (char *)"SYS_COLOUR_3DLIGHT", (long) wxSYS_COLOUR_3DLIGHT
, 0, 0, 0},
25776 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOTEXT", (long) wxSYS_COLOUR_INFOTEXT
, 0, 0, 0},
25777 { SWIG_PY_INT
, (char *)"SYS_COLOUR_INFOBK", (long) wxSYS_COLOUR_INFOBK
, 0, 0, 0},
25778 { SWIG_PY_INT
, (char *)"SYS_COLOUR_LISTBOX", (long) wxSYS_COLOUR_LISTBOX
, 0, 0, 0},
25779 { SWIG_PY_INT
, (char *)"SYS_COLOUR_HOTLIGHT", (long) wxSYS_COLOUR_HOTLIGHT
, 0, 0, 0},
25780 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTACTIVECAPTION
, 0, 0, 0},
25781 { SWIG_PY_INT
, (char *)"SYS_COLOUR_GRADIENTINACTIVECAPTION", (long) wxSYS_COLOUR_GRADIENTINACTIVECAPTION
, 0, 0, 0},
25782 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUHILIGHT", (long) wxSYS_COLOUR_MENUHILIGHT
, 0, 0, 0},
25783 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MENUBAR", (long) wxSYS_COLOUR_MENUBAR
, 0, 0, 0},
25784 { SWIG_PY_INT
, (char *)"SYS_COLOUR_MAX", (long) wxSYS_COLOUR_MAX
, 0, 0, 0},
25785 { SWIG_PY_INT
, (char *)"SYS_MOUSE_BUTTONS", (long) wxSYS_MOUSE_BUTTONS
, 0, 0, 0},
25786 { SWIG_PY_INT
, (char *)"SYS_BORDER_X", (long) wxSYS_BORDER_X
, 0, 0, 0},
25787 { SWIG_PY_INT
, (char *)"SYS_BORDER_Y", (long) wxSYS_BORDER_Y
, 0, 0, 0},
25788 { SWIG_PY_INT
, (char *)"SYS_CURSOR_X", (long) wxSYS_CURSOR_X
, 0, 0, 0},
25789 { SWIG_PY_INT
, (char *)"SYS_CURSOR_Y", (long) wxSYS_CURSOR_Y
, 0, 0, 0},
25790 { SWIG_PY_INT
, (char *)"SYS_DCLICK_X", (long) wxSYS_DCLICK_X
, 0, 0, 0},
25791 { SWIG_PY_INT
, (char *)"SYS_DCLICK_Y", (long) wxSYS_DCLICK_Y
, 0, 0, 0},
25792 { SWIG_PY_INT
, (char *)"SYS_DRAG_X", (long) wxSYS_DRAG_X
, 0, 0, 0},
25793 { SWIG_PY_INT
, (char *)"SYS_DRAG_Y", (long) wxSYS_DRAG_Y
, 0, 0, 0},
25794 { SWIG_PY_INT
, (char *)"SYS_EDGE_X", (long) wxSYS_EDGE_X
, 0, 0, 0},
25795 { SWIG_PY_INT
, (char *)"SYS_EDGE_Y", (long) wxSYS_EDGE_Y
, 0, 0, 0},
25796 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_X", (long) wxSYS_HSCROLL_ARROW_X
, 0, 0, 0},
25797 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_ARROW_Y", (long) wxSYS_HSCROLL_ARROW_Y
, 0, 0, 0},
25798 { SWIG_PY_INT
, (char *)"SYS_HTHUMB_X", (long) wxSYS_HTHUMB_X
, 0, 0, 0},
25799 { SWIG_PY_INT
, (char *)"SYS_ICON_X", (long) wxSYS_ICON_X
, 0, 0, 0},
25800 { SWIG_PY_INT
, (char *)"SYS_ICON_Y", (long) wxSYS_ICON_Y
, 0, 0, 0},
25801 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_X", (long) wxSYS_ICONSPACING_X
, 0, 0, 0},
25802 { SWIG_PY_INT
, (char *)"SYS_ICONSPACING_Y", (long) wxSYS_ICONSPACING_Y
, 0, 0, 0},
25803 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_X", (long) wxSYS_WINDOWMIN_X
, 0, 0, 0},
25804 { SWIG_PY_INT
, (char *)"SYS_WINDOWMIN_Y", (long) wxSYS_WINDOWMIN_Y
, 0, 0, 0},
25805 { SWIG_PY_INT
, (char *)"SYS_SCREEN_X", (long) wxSYS_SCREEN_X
, 0, 0, 0},
25806 { SWIG_PY_INT
, (char *)"SYS_SCREEN_Y", (long) wxSYS_SCREEN_Y
, 0, 0, 0},
25807 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_X", (long) wxSYS_FRAMESIZE_X
, 0, 0, 0},
25808 { SWIG_PY_INT
, (char *)"SYS_FRAMESIZE_Y", (long) wxSYS_FRAMESIZE_Y
, 0, 0, 0},
25809 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_X", (long) wxSYS_SMALLICON_X
, 0, 0, 0},
25810 { SWIG_PY_INT
, (char *)"SYS_SMALLICON_Y", (long) wxSYS_SMALLICON_Y
, 0, 0, 0},
25811 { SWIG_PY_INT
, (char *)"SYS_HSCROLL_Y", (long) wxSYS_HSCROLL_Y
, 0, 0, 0},
25812 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_X", (long) wxSYS_VSCROLL_X
, 0, 0, 0},
25813 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_X", (long) wxSYS_VSCROLL_ARROW_X
, 0, 0, 0},
25814 { SWIG_PY_INT
, (char *)"SYS_VSCROLL_ARROW_Y", (long) wxSYS_VSCROLL_ARROW_Y
, 0, 0, 0},
25815 { SWIG_PY_INT
, (char *)"SYS_VTHUMB_Y", (long) wxSYS_VTHUMB_Y
, 0, 0, 0},
25816 { SWIG_PY_INT
, (char *)"SYS_CAPTION_Y", (long) wxSYS_CAPTION_Y
, 0, 0, 0},
25817 { SWIG_PY_INT
, (char *)"SYS_MENU_Y", (long) wxSYS_MENU_Y
, 0, 0, 0},
25818 { SWIG_PY_INT
, (char *)"SYS_NETWORK_PRESENT", (long) wxSYS_NETWORK_PRESENT
, 0, 0, 0},
25819 { SWIG_PY_INT
, (char *)"SYS_PENWINDOWS_PRESENT", (long) wxSYS_PENWINDOWS_PRESENT
, 0, 0, 0},
25820 { SWIG_PY_INT
, (char *)"SYS_SHOW_SOUNDS", (long) wxSYS_SHOW_SOUNDS
, 0, 0, 0},
25821 { SWIG_PY_INT
, (char *)"SYS_SWAP_BUTTONS", (long) wxSYS_SWAP_BUTTONS
, 0, 0, 0},
25822 { SWIG_PY_INT
, (char *)"SYS_CAN_DRAW_FRAME_DECORATIONS", (long) wxSYS_CAN_DRAW_FRAME_DECORATIONS
, 0, 0, 0},
25823 { SWIG_PY_INT
, (char *)"SYS_CAN_ICONIZE_FRAME", (long) wxSYS_CAN_ICONIZE_FRAME
, 0, 0, 0},
25824 { SWIG_PY_INT
, (char *)"SYS_SCREEN_NONE", (long) wxSYS_SCREEN_NONE
, 0, 0, 0},
25825 { SWIG_PY_INT
, (char *)"SYS_SCREEN_TINY", (long) wxSYS_SCREEN_TINY
, 0, 0, 0},
25826 { SWIG_PY_INT
, (char *)"SYS_SCREEN_PDA", (long) wxSYS_SCREEN_PDA
, 0, 0, 0},
25827 { SWIG_PY_INT
, (char *)"SYS_SCREEN_SMALL", (long) wxSYS_SCREEN_SMALL
, 0, 0, 0},
25828 { SWIG_PY_INT
, (char *)"SYS_SCREEN_DESKTOP", (long) wxSYS_SCREEN_DESKTOP
, 0, 0, 0},
25829 { SWIG_PY_INT
, (char *)"SHUTDOWN_POWEROFF", (long) wxSHUTDOWN_POWEROFF
, 0, 0, 0},
25830 { SWIG_PY_INT
, (char *)"SHUTDOWN_REBOOT", (long) wxSHUTDOWN_REBOOT
, 0, 0, 0},
25831 { SWIG_PY_INT
, (char *)"TIMER_CONTINUOUS", (long) wxTIMER_CONTINUOUS
, 0, 0, 0},
25832 { SWIG_PY_INT
, (char *)"TIMER_ONE_SHOT", (long) wxTIMER_ONE_SHOT
, 0, 0, 0},
25833 { SWIG_PY_INT
, (char *)"wxEVT_TIMER", (long) wxEVT_TIMER
, 0, 0, 0},
25834 { SWIG_PY_INT
, (char *)"LOG_FatalError", (long) wxLOG_FatalError
, 0, 0, 0},
25835 { SWIG_PY_INT
, (char *)"LOG_Error", (long) wxLOG_Error
, 0, 0, 0},
25836 { SWIG_PY_INT
, (char *)"LOG_Warning", (long) wxLOG_Warning
, 0, 0, 0},
25837 { SWIG_PY_INT
, (char *)"LOG_Message", (long) wxLOG_Message
, 0, 0, 0},
25838 { SWIG_PY_INT
, (char *)"LOG_Status", (long) wxLOG_Status
, 0, 0, 0},
25839 { SWIG_PY_INT
, (char *)"LOG_Info", (long) wxLOG_Info
, 0, 0, 0},
25840 { SWIG_PY_INT
, (char *)"LOG_Debug", (long) wxLOG_Debug
, 0, 0, 0},
25841 { SWIG_PY_INT
, (char *)"LOG_Trace", (long) wxLOG_Trace
, 0, 0, 0},
25842 { SWIG_PY_INT
, (char *)"LOG_Progress", (long) wxLOG_Progress
, 0, 0, 0},
25843 { SWIG_PY_INT
, (char *)"LOG_User", (long) wxLOG_User
, 0, 0, 0},
25844 { SWIG_PY_INT
, (char *)"LOG_Max", (long) wxLOG_Max
, 0, 0, 0},
25845 { SWIG_PY_STRING
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", 0},
25846 { SWIG_PY_STRING
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", 0},
25847 { SWIG_PY_STRING
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", 0},
25848 { SWIG_PY_STRING
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", 0},
25849 { SWIG_PY_STRING
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", 0},
25850 { SWIG_PY_INT
, (char *)"TraceMemAlloc", (long) 0x0001, 0, 0, 0},
25851 { SWIG_PY_INT
, (char *)"TraceMessages", (long) 0x0002, 0, 0, 0},
25852 { SWIG_PY_INT
, (char *)"TraceResAlloc", (long) 0x0004, 0, 0, 0},
25853 { SWIG_PY_INT
, (char *)"TraceRefCount", (long) 0x0008, 0, 0, 0},
25854 { SWIG_PY_INT
, (char *)"TraceOleCalls", (long) 0x0100, 0, 0, 0},
25855 { SWIG_PY_INT
, (char *)"PROCESS_DEFAULT", (long) wxPROCESS_DEFAULT
, 0, 0, 0},
25856 { SWIG_PY_INT
, (char *)"PROCESS_REDIRECT", (long) wxPROCESS_REDIRECT
, 0, 0, 0},
25857 { SWIG_PY_INT
, (char *)"KILL_OK", (long) wxKILL_OK
, 0, 0, 0},
25858 { SWIG_PY_INT
, (char *)"KILL_BAD_SIGNAL", (long) wxKILL_BAD_SIGNAL
, 0, 0, 0},
25859 { SWIG_PY_INT
, (char *)"KILL_ACCESS_DENIED", (long) wxKILL_ACCESS_DENIED
, 0, 0, 0},
25860 { SWIG_PY_INT
, (char *)"KILL_NO_PROCESS", (long) wxKILL_NO_PROCESS
, 0, 0, 0},
25861 { SWIG_PY_INT
, (char *)"KILL_ERROR", (long) wxKILL_ERROR
, 0, 0, 0},
25862 { SWIG_PY_INT
, (char *)"SIGNONE", (long) wxSIGNONE
, 0, 0, 0},
25863 { SWIG_PY_INT
, (char *)"SIGHUP", (long) wxSIGHUP
, 0, 0, 0},
25864 { SWIG_PY_INT
, (char *)"SIGINT", (long) wxSIGINT
, 0, 0, 0},
25865 { SWIG_PY_INT
, (char *)"SIGQUIT", (long) wxSIGQUIT
, 0, 0, 0},
25866 { SWIG_PY_INT
, (char *)"SIGILL", (long) wxSIGILL
, 0, 0, 0},
25867 { SWIG_PY_INT
, (char *)"SIGTRAP", (long) wxSIGTRAP
, 0, 0, 0},
25868 { SWIG_PY_INT
, (char *)"SIGABRT", (long) wxSIGABRT
, 0, 0, 0},
25869 { SWIG_PY_INT
, (char *)"SIGIOT", (long) wxSIGIOT
, 0, 0, 0},
25870 { SWIG_PY_INT
, (char *)"SIGEMT", (long) wxSIGEMT
, 0, 0, 0},
25871 { SWIG_PY_INT
, (char *)"SIGFPE", (long) wxSIGFPE
, 0, 0, 0},
25872 { SWIG_PY_INT
, (char *)"SIGKILL", (long) wxSIGKILL
, 0, 0, 0},
25873 { SWIG_PY_INT
, (char *)"SIGBUS", (long) wxSIGBUS
, 0, 0, 0},
25874 { SWIG_PY_INT
, (char *)"SIGSEGV", (long) wxSIGSEGV
, 0, 0, 0},
25875 { SWIG_PY_INT
, (char *)"SIGSYS", (long) wxSIGSYS
, 0, 0, 0},
25876 { SWIG_PY_INT
, (char *)"SIGPIPE", (long) wxSIGPIPE
, 0, 0, 0},
25877 { SWIG_PY_INT
, (char *)"SIGALRM", (long) wxSIGALRM
, 0, 0, 0},
25878 { SWIG_PY_INT
, (char *)"SIGTERM", (long) wxSIGTERM
, 0, 0, 0},
25879 { SWIG_PY_INT
, (char *)"wxEVT_END_PROCESS", (long) wxEVT_END_PROCESS
, 0, 0, 0},
25880 { SWIG_PY_INT
, (char *)"EXEC_ASYNC", (long) wxEXEC_ASYNC
, 0, 0, 0},
25881 { SWIG_PY_INT
, (char *)"EXEC_SYNC", (long) wxEXEC_SYNC
, 0, 0, 0},
25882 { SWIG_PY_INT
, (char *)"EXEC_NOHIDE", (long) wxEXEC_NOHIDE
, 0, 0, 0},
25883 { SWIG_PY_INT
, (char *)"EXEC_MAKE_GROUP_LEADER", (long) wxEXEC_MAKE_GROUP_LEADER
, 0, 0, 0},
25884 { SWIG_PY_INT
, (char *)"JOYSTICK1", (long) wxJOYSTICK1
, 0, 0, 0},
25885 { SWIG_PY_INT
, (char *)"JOYSTICK2", (long) wxJOYSTICK2
, 0, 0, 0},
25886 { SWIG_PY_INT
, (char *)"JOY_BUTTON_ANY", (long) wxJOY_BUTTON_ANY
, 0, 0, 0},
25887 { SWIG_PY_INT
, (char *)"JOY_BUTTON1", (long) wxJOY_BUTTON1
, 0, 0, 0},
25888 { SWIG_PY_INT
, (char *)"JOY_BUTTON2", (long) wxJOY_BUTTON2
, 0, 0, 0},
25889 { SWIG_PY_INT
, (char *)"JOY_BUTTON3", (long) wxJOY_BUTTON3
, 0, 0, 0},
25890 { SWIG_PY_INT
, (char *)"JOY_BUTTON4", (long) wxJOY_BUTTON4
, 0, 0, 0},
25891 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_DOWN", (long) wxEVT_JOY_BUTTON_DOWN
, 0, 0, 0},
25892 { SWIG_PY_INT
, (char *)"wxEVT_JOY_BUTTON_UP", (long) wxEVT_JOY_BUTTON_UP
, 0, 0, 0},
25893 { SWIG_PY_INT
, (char *)"wxEVT_JOY_MOVE", (long) wxEVT_JOY_MOVE
, 0, 0, 0},
25894 { SWIG_PY_INT
, (char *)"wxEVT_JOY_ZMOVE", (long) wxEVT_JOY_ZMOVE
, 0, 0, 0},
25895 { SWIG_PY_INT
, (char *)"MAILCAP_STANDARD", (long) wxMAILCAP_STANDARD
, 0, 0, 0},
25896 { SWIG_PY_INT
, (char *)"MAILCAP_NETSCAPE", (long) wxMAILCAP_NETSCAPE
, 0, 0, 0},
25897 { SWIG_PY_INT
, (char *)"MAILCAP_KDE", (long) wxMAILCAP_KDE
, 0, 0, 0},
25898 { SWIG_PY_INT
, (char *)"MAILCAP_GNOME", (long) wxMAILCAP_GNOME
, 0, 0, 0},
25899 { SWIG_PY_INT
, (char *)"MAILCAP_ALL", (long) wxMAILCAP_ALL
, 0, 0, 0},
25900 { SWIG_PY_INT
, (char *)"CONFIG_USE_LOCAL_FILE", (long) wxCONFIG_USE_LOCAL_FILE
, 0, 0, 0},
25901 { SWIG_PY_INT
, (char *)"CONFIG_USE_GLOBAL_FILE", (long) wxCONFIG_USE_GLOBAL_FILE
, 0, 0, 0},
25902 { SWIG_PY_INT
, (char *)"CONFIG_USE_RELATIVE_PATH", (long) wxCONFIG_USE_RELATIVE_PATH
, 0, 0, 0},
25903 { SWIG_PY_INT
, (char *)"CONFIG_USE_NO_ESCAPE_CHARACTERS", (long) wxCONFIG_USE_NO_ESCAPE_CHARACTERS
, 0, 0, 0},
25904 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Unknown", (long) wxConfigBase::Type_Unknown
, 0, 0, 0},
25905 { SWIG_PY_INT
, (char *)"ConfigBase_Type_String", (long) wxConfigBase::Type_String
, 0, 0, 0},
25906 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Boolean", (long) wxConfigBase::Type_Boolean
, 0, 0, 0},
25907 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Integer", (long) wxConfigBase::Type_Integer
, 0, 0, 0},
25908 { SWIG_PY_INT
, (char *)"ConfigBase_Type_Float", (long) wxConfigBase::Type_Float
, 0, 0, 0},
25909 { SWIG_PY_INT
, (char *)"DateTime_Local", (long) wxDateTime::Local
, 0, 0, 0},
25910 { SWIG_PY_INT
, (char *)"DateTime_GMT_12", (long) wxDateTime::GMT_12
, 0, 0, 0},
25911 { SWIG_PY_INT
, (char *)"DateTime_GMT_11", (long) wxDateTime::GMT_11
, 0, 0, 0},
25912 { SWIG_PY_INT
, (char *)"DateTime_GMT_10", (long) wxDateTime::GMT_10
, 0, 0, 0},
25913 { SWIG_PY_INT
, (char *)"DateTime_GMT_9", (long) wxDateTime::GMT_9
, 0, 0, 0},
25914 { SWIG_PY_INT
, (char *)"DateTime_GMT_8", (long) wxDateTime::GMT_8
, 0, 0, 0},
25915 { SWIG_PY_INT
, (char *)"DateTime_GMT_7", (long) wxDateTime::GMT_7
, 0, 0, 0},
25916 { SWIG_PY_INT
, (char *)"DateTime_GMT_6", (long) wxDateTime::GMT_6
, 0, 0, 0},
25917 { SWIG_PY_INT
, (char *)"DateTime_GMT_5", (long) wxDateTime::GMT_5
, 0, 0, 0},
25918 { SWIG_PY_INT
, (char *)"DateTime_GMT_4", (long) wxDateTime::GMT_4
, 0, 0, 0},
25919 { SWIG_PY_INT
, (char *)"DateTime_GMT_3", (long) wxDateTime::GMT_3
, 0, 0, 0},
25920 { SWIG_PY_INT
, (char *)"DateTime_GMT_2", (long) wxDateTime::GMT_2
, 0, 0, 0},
25921 { SWIG_PY_INT
, (char *)"DateTime_GMT_1", (long) wxDateTime::GMT_1
, 0, 0, 0},
25922 { SWIG_PY_INT
, (char *)"DateTime_GMT0", (long) wxDateTime::GMT0
, 0, 0, 0},
25923 { SWIG_PY_INT
, (char *)"DateTime_GMT1", (long) wxDateTime::GMT1
, 0, 0, 0},
25924 { SWIG_PY_INT
, (char *)"DateTime_GMT2", (long) wxDateTime::GMT2
, 0, 0, 0},
25925 { SWIG_PY_INT
, (char *)"DateTime_GMT3", (long) wxDateTime::GMT3
, 0, 0, 0},
25926 { SWIG_PY_INT
, (char *)"DateTime_GMT4", (long) wxDateTime::GMT4
, 0, 0, 0},
25927 { SWIG_PY_INT
, (char *)"DateTime_GMT5", (long) wxDateTime::GMT5
, 0, 0, 0},
25928 { SWIG_PY_INT
, (char *)"DateTime_GMT6", (long) wxDateTime::GMT6
, 0, 0, 0},
25929 { SWIG_PY_INT
, (char *)"DateTime_GMT7", (long) wxDateTime::GMT7
, 0, 0, 0},
25930 { SWIG_PY_INT
, (char *)"DateTime_GMT8", (long) wxDateTime::GMT8
, 0, 0, 0},
25931 { SWIG_PY_INT
, (char *)"DateTime_GMT9", (long) wxDateTime::GMT9
, 0, 0, 0},
25932 { SWIG_PY_INT
, (char *)"DateTime_GMT10", (long) wxDateTime::GMT10
, 0, 0, 0},
25933 { SWIG_PY_INT
, (char *)"DateTime_GMT11", (long) wxDateTime::GMT11
, 0, 0, 0},
25934 { SWIG_PY_INT
, (char *)"DateTime_GMT12", (long) wxDateTime::GMT12
, 0, 0, 0},
25935 { SWIG_PY_INT
, (char *)"DateTime_WET", (long) wxDateTime::WET
, 0, 0, 0},
25936 { SWIG_PY_INT
, (char *)"DateTime_WEST", (long) wxDateTime::WEST
, 0, 0, 0},
25937 { SWIG_PY_INT
, (char *)"DateTime_CET", (long) wxDateTime::CET
, 0, 0, 0},
25938 { SWIG_PY_INT
, (char *)"DateTime_CEST", (long) wxDateTime::CEST
, 0, 0, 0},
25939 { SWIG_PY_INT
, (char *)"DateTime_EET", (long) wxDateTime::EET
, 0, 0, 0},
25940 { SWIG_PY_INT
, (char *)"DateTime_EEST", (long) wxDateTime::EEST
, 0, 0, 0},
25941 { SWIG_PY_INT
, (char *)"DateTime_MSK", (long) wxDateTime::MSK
, 0, 0, 0},
25942 { SWIG_PY_INT
, (char *)"DateTime_MSD", (long) wxDateTime::MSD
, 0, 0, 0},
25943 { SWIG_PY_INT
, (char *)"DateTime_AST", (long) wxDateTime::AST
, 0, 0, 0},
25944 { SWIG_PY_INT
, (char *)"DateTime_ADT", (long) wxDateTime::ADT
, 0, 0, 0},
25945 { SWIG_PY_INT
, (char *)"DateTime_EST", (long) wxDateTime::EST
, 0, 0, 0},
25946 { SWIG_PY_INT
, (char *)"DateTime_EDT", (long) wxDateTime::EDT
, 0, 0, 0},
25947 { SWIG_PY_INT
, (char *)"DateTime_CST", (long) wxDateTime::CST
, 0, 0, 0},
25948 { SWIG_PY_INT
, (char *)"DateTime_CDT", (long) wxDateTime::CDT
, 0, 0, 0},
25949 { SWIG_PY_INT
, (char *)"DateTime_MST", (long) wxDateTime::MST
, 0, 0, 0},
25950 { SWIG_PY_INT
, (char *)"DateTime_MDT", (long) wxDateTime::MDT
, 0, 0, 0},
25951 { SWIG_PY_INT
, (char *)"DateTime_PST", (long) wxDateTime::PST
, 0, 0, 0},
25952 { SWIG_PY_INT
, (char *)"DateTime_PDT", (long) wxDateTime::PDT
, 0, 0, 0},
25953 { SWIG_PY_INT
, (char *)"DateTime_HST", (long) wxDateTime::HST
, 0, 0, 0},
25954 { SWIG_PY_INT
, (char *)"DateTime_AKST", (long) wxDateTime::AKST
, 0, 0, 0},
25955 { SWIG_PY_INT
, (char *)"DateTime_AKDT", (long) wxDateTime::AKDT
, 0, 0, 0},
25956 { SWIG_PY_INT
, (char *)"DateTime_A_WST", (long) wxDateTime::A_WST
, 0, 0, 0},
25957 { SWIG_PY_INT
, (char *)"DateTime_A_CST", (long) wxDateTime::A_CST
, 0, 0, 0},
25958 { SWIG_PY_INT
, (char *)"DateTime_A_EST", (long) wxDateTime::A_EST
, 0, 0, 0},
25959 { SWIG_PY_INT
, (char *)"DateTime_A_ESST", (long) wxDateTime::A_ESST
, 0, 0, 0},
25960 { SWIG_PY_INT
, (char *)"DateTime_UTC", (long) wxDateTime::UTC
, 0, 0, 0},
25961 { SWIG_PY_INT
, (char *)"DateTime_Gregorian", (long) wxDateTime::Gregorian
, 0, 0, 0},
25962 { SWIG_PY_INT
, (char *)"DateTime_Julian", (long) wxDateTime::Julian
, 0, 0, 0},
25963 { SWIG_PY_INT
, (char *)"DateTime_Gr_Unknown", (long) wxDateTime::Gr_Unknown
, 0, 0, 0},
25964 { SWIG_PY_INT
, (char *)"DateTime_Gr_Standard", (long) wxDateTime::Gr_Standard
, 0, 0, 0},
25965 { SWIG_PY_INT
, (char *)"DateTime_Gr_Alaska", (long) wxDateTime::Gr_Alaska
, 0, 0, 0},
25966 { SWIG_PY_INT
, (char *)"DateTime_Gr_Albania", (long) wxDateTime::Gr_Albania
, 0, 0, 0},
25967 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria", (long) wxDateTime::Gr_Austria
, 0, 0, 0},
25968 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Brixen", (long) wxDateTime::Gr_Austria_Brixen
, 0, 0, 0},
25969 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Salzburg", (long) wxDateTime::Gr_Austria_Salzburg
, 0, 0, 0},
25970 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Tyrol", (long) wxDateTime::Gr_Austria_Tyrol
, 0, 0, 0},
25971 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Carinthia", (long) wxDateTime::Gr_Austria_Carinthia
, 0, 0, 0},
25972 { SWIG_PY_INT
, (char *)"DateTime_Gr_Austria_Styria", (long) wxDateTime::Gr_Austria_Styria
, 0, 0, 0},
25973 { SWIG_PY_INT
, (char *)"DateTime_Gr_Belgium", (long) wxDateTime::Gr_Belgium
, 0, 0, 0},
25974 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria", (long) wxDateTime::Gr_Bulgaria
, 0, 0, 0},
25975 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_1", (long) wxDateTime::Gr_Bulgaria_1
, 0, 0, 0},
25976 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_2", (long) wxDateTime::Gr_Bulgaria_2
, 0, 0, 0},
25977 { SWIG_PY_INT
, (char *)"DateTime_Gr_Bulgaria_3", (long) wxDateTime::Gr_Bulgaria_3
, 0, 0, 0},
25978 { SWIG_PY_INT
, (char *)"DateTime_Gr_Canada", (long) wxDateTime::Gr_Canada
, 0, 0, 0},
25979 { SWIG_PY_INT
, (char *)"DateTime_Gr_China", (long) wxDateTime::Gr_China
, 0, 0, 0},
25980 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_1", (long) wxDateTime::Gr_China_1
, 0, 0, 0},
25981 { SWIG_PY_INT
, (char *)"DateTime_Gr_China_2", (long) wxDateTime::Gr_China_2
, 0, 0, 0},
25982 { SWIG_PY_INT
, (char *)"DateTime_Gr_Czechoslovakia", (long) wxDateTime::Gr_Czechoslovakia
, 0, 0, 0},
25983 { SWIG_PY_INT
, (char *)"DateTime_Gr_Denmark", (long) wxDateTime::Gr_Denmark
, 0, 0, 0},
25984 { SWIG_PY_INT
, (char *)"DateTime_Gr_Egypt", (long) wxDateTime::Gr_Egypt
, 0, 0, 0},
25985 { SWIG_PY_INT
, (char *)"DateTime_Gr_Estonia", (long) wxDateTime::Gr_Estonia
, 0, 0, 0},
25986 { SWIG_PY_INT
, (char *)"DateTime_Gr_Finland", (long) wxDateTime::Gr_Finland
, 0, 0, 0},
25987 { SWIG_PY_INT
, (char *)"DateTime_Gr_France", (long) wxDateTime::Gr_France
, 0, 0, 0},
25988 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Alsace", (long) wxDateTime::Gr_France_Alsace
, 0, 0, 0},
25989 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Lorraine", (long) wxDateTime::Gr_France_Lorraine
, 0, 0, 0},
25990 { SWIG_PY_INT
, (char *)"DateTime_Gr_France_Strasbourg", (long) wxDateTime::Gr_France_Strasbourg
, 0, 0, 0},
25991 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany", (long) wxDateTime::Gr_Germany
, 0, 0, 0},
25992 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Catholic", (long) wxDateTime::Gr_Germany_Catholic
, 0, 0, 0},
25993 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Prussia", (long) wxDateTime::Gr_Germany_Prussia
, 0, 0, 0},
25994 { SWIG_PY_INT
, (char *)"DateTime_Gr_Germany_Protestant", (long) wxDateTime::Gr_Germany_Protestant
, 0, 0, 0},
25995 { SWIG_PY_INT
, (char *)"DateTime_Gr_GreatBritain", (long) wxDateTime::Gr_GreatBritain
, 0, 0, 0},
25996 { SWIG_PY_INT
, (char *)"DateTime_Gr_Greece", (long) wxDateTime::Gr_Greece
, 0, 0, 0},
25997 { SWIG_PY_INT
, (char *)"DateTime_Gr_Hungary", (long) wxDateTime::Gr_Hungary
, 0, 0, 0},
25998 { SWIG_PY_INT
, (char *)"DateTime_Gr_Ireland", (long) wxDateTime::Gr_Ireland
, 0, 0, 0},
25999 { SWIG_PY_INT
, (char *)"DateTime_Gr_Italy", (long) wxDateTime::Gr_Italy
, 0, 0, 0},
26000 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan", (long) wxDateTime::Gr_Japan
, 0, 0, 0},
26001 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_1", (long) wxDateTime::Gr_Japan_1
, 0, 0, 0},
26002 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_2", (long) wxDateTime::Gr_Japan_2
, 0, 0, 0},
26003 { SWIG_PY_INT
, (char *)"DateTime_Gr_Japan_3", (long) wxDateTime::Gr_Japan_3
, 0, 0, 0},
26004 { SWIG_PY_INT
, (char *)"DateTime_Gr_Latvia", (long) wxDateTime::Gr_Latvia
, 0, 0, 0},
26005 { SWIG_PY_INT
, (char *)"DateTime_Gr_Lithuania", (long) wxDateTime::Gr_Lithuania
, 0, 0, 0},
26006 { SWIG_PY_INT
, (char *)"DateTime_Gr_Luxemburg", (long) wxDateTime::Gr_Luxemburg
, 0, 0, 0},
26007 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands", (long) wxDateTime::Gr_Netherlands
, 0, 0, 0},
26008 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Groningen", (long) wxDateTime::Gr_Netherlands_Groningen
, 0, 0, 0},
26009 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Gelderland", (long) wxDateTime::Gr_Netherlands_Gelderland
, 0, 0, 0},
26010 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Utrecht", (long) wxDateTime::Gr_Netherlands_Utrecht
, 0, 0, 0},
26011 { SWIG_PY_INT
, (char *)"DateTime_Gr_Netherlands_Friesland", (long) wxDateTime::Gr_Netherlands_Friesland
, 0, 0, 0},
26012 { SWIG_PY_INT
, (char *)"DateTime_Gr_Norway", (long) wxDateTime::Gr_Norway
, 0, 0, 0},
26013 { SWIG_PY_INT
, (char *)"DateTime_Gr_Poland", (long) wxDateTime::Gr_Poland
, 0, 0, 0},
26014 { SWIG_PY_INT
, (char *)"DateTime_Gr_Portugal", (long) wxDateTime::Gr_Portugal
, 0, 0, 0},
26015 { SWIG_PY_INT
, (char *)"DateTime_Gr_Romania", (long) wxDateTime::Gr_Romania
, 0, 0, 0},
26016 { SWIG_PY_INT
, (char *)"DateTime_Gr_Russia", (long) wxDateTime::Gr_Russia
, 0, 0, 0},
26017 { SWIG_PY_INT
, (char *)"DateTime_Gr_Scotland", (long) wxDateTime::Gr_Scotland
, 0, 0, 0},
26018 { SWIG_PY_INT
, (char *)"DateTime_Gr_Spain", (long) wxDateTime::Gr_Spain
, 0, 0, 0},
26019 { SWIG_PY_INT
, (char *)"DateTime_Gr_Sweden", (long) wxDateTime::Gr_Sweden
, 0, 0, 0},
26020 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland", (long) wxDateTime::Gr_Switzerland
, 0, 0, 0},
26021 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Catholic", (long) wxDateTime::Gr_Switzerland_Catholic
, 0, 0, 0},
26022 { SWIG_PY_INT
, (char *)"DateTime_Gr_Switzerland_Protestant", (long) wxDateTime::Gr_Switzerland_Protestant
, 0, 0, 0},
26023 { SWIG_PY_INT
, (char *)"DateTime_Gr_Turkey", (long) wxDateTime::Gr_Turkey
, 0, 0, 0},
26024 { SWIG_PY_INT
, (char *)"DateTime_Gr_USA", (long) wxDateTime::Gr_USA
, 0, 0, 0},
26025 { SWIG_PY_INT
, (char *)"DateTime_Gr_Wales", (long) wxDateTime::Gr_Wales
, 0, 0, 0},
26026 { SWIG_PY_INT
, (char *)"DateTime_Gr_Yugoslavia", (long) wxDateTime::Gr_Yugoslavia
, 0, 0, 0},
26027 { SWIG_PY_INT
, (char *)"DateTime_Country_Unknown", (long) wxDateTime::Country_Unknown
, 0, 0, 0},
26028 { SWIG_PY_INT
, (char *)"DateTime_Country_Default", (long) wxDateTime::Country_Default
, 0, 0, 0},
26029 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_Start", (long) wxDateTime::Country_WesternEurope_Start
, 0, 0, 0},
26030 { SWIG_PY_INT
, (char *)"DateTime_Country_EEC", (long) wxDateTime::Country_EEC
, 0, 0, 0},
26031 { SWIG_PY_INT
, (char *)"DateTime_France", (long) wxDateTime::France
, 0, 0, 0},
26032 { SWIG_PY_INT
, (char *)"DateTime_Germany", (long) wxDateTime::Germany
, 0, 0, 0},
26033 { SWIG_PY_INT
, (char *)"DateTime_UK", (long) wxDateTime::UK
, 0, 0, 0},
26034 { SWIG_PY_INT
, (char *)"DateTime_Country_WesternEurope_End", (long) wxDateTime::Country_WesternEurope_End
, 0, 0, 0},
26035 { SWIG_PY_INT
, (char *)"DateTime_Russia", (long) wxDateTime::Russia
, 0, 0, 0},
26036 { SWIG_PY_INT
, (char *)"DateTime_USA", (long) wxDateTime::USA
, 0, 0, 0},
26037 { SWIG_PY_INT
, (char *)"DateTime_Jan", (long) wxDateTime::Jan
, 0, 0, 0},
26038 { SWIG_PY_INT
, (char *)"DateTime_Feb", (long) wxDateTime::Feb
, 0, 0, 0},
26039 { SWIG_PY_INT
, (char *)"DateTime_Mar", (long) wxDateTime::Mar
, 0, 0, 0},
26040 { SWIG_PY_INT
, (char *)"DateTime_Apr", (long) wxDateTime::Apr
, 0, 0, 0},
26041 { SWIG_PY_INT
, (char *)"DateTime_May", (long) wxDateTime::May
, 0, 0, 0},
26042 { SWIG_PY_INT
, (char *)"DateTime_Jun", (long) wxDateTime::Jun
, 0, 0, 0},
26043 { SWIG_PY_INT
, (char *)"DateTime_Jul", (long) wxDateTime::Jul
, 0, 0, 0},
26044 { SWIG_PY_INT
, (char *)"DateTime_Aug", (long) wxDateTime::Aug
, 0, 0, 0},
26045 { SWIG_PY_INT
, (char *)"DateTime_Sep", (long) wxDateTime::Sep
, 0, 0, 0},
26046 { SWIG_PY_INT
, (char *)"DateTime_Oct", (long) wxDateTime::Oct
, 0, 0, 0},
26047 { SWIG_PY_INT
, (char *)"DateTime_Nov", (long) wxDateTime::Nov
, 0, 0, 0},
26048 { SWIG_PY_INT
, (char *)"DateTime_Dec", (long) wxDateTime::Dec
, 0, 0, 0},
26049 { SWIG_PY_INT
, (char *)"DateTime_Inv_Month", (long) wxDateTime::Inv_Month
, 0, 0, 0},
26050 { SWIG_PY_INT
, (char *)"DateTime_Sun", (long) wxDateTime::Sun
, 0, 0, 0},
26051 { SWIG_PY_INT
, (char *)"DateTime_Mon", (long) wxDateTime::Mon
, 0, 0, 0},
26052 { SWIG_PY_INT
, (char *)"DateTime_Tue", (long) wxDateTime::Tue
, 0, 0, 0},
26053 { SWIG_PY_INT
, (char *)"DateTime_Wed", (long) wxDateTime::Wed
, 0, 0, 0},
26054 { SWIG_PY_INT
, (char *)"DateTime_Thu", (long) wxDateTime::Thu
, 0, 0, 0},
26055 { SWIG_PY_INT
, (char *)"DateTime_Fri", (long) wxDateTime::Fri
, 0, 0, 0},
26056 { SWIG_PY_INT
, (char *)"DateTime_Sat", (long) wxDateTime::Sat
, 0, 0, 0},
26057 { SWIG_PY_INT
, (char *)"DateTime_Inv_WeekDay", (long) wxDateTime::Inv_WeekDay
, 0, 0, 0},
26058 { SWIG_PY_INT
, (char *)"DateTime_Inv_Year", (long) wxDateTime::Inv_Year
, 0, 0, 0},
26059 { SWIG_PY_INT
, (char *)"DateTime_Name_Full", (long) wxDateTime::Name_Full
, 0, 0, 0},
26060 { SWIG_PY_INT
, (char *)"DateTime_Name_Abbr", (long) wxDateTime::Name_Abbr
, 0, 0, 0},
26061 { SWIG_PY_INT
, (char *)"DateTime_Default_First", (long) wxDateTime::Default_First
, 0, 0, 0},
26062 { SWIG_PY_INT
, (char *)"DateTime_Monday_First", (long) wxDateTime::Monday_First
, 0, 0, 0},
26063 { SWIG_PY_INT
, (char *)"DateTime_Sunday_First", (long) wxDateTime::Sunday_First
, 0, 0, 0},
26064 { SWIG_PY_INT
, (char *)"DF_INVALID", (long) wxDF_INVALID
, 0, 0, 0},
26065 { SWIG_PY_INT
, (char *)"DF_TEXT", (long) wxDF_TEXT
, 0, 0, 0},
26066 { SWIG_PY_INT
, (char *)"DF_BITMAP", (long) wxDF_BITMAP
, 0, 0, 0},
26067 { SWIG_PY_INT
, (char *)"DF_METAFILE", (long) wxDF_METAFILE
, 0, 0, 0},
26068 { SWIG_PY_INT
, (char *)"DF_SYLK", (long) wxDF_SYLK
, 0, 0, 0},
26069 { SWIG_PY_INT
, (char *)"DF_DIF", (long) wxDF_DIF
, 0, 0, 0},
26070 { SWIG_PY_INT
, (char *)"DF_TIFF", (long) wxDF_TIFF
, 0, 0, 0},
26071 { SWIG_PY_INT
, (char *)"DF_OEMTEXT", (long) wxDF_OEMTEXT
, 0, 0, 0},
26072 { SWIG_PY_INT
, (char *)"DF_DIB", (long) wxDF_DIB
, 0, 0, 0},
26073 { SWIG_PY_INT
, (char *)"DF_PALETTE", (long) wxDF_PALETTE
, 0, 0, 0},
26074 { SWIG_PY_INT
, (char *)"DF_PENDATA", (long) wxDF_PENDATA
, 0, 0, 0},
26075 { SWIG_PY_INT
, (char *)"DF_RIFF", (long) wxDF_RIFF
, 0, 0, 0},
26076 { SWIG_PY_INT
, (char *)"DF_WAVE", (long) wxDF_WAVE
, 0, 0, 0},
26077 { SWIG_PY_INT
, (char *)"DF_UNICODETEXT", (long) wxDF_UNICODETEXT
, 0, 0, 0},
26078 { SWIG_PY_INT
, (char *)"DF_ENHMETAFILE", (long) wxDF_ENHMETAFILE
, 0, 0, 0},
26079 { SWIG_PY_INT
, (char *)"DF_FILENAME", (long) wxDF_FILENAME
, 0, 0, 0},
26080 { SWIG_PY_INT
, (char *)"DF_LOCALE", (long) wxDF_LOCALE
, 0, 0, 0},
26081 { SWIG_PY_INT
, (char *)"DF_PRIVATE", (long) wxDF_PRIVATE
, 0, 0, 0},
26082 { SWIG_PY_INT
, (char *)"DF_HTML", (long) wxDF_HTML
, 0, 0, 0},
26083 { SWIG_PY_INT
, (char *)"DF_MAX", (long) wxDF_MAX
, 0, 0, 0},
26084 { SWIG_PY_INT
, (char *)"DataObject_Get", (long) wxDataObject::Get
, 0, 0, 0},
26085 { SWIG_PY_INT
, (char *)"DataObject_Set", (long) wxDataObject::Set
, 0, 0, 0},
26086 { SWIG_PY_INT
, (char *)"DataObject_Both", (long) wxDataObject::Both
, 0, 0, 0},
26087 { SWIG_PY_INT
, (char *)"Drag_CopyOnly", (long) wxDrag_CopyOnly
, 0, 0, 0},
26088 { SWIG_PY_INT
, (char *)"Drag_AllowMove", (long) wxDrag_AllowMove
, 0, 0, 0},
26089 { SWIG_PY_INT
, (char *)"Drag_DefaultMove", (long) wxDrag_DefaultMove
, 0, 0, 0},
26090 { SWIG_PY_INT
, (char *)"DragError", (long) wxDragError
, 0, 0, 0},
26091 { SWIG_PY_INT
, (char *)"DragNone", (long) wxDragNone
, 0, 0, 0},
26092 { SWIG_PY_INT
, (char *)"DragCopy", (long) wxDragCopy
, 0, 0, 0},
26093 { SWIG_PY_INT
, (char *)"DragMove", (long) wxDragMove
, 0, 0, 0},
26094 { SWIG_PY_INT
, (char *)"DragLink", (long) wxDragLink
, 0, 0, 0},
26095 { SWIG_PY_INT
, (char *)"DragCancel", (long) wxDragCancel
, 0, 0, 0},
26105 SWIGEXPORT(void) SWIG_init(void) {
26106 static PyObject
*SWIG_globals
= 0;
26107 static int typeinit
= 0;
26110 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
26111 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
26112 d
= PyModule_GetDict(m
);
26115 for (i
= 0; swig_types_initial
[i
]; i
++) {
26116 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
26120 SWIG_InstallConstants(d
,swig_const_table
);
26122 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
26123 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
26125 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
26127 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
26128 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
26129 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
26130 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
26131 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
26132 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
26133 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
26134 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
26135 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
26136 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
26137 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
26138 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
26139 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
26140 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
26141 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
26142 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
26143 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
26144 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
26145 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
26146 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
26147 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
26148 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
26149 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
26150 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
26151 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
26152 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
26153 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
26154 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
26155 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
26156 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
26157 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
26158 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
26159 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
26160 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
26161 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
26162 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
26163 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
26164 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
26165 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
26166 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
26167 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
26168 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
26169 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
26170 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
26172 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
26174 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
26176 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
26177 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
26178 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
26179 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
26181 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);